[fpc-pascal] GUI confusion

Graeme Geldenhuys graeme at geldenhuys.co.uk
Tue Oct 1 12:36:03 CEST 2013


On 01/10/13 11:07, Henry Vermaak wrote:
> 
> With the obvious drawback that it doesn't respond to theme/accessibility
> changes.

Audio accessibility is possible. I just recently had a developer
implement that in his applications. He requested one or two small
changes to fpGUI to accomplish that.


>  If a user with impaired vision, for example, changes the GNOME
> theme to high contrast with bigger default fonts,

This is already on my todo list, to add a high contrast theme as one of
the standard themes in fpGUI. Obviously developers can already implement
there own themes if they want to - it's dead simple.


> the custom drawn toolkit doesn't know/respond

>From the research I have done, it will not be hard to detect such a
change from the OS. After all, other toolkits like Qt (which is also a
custom drawn toolkit at heart) works just fine in that regard.


> Can fpgui pick up theme related changes from other widgetsets?

Not yet, but already on my todo list. Windows is very easy. Gnome and
KDE are a bit harder - I had to peak at the Qt source code to see what
was required. But yes, definitely possible.


Anyway.... my point was that LCL, MSEgui and fpGUI have their pros and
cons. You just can't please every user out there. So choose the right
toolkit for the job. :)

Regards,
  Graeme




More information about the fpc-pascal mailing list