STR #1991: Fixed wrong default value of Fl_Spinner in Fluid
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
a26d5408a1
commit
395129dfdb
2
CHANGES
2
CHANGES
@ -1,5 +1,7 @@
|
||||
CHANGES IN FLTK 1.3.0
|
||||
|
||||
- Fixed wrong default value of Fl_Spinner in
|
||||
Fluid (STR #1991)
|
||||
- Fixed first modifier key event (STR #1952)
|
||||
- Fl_Group and Fl_Scroll now resize themselves before
|
||||
resizing their children (STR #2032)
|
||||
|
@ -2237,7 +2237,7 @@ void Fl_Widget_Type::write_widget_code() {
|
||||
write_c("%s%s->maximum(%g);\n", indent(), var, v->maximum());
|
||||
if (v->step()!=f->step())
|
||||
write_c("%s%s->step(%g);\n", indent(), var, v->step());
|
||||
if (v->value())
|
||||
if (v->value()!=1.0f)
|
||||
write_c("%s%s->value(%g);\n", indent(), var, v->value());
|
||||
}
|
||||
|
||||
@ -2404,7 +2404,7 @@ void Fl_Widget_Type::write_properties() {
|
||||
if (v->minimum()!=f->minimum()) write_string("minimum %g",v->minimum());
|
||||
if (v->maximum()!=f->maximum()) write_string("maximum %g",v->maximum());
|
||||
if (v->step()!=f->step()) write_string("step %g",v->step());
|
||||
if (v->value()!=0.0) write_string("value %g",v->value());
|
||||
if (v->value()!=1.0) write_string("value %g",v->value());
|
||||
}
|
||||
{Fl_Font ff; int fs; Fl_Color fc; if (textstuff(4,ff,fs,fc)) {
|
||||
Fl_Font f; int s; Fl_Color c; textstuff(0,f,s,c);
|
||||
|
Loading…
Reference in New Issue
Block a user