- This topic has 5 replies, 3 voices, and was last updated 6 years, 8 months ago by JasonToms.
-
AuthorPosts
-
February 28, 2018 at 8:48 am #37747JasonTomsParticipant
Hi,
I updated the AC13.01, In the AC13 version, the icon with a component (for example: TsDirectoryEdit), the previous color icon is now black and white. I want to use the previous default color icon. We use this control is to make the software look more beautiful, rather than back to the old black and white movie era..
Looking forward to solutions.
thank you.
[attachment=8656:1122.png]
February 28, 2018 at 1:36 pm #57614JasonTomsParticipantHi!
I checked the 2018 new features, restore the icon classic mode(”Using of old style icons is possible. The ac_OldGlyphsMode boolean variable is declared in the sConst unit. Set this variable to True for showing of old style icons.”), but select the directory, ADD, OK, CANCEL corresponding to the picture is still black.
By the way, why must we design to modify the source file, is not it better to design a property of skinmanager?
Looking forward to solutions.
thank you.
[attachment=8657:20180228213037.png]
March 2, 2018 at 10:57 am #57617HeDiBoParticipant'JasonToms' wrote:By the way, why must we design to modify the source file, is not it better to design a property of skinmanager?
I totally agree. Not every change is a good change (for some). With drastic visual changes like this, the default should be to maintain the looks it had. It must be a skinmanager setting, not a compiled setting.
March 3, 2018 at 9:19 am #57626SupportKeymasterNew version will have the TsSkinManager.ButtonsOptions.ModalButtonsColoring property, where is possible to colorize glyphs in [Ok], [Cancel] and some other buttons in dialogs, look screenshots.
[attachment=8660:BtnColor1.png]
[attachment=8661:BtnColor2.png]
Also, will be added coloring of glyphs in comboedits:
[attachment=8662:ColorGlyphs.png]
Changing of the ac_OldGlyphsMode variable may be placed in the project code like this:
Code:begin
Application.Initialize;
sConst.ac_OldGlyphsMode := TRUE;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.It may be one-time changing for the project. I will think about a new property in the TsSkinManager for using of old glyphs.
And I'm open for other suggestions.
March 3, 2018 at 10:27 am #57629HeDiBoParticipant'Support' wrote:I will think about a new property in the TsSkinManager for using of old glyphs.
First of all, the variable ac_OldGlyphsMode should default to true (that's what a developer will expect: if you want a new feature, you have to specify that).
Then in sSkinManager.pas do this:
Code:TacButtonsSupport = class(TPersistent)
private
FShowFocusRect,
FShiftContentOnClick: boolean;
public
constructor Create(AOwner: TsSkinManager);
published
property ShowFocusRect: boolean read FShowFocusRect write FShowFocusRect default True;
property ShiftContentOnClick: boolean read FShiftContentOnClick write FShiftContentOnClick default False;
property OldGlyphsMode boolean read GetOldGlyphsMode write SetOldGlyphsMode default True;
end;In SetOldGlyphsMode, you set the ac_OldGlyphsMode variable. In GetOldGlyphsMode you retrieve it.
I think that's the simplest situation..
The property should also cover the JasonToms case. In other words, not only should the icons be colorful, they should default to the old icons.
A change to the property should result in redrawing of the combobox.
PS. I like the new look!
March 10, 2018 at 6:38 am #57680JasonTomsParticipant'Support' wrote:New version will have the TsSkinManager.ButtonsOptions.ModalButtonsColoring property, where is possible to colorize glyphs in [Ok], [Cancel] and some other buttons in dialogs, look screenshots.
[attachment=8660:BtnColor1.png]
[attachment=8661:BtnColor2.png]
Also, will be added coloring of glyphs in comboedits:
[attachment=8662:ColorGlyphs.png]
Changing of the ac_OldGlyphsMode variable may be placed in the project code like this:
Code:begin
Application.Initialize;
sConst.ac_OldGlyphsMode := TRUE;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.It may be one-time changing for the project. I will think about a new property in the TsSkinManager for using of old glyphs.
And I'm open for other suggestions.
Perfect, just what I needed…Thanks a lot..
-
AuthorPosts
- You must be logged in to reply to this topic.