On Mon, 24 Oct 2005 10:40:21 -0200 Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote:
> 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. Correct. > 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. 3 - Include one default icon set. When the widgetset provides an icon for a button, take this automatically. User can override with own icons. Maybe: Add an IFDEF to not include the default iconset to create very small applications. > 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. What do you think about solution 3 above? Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
