Skip to content

Commit

Permalink
STR 1992: Fixed Fluid textcolor output
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Matthias Melcher committed Oct 13, 2008
1 parent 395129d commit 8a20846
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions 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)
Expand Down
2 changes: 1 addition & 1 deletion fluid/Fl_Widget_Type.cxx
Expand Up @@ -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";
Expand Down

0 comments on commit 8a20846

Please sign in to comment.