diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-04-28 12:37:51 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-04-28 12:37:51 +0200 |
commit | 676891df1ff1462cd1d8e5793e2911653201a40b (patch) | |
tree | aeab822d971aab036b515f8809d10d21d7c0c126 /src | |
parent | 128bfdcf8e75ce00d1b276ea9f58728c90577599 (diff) | |
download | fpGUI-676891df1ff1462cd1d8e5793e2911653201a40b.tar.xz |
4 new predefined colors for grid usage.
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/fpg_main.pas | 4 | ||||
-rw-r--r-- | src/corelib/predefinedcolors.inc | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas index 8d53f25f..c3dd21eb 100644 --- a/src/corelib/fpg_main.pas +++ b/src/corelib/fpg_main.pas @@ -1695,6 +1695,10 @@ begin fpgSetNamedColor(clMenuText, $000000); fpgSetNamedColor(clMenuDisabled, $909090); fpgSetNamedColor(clHintWindow, $FFFFBF); + fpgSetNamedColor(clGridSelection, $08246A); // same as clSelection + fpgSetNamedColor(clGridSelectionText, $FFFFFF); // same as clSelectionText + fpgSetNamedColor(clGridInactiveSel, $D0D0FF); // same as clInactiveSel + fpgSetNamedColor(clGridInactiveSelText, $000000); // same as clInactiveSelText // Global Font Objects diff --git a/src/corelib/predefinedcolors.inc b/src/corelib/predefinedcolors.inc index 3de9daf4..1e6c4b54 100644 --- a/src/corelib/predefinedcolors.inc +++ b/src/corelib/predefinedcolors.inc @@ -63,6 +63,10 @@ clMenuText = TfpgColor(cl_BaseNamedColor + 25); // $80000019; clMenuDisabled = TfpgColor(cl_BaseNamedColor + 26); // $8000001A; clHintWindow = TfpgColor(cl_BaseNamedColor + 27); // $8000001B; + clGridSelection = TfpgColor(cl_BaseNamedColor + 28); + clGridSelectionText = TfpgColor(cl_BaseNamedColor + 29); + clGridInactiveSel = TfpgColor(cl_BaseNamedColor + 30); + clGridInactiveSelText = TfpgColor(cl_BaseNamedColor + 31); |