mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 19:01:43 +02:00
IDE, EditorOptions: New ColorSchemFactory; color editor - fix default handling for base-color
git-svn-id: trunk@25663 -
This commit is contained in:
parent
74a520edf8
commit
b35753d476
@ -761,9 +761,19 @@ begin
|
||||
BackGroundColorBox.Enabled := hafBackColor in AttrToShow.Features;
|
||||
BackGroundUseDefaultCheckBox.Enabled := (hafBackColor in AttrToShow.Features) and
|
||||
not(AttrToShow.Group = agnDefault);
|
||||
if AttrToShow.Group = agnDefault then
|
||||
BackGroundColorBox.Style := BackGroundColorBox.Style - [cbIncludeDefault]
|
||||
else
|
||||
BackGroundColorBox.Style := BackGroundColorBox.Style + [cbIncludeDefault];
|
||||
|
||||
ForegroundColorBox.Enabled := hafForeColor in AttrToShow.Features;
|
||||
ForeGroundUseDefaultCheckBox.Enabled := (hafForeColor in AttrToShow.Features) and
|
||||
not(AttrToShow.Group = agnDefault);
|
||||
if AttrToShow.Group = agnDefault then
|
||||
ForegroundColorBox.Style := ForegroundColorBox.Style - [cbIncludeDefault]
|
||||
else
|
||||
ForegroundColorBox.Style := ForegroundColorBox.Style + [cbIncludeDefault];
|
||||
|
||||
FrameColorBox.Enabled := hafFrameColor in AttrToShow.Features;
|
||||
FrameColorUseDefaultCheckBox.Enabled := hafFrameColor in AttrToShow.Features;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user