[haiku-development] UI Colors

  • From: DarkWyrm <darkwyrm@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 2 May 2010 00:26:20 +0000

After seeing it updated earlier today, I gave a good look at bug 5293,
which is all about colors not changing when they are tweaked in
Appearance. As far as my investigation has gone, it seems that
Appearance (surprisingly) is not at fault. There are numerous
instances of system colors not being utilized in places you'd expect
them to be. I haven't done a thorough look at the Interface Kit
sources, but casual looking has turned this up:

Panel text -- Only used in BAlert.
Document background -- Use only in BTextBoxes. Probably should also be
BTextViews, as well.
Document Text -- Used in BTextControl but apparently nowhere else.
Like background, probably should be the default color for BTextView
Control background – Not used AFAIK
Control text – Used in BTabView's tabs. Nowhere else AFAIK
Control border – Not used at all.
Control highlight – Not used except in BSlider shading.
Menu item background – Used only in popup menus. Maybe should be in
the background for BMenuFields and BMenuBars
Selected menu item background – Not used at all
Menu item text – Not used except by menus in BeZillaBrowser
Selected menu item text – doesn't work
Selected menu item border – doesn't work


These ones aren't used at all. I don't forsee any real use for them
(pulse was only used in Zeta).Should they be deprecated?

Navigation pulse
Shine
Shadow
Success
Failure


As for the others, should I go ahead and update the controls in the
Interface Kit to use them? Suggestions?

--DW

Other related posts: