Author: matt
Date: 2012-06-09 14:49:26 -0700 (Sat, 09 Jun 2012)
New Revision: 9579
Log:
Marked bug in test1/tree
Modified:
branches/branch-3.0/include/FL/Fl_Tree.H
branches/branch-3.0/test1/tree.cxx
Modified: branches/branch-3.0/include/FL/Fl_Tree.H
===================================================================
--- branches/branch-3.0/include/FL/Fl_Tree.H 2012-06-09 21:42:49 UTC (rev
9578)
+++ branches/branch-3.0/include/FL/Fl_Tree.H 2012-06-09 21:49:26 UTC (rev
9579)
@@ -391,12 +391,13 @@
((fltk3::Tree*)_p)->sortorder( (fltk3::TreeSort)val );
}
-#if 0
Fl_Boxtype selectbox() const {
+ return fltk3::_3to1_boxtype( ((fltk3::Tree*)_p)->selectbox() );
}
+
void selectbox(Fl_Boxtype val) {
+ ((fltk3::Tree*)_p)->selectbox( fltk3::_1to3_boxtype(val) );
}
-#endif
Fl_Tree_Select selectmode() const {
return (Fl_Tree_Select)((fltk3::Tree*)_p)->selectmode();
Modified: branches/branch-3.0/test1/tree.cxx
===================================================================
--- branches/branch-3.0/test1/tree.cxx 2012-06-09 21:42:49 UTC (rev 9578)
+++ branches/branch-3.0/test1/tree.cxx 2012-06-09 21:49:26 UTC (rev 9579)
@@ -277,7 +277,7 @@
static void cb_linespacing_slider(Fl_Value_Slider*, void*) {
int val = (int)linespacing_slider->value();
-tree->linespacing(val);
+ // FIXME: notsuuported tree->linespacing(val);
tree->redraw();
}
@@ -285,7 +285,7 @@
static void cb_usericonmarginleft_slider(Fl_Value_Slider*, void*) {
int val = (int)usericonmarginleft_slider->value();
-tree->usericonmarginleft(val);
+ // FIXME: notsuuported tree->usericonmarginleft(val);
tree->redraw();
}
@@ -293,7 +293,7 @@
static void cb_labelmarginleft_slider(Fl_Value_Slider*, void*) {
int val = (int)labelmarginleft_slider->value();
-tree->labelmarginleft(val);
+ // FIXME: notsuuported tree->labelmarginleft(val);
tree->redraw();
}
@@ -1210,7 +1210,8 @@
linespacing_slider->textsize(9);
linespacing_slider->callback((Fl_Callback*)cb_linespacing_slider,
(void*)(tree));
linespacing_slider->align(Fl_Align(FL_ALIGN_LEFT));
- o->value(tree->linespacing());
+ // FIXME: notsuuported o->value(tree->linespacing());
+ o->deactivate();
o->range(0.0, 100.0);
o->step(1.0);
} // Fl_Value_Slider* linespacing_slider
@@ -1223,7 +1224,8 @@
usericonmarginleft_slider->textsize(9);
usericonmarginleft_slider->callback((Fl_Callback*)cb_usericonmarginleft_slider,
(void*)(tree));
usericonmarginleft_slider->align(Fl_Align(FL_ALIGN_LEFT));
- o->value(tree->usericonmarginleft());
+ // FIXME: notsuuported o->value(tree->usericonmarginleft());
+ o->deactivate();
o->range(0.0, 100.0);
o->step(1.0);
} // Fl_Value_Slider* usericonmarginleft_slider
@@ -1236,7 +1238,8 @@
labelmarginleft_slider->textsize(9);
labelmarginleft_slider->callback((Fl_Callback*)cb_labelmarginleft_slider,
(void*)(tree));
labelmarginleft_slider->align(Fl_Align(FL_ALIGN_LEFT));
- o->value(tree->labelmarginleft());
+ // FIXME: notsuuported o->value(tree->labelmarginleft());
+ o->deactivate();
o->range(0.0, 100.0);
o->step(1.0);
} // Fl_Value_Slider* labelmarginleft_slider
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit