VitaShell/theme.h
Andrin Bertschi 8eff0e6bba Feature/bookmarks (#487)
* wip

* add symlink functions

* introduce symlink drawing

* remove warnings

* add symlink theme

* wip

* better magic number compare

* wip

* wip

* refactoring

* resolve links

* add theme

* nested dir symlink contxt

* nested symlinks with correct sel position

* remove todos

* wip non compiling

* archive mode

* resolve files

* add context menu

* resolve files correctly

* err code

* add shortcut for bookmarks

* recent files

* l/r switching

* wip

* menu changes

* bookmark dialog

* wip

* add sort mode

* recent files

* dont store parent dir in recent files

* clean up

* recent menu entry

* error msgs

* code style ptr

* arrow

* new menu entries

* remapping shortcuts

* introduce symlink ext

* fix symlink extension

* file extension behaviour for folders

* clean recent files

* typo

* change order of delete for recent folder

* use left arrow key for shortcut not L key

* skip symlink hierarchies when pressing O in bookmarks/ recent files

* hide new bookmark entry when bookmark folder selected
2018-09-13 12:00:30 +02:00

99 lines
2.9 KiB
C

/*
VitaShell
Copyright (C) 2015-2018, TheFloW
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __THEME_H__
#define __THEME_H__
// Shell colors
extern int BACKGROUND_COLOR;
extern int TITLE_COLOR;
extern int PATH_COLOR;
extern int DATE_TIME_COLOR;
// Settings colors
extern int SETTINGS_MENU_COLOR;
extern int SETTINGS_MENU_FOCUS_COLOR;
extern int SETTINGS_MENU_TITLE_COLOR;
extern int SETTINGS_MENU_ITEM_COLOR;
extern int SETTINGS_MENU_OPTION_COLOR;
// File browser colors
extern int FOCUS_COLOR;
extern int FILE_COLOR;
extern int SFO_COLOR;
extern int TXT_COLOR;
extern int FOLDER_COLOR;
extern int IMAGE_COLOR;
extern int ARCHIVE_COLOR;
extern int SCROLL_BAR_COLOR;
extern int SCROLL_BAR_BG_COLOR;
extern int MARKED_COLOR;
extern int FILE_SYMLINK_COLOR;
extern int FOLDER_SYMLINK_COLOR;
// Context menu colors
extern int CONTEXT_MENU_TEXT_COLOR;
extern int CONTEXT_MENU_FOCUS_COLOR;
extern int CONTEXT_MENU_COLOR;
extern int CONTEXT_MENU_MORE_COLOR;
extern int INVISIBLE_COLOR;
// Dialog colors
extern int DIALOG_COLOR;
extern int DIALOG_BG_COLOR;
extern int PROGRESS_BAR_COLOR;
extern int PROGRESS_BAR_BG_COLOR;
// Hex editor colors
extern int HEX_COLOR;
extern int HEX_OFFSET_COLOR;
extern int HEX_NIBBLE_COLOR;
// Text editor colors
extern int TEXT_COLOR;
extern int TEXT_FOCUS_COLOR;
extern int TEXT_LINE_NUMBER_COLOR;
extern int TEXT_LINE_NUMBER_COLOR_FOCUS;
extern int TEXT_HIGHLIGHT_COLOR;
// Photo viewer colors
extern int PHOTO_ZOOM_COLOR;
// Audio player colors
extern int AUDIO_INFO_ASSIGN;
extern int AUDIO_INFO;
extern int AUDIO_SPEED;
extern int AUDIO_TIME_CURRENT;
extern int AUDIO_TIME_SLASH;
extern int AUDIO_TIME_TOTAL;
extern int AUDIO_TIME_BAR;
extern int AUDIO_TIME_BAR_BG;
extern vita2d_texture *folder_icon, *file_icon, *archive_icon, *image_icon, *audio_icon, *sfo_icon, *text_icon,
*ftp_image, *dialog_image, *context_image, *context_more_image, *settings_image, *battery_image,
*battery_bar_red_image, *battery_bar_green_image, *battery_bar_charge_image, *bg_browser_image, *bg_hex_image, *bg_text_image,
*bg_photo_image, *bg_audio_image, *cover_image, *play_image, *pause_image,
*fastforward_image, *fastrewind_image, *folder_symlink_icon, *file_symlink_icon;
extern vita2d_texture *wallpaper_image;
extern vita2d_texture *previous_wallpaper_image, *current_wallpaper_image;
void loadTheme();
#endif