1
0

Hello TOR 2k24

Have fun 🚀
This commit is contained in:
2024-04-10 19:17:57 +02:00
commit f821a46ea0
62 changed files with 21518 additions and 0 deletions

66
widgetstyles.h Normal file
View File

@@ -0,0 +1,66 @@
#ifndef _WIDGETSTYLES_H
#define _WIDGETSTYLES_H
#include "gfx.h"
// WidgetStyle: red_green
const GWidgetStyle red_green = {
HTML2COLOR(0xFFFFFF), // background
HTML2COLOR(0x2A8FCD), // focus
// Enabled color set
{
HTML2COLOR(0x000000), // text
HTML2COLOR(0x404040), // edge
HTML2COLOR(0xFF0000), // fill
HTML2COLOR(0x00E000) // progress (active area)
},
// Disabled color set
{
HTML2COLOR(0xC0C0C0), // text
HTML2COLOR(0x808080), // edge
HTML2COLOR(0xE0E0E0), // fill
HTML2COLOR(0xC0E0C0) // progress (active area)
},
// Pressed color set
{
HTML2COLOR(0x404040), // text
HTML2COLOR(0x404040), // edge
HTML2COLOR(0x00FF00), // fill
HTML2COLOR(0x00E000) // progress (active area)
}
};
// WidgetStyle: white_on_gray
const GWidgetStyle white_on_gray = {
HTML2COLOR(0x606060), // background
HTML2COLOR(0x2A8FCD), // focus
// Enabled color set
{
HTML2COLOR(0xFFFFFF), // text
HTML2COLOR(0x404040), // edge
HTML2COLOR(0xE0E0E0), // fill
HTML2COLOR(0x00E000) // progress (active area)
},
// Disabled color set
{
HTML2COLOR(0xC0C0C0), // text
HTML2COLOR(0x808080), // edge
HTML2COLOR(0xE0E0E0), // fill
HTML2COLOR(0xC0E0C0) // progress (active area)
},
// Pressed color set
{
HTML2COLOR(0x00FF00), // text
HTML2COLOR(0x404040), // edge
HTML2COLOR(0x00FF00), // fill
HTML2COLOR(0x00E000) // progress (active area)
}
};
#endif // _WIDGETSTYLES_H