mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
Move SandyBeach palette into Palettes folder in ::/Home/PaletteEditor/.
This commit is contained in:
parent
1b346915f1
commit
5265509715
2 changed files with 10 additions and 13 deletions
10
src/Home/PaletteEditor/Palettes/SandyBeach.ZC
Executable file
10
src/Home/PaletteEditor/Palettes/SandyBeach.ZC
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
public CBGR24 gr_palette_sandy_beach[COLORS_NUM] = {
|
||||||
|
0x000000, 0x000088, 0x008800, 0x006060, 0x002288, 0x4B0082, 0xA52A2A, 0xAAAAAA, 0x444444, 0x4169E1, 0xADFF2F, 0x00AAAA, 0xFF8888, 0x9932CC, 0xC09020, 0xFFF8DF
|
||||||
|
};
|
||||||
|
public U0 PaletteSetSandyBeach(Bool persistent=TRUE)
|
||||||
|
{
|
||||||
|
GrPaletteSet(gr_palette_sandy_beach);
|
||||||
|
LFBFlush;
|
||||||
|
if (persistent)
|
||||||
|
fp_set_std_palette = &PaletteSetSandyBeach;
|
||||||
|
}
|
|
@ -54,19 +54,6 @@ public U0 PaletteSetDark(Bool persistent=TRUE)
|
||||||
//*(drv_text_attr(U8 *) + 1) = BROWN;
|
//*(drv_text_attr(U8 *) + 1) = BROWN;
|
||||||
}
|
}
|
||||||
//********************************************************************************
|
//********************************************************************************
|
||||||
public CBGR24 gr_palette_sandy_beach[COLORS_NUM] = {
|
|
||||||
0x000000, 0x000088, 0x008800, 0x006060, 0x002288, 0x4B0082, 0xA52A2A, 0xAAAAAA,
|
|
||||||
0x444444, 0x4169E1, 0xADFF2F, 0x00AAAA, 0xFF8888, 0x9932CC, 0xC09020, 0xFFF8DF
|
|
||||||
};
|
|
||||||
|
|
||||||
public U0 PaletteSetSandyBeach(Bool persistent=TRUE)
|
|
||||||
{//Activate Sandy beach Light palette.
|
|
||||||
GrPaletteSet(gr_palette_sandy_beach);
|
|
||||||
LFBFlush;
|
|
||||||
if (persistent)
|
|
||||||
fp_set_std_palette = &PaletteSetSandyBeach;
|
|
||||||
}
|
|
||||||
//********************************************************************************
|
|
||||||
|
|
||||||
public CBGR24 gr_palette_light[COLORS_NUM] = {
|
public CBGR24 gr_palette_light[COLORS_NUM] = {
|
||||||
0x000000, 0x0148A4, 0x3B7901, 0x057C7E, 0xBB2020, 0x9E42AE, 0xB57901, 0xB2B6AF,
|
0x000000, 0x0148A4, 0x3B7901, 0x057C7E, 0xBB2020, 0x9E42AE, 0xB57901, 0xB2B6AF,
|
||||||
|
|
Loading…
Reference in a new issue