FLUID now correctly redraw FL__Tabs if one of their children changes color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
a9231a88c5
commit
c9bfdc20fc
1
CHANGES
1
CHANGES
@ -3,6 +3,7 @@ CHANGES IN FLTK 1.1.7
|
||||
- Documentation fixes (STR #571, STR #648, STR #692, STR
|
||||
#730, STR #744, STR #745, STR #931, STR #942, STR #960,
|
||||
STR #969)
|
||||
- FLUID now updates color of Fl_Tabs children (STR #979)
|
||||
- FLUID now supports 'size_range()' (STR #851)
|
||||
- FLUID selection boxes now synchronised (STR #964)
|
||||
- fl_filename_list now recognizes pathnames without trailing
|
||||
|
@ -985,6 +985,9 @@ void color_cb(Fl_Button* i, void *v) {
|
||||
if (o->selected && o->is_widget()) {
|
||||
Fl_Widget_Type* q = (Fl_Widget_Type*)o;
|
||||
q->o->color(c); q->o->redraw();
|
||||
if (q->parent && q->parent->type_name() == tabs_type_name) {
|
||||
if (q->o->parent()) q->o->parent()->redraw();
|
||||
}
|
||||
mod = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user