Author: AlbrechtS
Date: 2010-07-10 03:51:54 -0700 (Sat, 10 Jul 2010)
New Revision: 7673
Log:
Fixed typos and rewrote tree.fl -> tree.cxx/.h


Modified:
   branches/branch-1.3/test/tree.cxx
   branches/branch-1.3/test/tree.fl

Modified: branches/branch-1.3/test/tree.cxx
===================================================================
--- branches/branch-1.3/test/tree.cxx   2010-07-10 09:44:45 UTC (rev 7672)
+++ branches/branch-1.3/test/tree.cxx   2010-07-10 10:51:54 UTC (rev 7673)
@@ -560,7 +560,7 @@
 Fl_Button *loaddb_button=(Fl_Button *)0;
 
 static void cb_loaddb_button(Fl_Button*, void*) {
-  const char *filename = fl_file_chooser("Select a Preferences style Databse", 
"Preferences(*.prefs)", 0L);
+  const char *filename = fl_file_chooser("Select a Preferences style 
Database", "Preferences(*.prefs)", 0L);
 if (filename) {
   tree->clear();
   Fl_Preferences prefs(filename, 0L, 0L);
@@ -588,6 +588,7 @@
       margintop_slider->tooltip("Changes the top margin for the tree widget");
       margintop_slider->type(1);
       margintop_slider->labelsize(12);
+      margintop_slider->step(0.01);
       margintop_slider->textsize(12);
       margintop_slider->callback((Fl_Callback*)cb_margintop_slider, 
(void*)(tree));
       margintop_slider->align(Fl_Align(FL_ALIGN_LEFT));
@@ -600,6 +601,7 @@
       marginleft_slider->tooltip("Changes the left margin for the tree 
widget");
       marginleft_slider->type(1);
       marginleft_slider->labelsize(12);
+      marginleft_slider->step(0.01);
       marginleft_slider->textsize(12);
       marginleft_slider->callback((Fl_Callback*)cb_marginleft_slider, 
(void*)(tree));
       marginleft_slider->align(Fl_Align(FL_ALIGN_LEFT));
@@ -612,6 +614,7 @@
       openchild_marginbottom_slider->tooltip("Changes the vertical space below 
an open child tree");
       openchild_marginbottom_slider->type(1);
       openchild_marginbottom_slider->labelsize(12);
+      openchild_marginbottom_slider->step(0.01);
       openchild_marginbottom_slider->textsize(12);
       
openchild_marginbottom_slider->callback((Fl_Callback*)cb_openchild_marginbottom_slider,
 (void*)(tree));
       openchild_marginbottom_slider->align(Fl_Align(FL_ALIGN_LEFT));
@@ -625,6 +628,7 @@
 d");
       labelsize_slider->type(1);
       labelsize_slider->labelsize(12);
+      labelsize_slider->step(0.01);
       labelsize_slider->textsize(12);
       labelsize_slider->callback((Fl_Callback*)cb_labelsize_slider, 
(void*)(tree));
       labelsize_slider->align(Fl_Align(FL_ALIGN_LEFT));
@@ -637,6 +641,7 @@
       connectorwidth_slider->tooltip("Tests Fl_Tree::connectorwidth()");
       connectorwidth_slider->type(1);
       connectorwidth_slider->labelsize(12);
+      connectorwidth_slider->step(0.01);
       connectorwidth_slider->textsize(12);
       connectorwidth_slider->callback((Fl_Callback*)cb_connectorwidth_slider, 
(void*)(tree));
       connectorwidth_slider->align(Fl_Align(FL_ALIGN_LEFT));
@@ -765,7 +770,7 @@
       clearall_button->callback((Fl_Callback*)cb_clearall_button);
     } // Fl_Button* clearall_button
     { loaddb_button = new Fl_Button(380, 612, 90, 16, "Load Database...");
-      loaddb_button->tooltip("Load the contents of an Fl_Preferences databse 
into the tree view");
+      loaddb_button->tooltip("Load the contents of an Fl_Preferences database 
into the tree view");
       loaddb_button->labelsize(11);
       loaddb_button->callback((Fl_Callback*)cb_loaddb_button);
     } // Fl_Button* loaddb_button

Modified: branches/branch-1.3/test/tree.fl
===================================================================
--- branches/branch-1.3/test/tree.fl    2010-07-10 09:44:45 UTC (rev 7672)
+++ branches/branch-1.3/test/tree.fl    2010-07-10 10:51:54 UTC (rev 7673)
@@ -641,14 +641,14 @@
     }
     Fl_Button loaddb_button {
       label {Load Database...}
-      callback {const char *filename = fl_file_chooser("Select a Preferences 
style Databse", "Preferences(*.prefs)", 0L);
+      callback {const char *filename = fl_file_chooser("Select a Preferences 
style Database", "Preferences(*.prefs)", 0L);
 if (filename) {
   tree->clear();
   Fl_Preferences prefs(filename, 0L, 0L);
   tree->load(prefs);
   tree->redraw();
 }}
-      tooltip {Load the contents of an Fl_Preferences databse into the tree 
view} xywh {380 612 90 16} labelsize 11
+      tooltip {Load the contents of an Fl_Preferences database into the tree 
view} xywh {380 612 90 16} labelsize 11
     }
   }
   code {// Initialize Tree

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to