Hello,

About Bug http://www.lazarus.freepascal.org/mantis/view.php?id=1062
0001062: Doesn't use native look for buttons in MessageDlg

So, the solve of this bug would be to implement different glyphs for different platforms, right? It is also possible to allow the programmer to choose the glyphs.

I see basically 2 options to implement this:

1 - Include on the executable only the default glyphing set it will use. The programmer can choose the widget set using a compiler directive perhaps, as I see no other way to only include the correct glyphs. This options imagines that the programmer will not want to change the glyphset durring run-time.

2 - Put all glyphs for all platforms on the compiled app and the programmer can choose the glyphset programatically.

On both options the default glyphs code will have to be moved (partially?) to the corresponding lcl/widgetset/...

What do you guys think? I like the first option because it doesn´t increate the size of the executables, but others may not like the need for {$IFDEF}s on the widgetsets.

Notice that I am new to lazarus coding, so any explanations are welcome.

Felipe

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to