STR 1992: Fixed Fluid textcolor output

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2008-10-13 20:11:14 +00:00
parent f72174e044
commit cd2cd7a8a0
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ CHANGES IN FLTK 1.1.10
- Fixed first modifier key event (STR #1952)
- Fixed wrong default value of Fl_Spinner in
Fluid (STR #1991)
- Fixed Fluid textcolor output (STR #1992)
CHANGES IN FLTK 1.1.9

View File

@ -2238,7 +2238,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";