mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-01-13 16:16:31 +00:00
Change TomLight palette to Light, brighten colors, improve system responsiveness by lowering double-click wait time.
This commit is contained in:
parent
3917898085
commit
b99dd94db9
4 changed files with 12 additions and 8 deletions
Binary file not shown.
|
@ -1,4 +1,8 @@
|
|||
$WW,1$$FG,5$$TX+CX,"ChangeLog"$$FG$
|
||||
$IV,1$----05/12/21 15:42:22----$IV,0$
|
||||
* Renamed PaletteSetTomLight() to $LK,"PaletteSetLight",A="MN:PaletteSetLight"$(), brightened LTRED, PURPLE, and LTPURPLE.
|
||||
* Lowered $LK,"double-click wait time",A="FF:::/Kernel/SerialDev/Mouse.CC,mouse.dbl_time"$ from 0.350 to 0.175 to improve system response time.
|
||||
|
||||
$IV,1$----02/07/21 10:20:33----$IV,0$
|
||||
* $LK,"R",A="MN:R"$("MSRGet", "$LK,"MSRRead",A="MN:MSRRead"$");
|
||||
* $LK,"R",A="MN:R"$("MSRSet", "$LK,"MSRWrite",A="MN:MSRWrite"$");
|
||||
|
|
|
@ -76,7 +76,7 @@ U0 MouseInit()
|
|||
mouse.show = TRUE;
|
||||
mouse.speed = 0;
|
||||
mouse.timestamp = TSCGet;
|
||||
mouse.dbl_time = 0.350;
|
||||
mouse.dbl_time = 0.175;
|
||||
GridInit;
|
||||
}
|
||||
|
||||
|
|
|
@ -174,16 +174,16 @@ public U0 PaletteSetTom(Bool persistent=TRUE)
|
|||
//*(drv_text_attr(U8 *) + 1) = BROWN;
|
||||
}
|
||||
//********************************************************************************
|
||||
public CBGR24 gr_palette_tom_light[COLORS_NUM] = {
|
||||
0x000000, 0x3465A4, 0x4E9A06, 0x06989A, 0xA24444, 0x75507B, 0xBF8718, 0xB2B6AF,
|
||||
0x555753, 0x729FCF, 0x82BC49, 0x00BBC8, 0xAC3535, 0xAD7FA8, 0xC7AB00, 0xFEF1F0
|
||||
public CBGR24 gr_palette_light[COLORS_NUM] = {
|
||||
0x000000, 0x3465A4, 0x4E9A06, 0x06989A, 0xA24444, 0xA571AE, 0xBF8718, 0xB2B6AF,
|
||||
0x555753, 0x729FCF, 0x82BC49, 0x00BBC8, 0xE26A6A, 0xC691C0, 0xC7AB00, 0xFEF1F0
|
||||
};
|
||||
|
||||
public U0 PaletteSetTomLight(Bool persistent=TRUE)
|
||||
{//Activate tom's light palette.
|
||||
GrPaletteSet(gr_palette_tom_light);
|
||||
public U0 PaletteSetLight(Bool persistent=TRUE)
|
||||
{//Activate Light palette.
|
||||
GrPaletteSet(gr_palette_light);
|
||||
LFBFlush;
|
||||
if (persistent)
|
||||
fp_set_std_palette = &PaletteSetTomLight;
|
||||
fp_set_std_palette = &PaletteSetLight;
|
||||
}
|
||||
//********************************************************************************
|
||||
|
|
Loading…
Reference in a new issue