Re: Themeable colors



typedef enum {

  GTK_PALETTE_DARK,
  GTK_PALETTE_SEMI_DARK,
  GTK_PALETTE_MID,
  GTK_PALETTE_SEMI_LIGHT,
  GTK_PALETTE_LIGHT,

maybe, but not appropriate to 'inverse' themes, for instance...

  GTK_PALETTE_RED
  GTK_PALETTE_PURPLE
  GTK_PALETTE_BLUE...

No, definitely bad ;-)

because this would encourage app writers to do something that basically is hard-coding colors. What we need are more "semantically specified" colors.
So to extend the current notion of SELECTED, PRELIGHT, FG, BG, BASE, TEXT, we need other style names that indicate the context in which a color is to be used, but not its hue or value.

- Bill

} GtkPaletteType;







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]