STR 1992: Fixed Fluid textcolor output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
395129dfdb
commit
8a20846803
1
CHANGES
1
CHANGES
@ -1,5 +1,6 @@
|
||||
CHANGES IN FLTK 1.3.0
|
||||
|
||||
- Fixed Fluid textcolor output (STR #1992)
|
||||
- Fixed wrong default value of Fl_Spinner in
|
||||
Fluid (STR #1991)
|
||||
- Fixed first modifier key event (STR #1952)
|
||||
|
@ -2245,7 +2245,7 @@ void Fl_Widget_Type::write_widget_code() {
|
||||
Fl_Font f; int s; Fl_Color c; textstuff(0,f,s,c);
|
||||
if (f != ff) write_c("%s%s->textfont(%d);\n", indent(), var, f);
|
||||
if (s != fs) write_c("%s%s->textsize(%d);\n", indent(), var, s);
|
||||
if (c != fc) write_c("%s%s->textcolor(%d);\n",indent(), var, c);
|
||||
if (c != fc) write_color("textcolor", c);
|
||||
}}
|
||||
const char* ud = user_data();
|
||||
if (class_name(1) && !parent->is_widget()) ud = "this";
|
||||
|
Loading…
Reference in New Issue
Block a user