Author: matt
Date: 2010-11-15 00:44:28 -0800 (Mon, 15 Nov 2010)
New Revision: 7839
Log:
Removed preset theme from tree test, so that launching the test with the demo 
app can show the various available themes.

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

Modified: branches/branch-1.3/test/tree.fl
===================================================================
--- branches/branch-1.3/test/tree.fl    2010-11-15 08:01:06 UTC (rev 7838)
+++ branches/branch-1.3/test/tree.fl    2010-11-15 08:44:28 UTC (rev 7839)
@@ -30,7 +30,7 @@
 } 
 
 decl {int G_cb_counter = 0;} {
-  comment {// Global callback event counter}
+  comment {// Global callback event counter} private local
 } 
 
 Function {reason_as_name(Fl_Tree_Reason reason)} {open return_type {const 
char*}
@@ -142,7 +142,7 @@
 } {
   Fl_Window window {
     label tree open
-    xywh {1105 44 580 695} type Double visible
+    xywh {1099 53 580 695} type Double visible
   } {
     Fl_Group tree {
       user_data 1234
@@ -831,7 +831,7 @@
 G_cb_counter = 0; tree->select("ROOT");      if ( !G_cb_counter ) 
fl_alert("FAILED 'DEFAULT' TEST\\n select(path) cb wasn't triggered!");
 tree->deselect("ROOT"); // leave deselected
 
-fl_alert("TEST COMPLETED\\n If you didn't see any error dialogs, test 
PASSED.");} selected
+fl_alert("TEST COMPLETED\\n If you didn't see any error dialogs, test 
PASSED.");}
       tooltip {Test the 'docallback' argument can disable callbacks.} xywh 
{475 674 90 16} labelsize 8
     }
   }
@@ -840,11 +840,14 @@
 RebuildTree();
 /*tree->show_self();*/} {}
   code {// FLTK stuff
-Fl::scheme("gtk+");
+
+//Fl::scheme("gtk+");
+
 window->resizable(window);
 window->size_range(window->w(), window->h(), 0, 0);
 
      if ( tree->when() == FL_WHEN_CHANGED ) whenmode_chooser->value(0);
 else if ( tree->when() == FL_WHEN_RELEASE ) whenmode_chooser->value(1);
-else if ( tree->when() == FL_WHEN_NEVER   ) whenmode_chooser->value(2);} {}
+else if ( tree->when() == FL_WHEN_NEVER   ) whenmode_chooser->value(2);} 
{selected
+  }
 } 

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

Reply via email to