[haiku-development] Re: Appearance change system message

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 19 Sep 2015 22:46:36 +0200

Am 19/09/2015 um 19:19 schrieb looncraz:

Thinking on it, I think we'd need one message for colors (where you
really just need to set view colors or invalidate a view) and one for
font or decor (where you may need to reflow the layout).

B_COLORS_CHANGED (panel, control, etc. colors)
B_LOOK_CHANGED (font, decor, whatever)

Do we already have a B_LOCALE_CHANGED so the application can change its language? It would pretty much be the same work involved to relayouting it (thanks to the stupidity of how we handle our B_USE_SPACING_* constants).

Bye,
Axel.


Other related posts: