Author: spitzak
Date: 2007-10-17 13:07:26 -0700 (Wed, 17 Oct 2007)
New Revision: 5957
Log:
Fix for STR #1802
The "when" pulldown in fluid did not do anything


Modified:
   trunk/fluid/widget_panel.cxx
   trunk/fluid/widget_panel.fl

Modified: trunk/fluid/widget_panel.cxx
===================================================================
--- trunk/fluid/widget_panel.cxx        2007-10-17 19:57:31 UTC (rev 5956)
+++ trunk/fluid/widget_panel.cxx        2007-10-17 20:07:26 UTC (rev 5957)
@@ -544,7 +544,6 @@
             o->labelsize(11);
             o->maximum(2000);
             o->step(1);
-            o->linesize(1);
             o->value(10);
             o->callback((fltk::Callback*)x_cb);
             o->align(fltk::ALIGN_TOP|fltk::ALIGN_LEFT|fltk::ALIGN_CENTER);
@@ -555,7 +554,6 @@
             o->labelsize(11);
             o->maximum(2000);
             o->step(1);
-            o->linesize(1);
             o->value(10);
             o->callback((fltk::Callback*)y_cb);
             o->align(fltk::ALIGN_TOP|fltk::ALIGN_LEFT|fltk::ALIGN_CENTER);
@@ -566,7 +564,6 @@
             o->labelsize(11);
             o->maximum(2000);
             o->step(1);
-            o->linesize(1);
             o->value(10);
             o->callback((fltk::Callback*)width_cb);
             o->align(fltk::ALIGN_TOP|fltk::ALIGN_LEFT|fltk::ALIGN_CENTER);
@@ -577,7 +574,6 @@
             o->labelsize(11);
             o->maximum(2000);
             o->step(1);
-            o->linesize(1);
             o->value(10);
             o->callback((fltk::Callback*)height_cb);
             o->align(fltk::ALIGN_TOP|fltk::ALIGN_LEFT|fltk::ALIGN_CENTER);
@@ -635,7 +631,6 @@
             o->labelsize(11);
             o->minimum(1);
             o->step(1);
-            o->linesize(1);
             o->callback((fltk::Callback*)line_cb);
             o->align(fltk::ALIGN_TOP|fltk::ALIGN_LEFT|fltk::ALIGN_CENTER);
             o->when(fltk::WHEN_ENTER_KEY);
@@ -799,7 +794,6 @@
            {fltk::ValueInput* o = new fltk::ValueInput(215, 22, 55, 22);
             o->maximum(100);
             o->step(0.1);
-            o->linesize(1);
             o->value(14);
             o->callback((fltk::Callback*)label_size_cb);
             o->when(fltk::WHEN_ENTER_KEY);
@@ -812,7 +806,6 @@
            {fltk::ValueInput* o = new fltk::ValueInput(215, 55, 55, 22);
             o->maximum(100);
             o->step(0.1);
-            o->linesize(1);
             o->value(14);
             o->callback((fltk::Callback*)text_size_cb);
             o->when(fltk::WHEN_ENTER_KEY);
@@ -871,7 +864,7 @@
         }
          {fltk::Choice* o = new fltk::Choice(265, 242, 100, 22, "When");
           o->callback((fltk::Callback*)when_cb);
-          o->when(fltk::WHEN_NEVER);
+          o->when(fltk::WHEN_CHANGED);
           o->tooltip("What actions cause the callback to be called.");
         }
          {fltk::Input* o = new fltk::Input(80, 264, 145, 22, "Type");

Modified: trunk/fluid/widget_panel.fl
===================================================================
--- trunk/fluid/widget_panel.fl 2007-10-17 19:57:31 UTC (rev 5956)
+++ trunk/fluid/widget_panel.fl 2007-10-17 20:07:26 UTC (rev 5957)
@@ -864,7 +864,7 @@
           label When
           callback when_cb
           tooltip {What actions cause the callback to be called.}
-          xywh {265 242 100 22} when NEVER
+          xywh {265 242 100 22} when CHANGED
         } {}
         {fltk::Input} {} {
           label Type

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

Reply via email to