diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2014-01-25 15:42:19 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2014-01-25 15:42:19 +0000 |
commit | 77168d95ac6dbeedef7e3759a4915ee83e193d0a (patch) | |
tree | fa708ed267f8432d228e5afb4b16ed4e8a5fcd37 /src/corelib | |
parent | 36ce140591212572d60d249e924632dfaec635ea (diff) | |
download | fpGUI-77168d95ac6dbeedef7e3759a4915ee83e193d0a.tar.xz |
hyperlink: defined a new named color clHyperLink and used in in TfpgHyperLink
This makes it easier to customise in themes - without needing to override
TfpgCanvas.DrawString()
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/fpg_main.pas | 1 | ||||
-rw-r--r-- | src/corelib/predefinedcolors.inc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas index a5eb98cc..5b22f666 100644 --- a/src/corelib/fpg_main.pas +++ b/src/corelib/fpg_main.pas @@ -2089,6 +2089,7 @@ begin fpgSetNamedColor(clGridInactiveSel, $FF99A6BF); // same as clInactiveSel fpgSetNamedColor(clGridInactiveSelText, $FF000000); // same as clInactiveSelText fpgSetNamedColor(clSplitterGrabBar, $FF839EFE); // pale blue + fpgSetNamedColor(clHyperLink, clBlue); // Global Font Objects diff --git a/src/corelib/predefinedcolors.inc b/src/corelib/predefinedcolors.inc index 130cdd9f..7ad000d4 100644 --- a/src/corelib/predefinedcolors.inc +++ b/src/corelib/predefinedcolors.inc @@ -69,6 +69,7 @@ clGridInactiveSel = TfpgColor(cl_BaseNamedColor + 30); clGridInactiveSelText = TfpgColor(cl_BaseNamedColor + 31); clSplitterGrabBar = TfpgColor(cl_BaseNamedColor + 32); + clHyperLink = TfpgColor(cl_BaseNamedColor + 33); |