tytd-2019/source/colors.h

27 lines
1.1 KiB
C
Raw Permalink Normal View History

2022-04-17 11:39:48 +00:00
#ifndef COLORS_H
#define COLORS_H
#include "settings.h"
2022-04-17 11:46:26 +00:00
//get gui color
2022-04-17 11:39:48 +00:00
u32 GetColor(int component);
static const int DOWNLOAD_BACKGROUND=0; // Originaly Red
static const int DOWNLOAD_TEXTBOX_BACKGROUND=1; //Originaly White
static const int DOWNLOAD_FOREGROUND_NO_SELECTOR=2; // Originaly White
static const int DOWNLOAD_FOREGROUND_SELECTOR=3; // Originaly Blue
static const int DOWNLOAD_KEYBOARD_UNSELECT=4; // Originaly Blue
static const int DOWNLOAD_KEYBOARD_SELECT=5; // Originaly Yellow
static const int DOWNLOAD_TEXTBOX_FOREGROUND=6; // Originaly Black
static const int DOWNLOAD_CURSOR = 7; // Originaly Violet
static const int DOWNLOAD_PROGRESSBAR_FOREGROUND=8; //Originaly Violet
static const int DOWNLOAD_PROGRESSBAR_BACKGROUND=9; //Originaly White
static const int DOWNLOAD_PROGRESSVAL=10; //Originaly Blue
static const int DOWNLOAD_SELECTOR=11; //Originaly Green
static const int DOWNLOAD_KEYBOARD_OUTLINE=12; //Originaly Violet
#define TOTALCOLORS 13
2022-04-17 11:46:26 +00:00
//set gui color
2022-04-17 11:39:48 +00:00
void SetColor(u32 color,int component);
2022-04-17 11:46:26 +00:00
//set scheme
2022-04-17 11:39:48 +00:00
void InitColor(int scheme);
2022-04-17 11:46:26 +00:00
//cycle through color schemes
2022-04-17 11:39:48 +00:00
int AddScheme(int val);
#endif