Re: [fltk.bugs] [LOW] STR #2828: Fl_Tree RFE's

2012-05-08 Thread Fabien Costantini
Fabien: one question about implementing this. I take it you want the color() to be the default for newly created items. Correct, this is the way fluid expect the background color to be set for most widgets, color2() being generically for the selection color use. But

Re: [fltk.bugs] [LOW] STR #2828: Fl_Tree RFE's

2012-05-08 Thread Fabien Costantini
What I'm not sure about is what should happen if the app then changes color(); should new items use the color(), or should they stick to using the item_labelbgcolor()? The answer to the question in the example would be cyan because color() and item_labelbgcolor() would affect

Re: [fltk.bugs] [LOW] STR #2828: Fl_Tree RFE's

2012-05-08 Thread Greg Ercolano
On 05/08/12 19:47, Fabien Costantini wrote: Now, at initialization the item label color is an 'undefined' value (let say 0x ?). Note that value would be stored in the prefs as well if user did not specify a custom color. Ah, OK, I was going to use a bitflag to keep track of

Re: [fltk.bugs] [LOW] STR #2828: Fl_Tree RFE's

2012-05-08 Thread Fabien Costantini
On 05/08/12 19:47, Fabien Costantini wrote: Now, at initialization the item label color is an 'undefined' value (let say 0x ?). Note that value would be stored in the prefs as well if user did not specify a custom color. Ah, OK, I was going to use a bitflag to keep track of