Re: Syntax highlight colors in ctlSQLBox

From: Dave Page <dpage(at)postgresql(dot)org>
To: Krzysztof Smigrodzki <ksmigrod(at)gmail(dot)com>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Syntax highlight colors in ctlSQLBox
Date: 2007-08-05 13:38:27
Message-ID: 46B5D2D3.1010100@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Krzysztof Smigrodzki wrote:
> Hello,
>
> On wxGTK under Linux (Ubuntu with Gnome), ctlSQLBox background is always
> white (#FFFFFF), despite me using other default background colour in
> Gnome.
>
> In my opinion the best solution to that problem would be user
> customisation of syntax highlight colours. For example one more tab on
> Options dialog.
>
> I volunteer to add this feature (for 1.10 release).
>
> Any comments, suggestions?

Sounds like a good idea. I will be rewriting th settings management for
the next version, so if you start now, please use code like:

settings->Write(wxT("Foo Color"), fooColor);

and

wxString fooColor = settings->Read(wxT("Foo Color"), defaultVal);

rather than creating accessor functions for each setting in the settings
class.

Thanks, Dave

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2007-08-06 10:47:04 Re: wxWidgets alert at start
Previous Message Krzysztof Smigrodzki 2007-08-05 11:13:25 Syntax highlight colors in ctlSQLBox