[Mono-list] Concerns about system colors?

Maser, Dan Dan.Maser at inin.com
Fri Apr 20 15:50:43 EDT 2007



 I wonder if I should raise concerns about the System colors in mono?
What I'm seeing is a little strange.  My app code uses System colors for
everything and looks as expected in Win32 but on linux mono it doesn't
look natural.  But it's not as clear what it *should* look like either.


 The colors for most apps are set in the /usr/lib/X11/app-defaults
directory per application I suppose.  So for example I see gnome
terminal windows that are black-on-white and highlight text
white-on-black.  I have standard xterms that are black-on-grey and
highlight white-on-black. Both of these seem normal because the two
colors have a high contrast.  However, my mono app has black-on-grey
(which is ok) but highlights white-on-gray.  The white-on-grey highlight
looks pretty bad for two reasons: the white-on-grey isn't a high enough
contrast plus the highlight background and non-highlight background are
both grey which doesn't clearly indicate what's highlighted.

  Sorry for the long-winded explanation.  I guess what I'm wondering
foremost is if there's an some /usr/lib/X11/app-defaults resources file
I can specify that will set the system colors I like?  If not, can
someone explain where the system colors come from?

 In case it helps my app draws its window as
   not highlighted: SystemColors.WindowText on SystemColors.Window
   highlighted:     SystemColors.HighlightText on SystemColors.Highlight

  Thanks in advance for your time.
    Dan Maser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070420/c055e171/attachment.html 


More information about the Mono-list mailing list