summaryrefslogtreecommitdiff
path: root/src/gipfel.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-05-18 09:34:30 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-05-18 09:34:30 +0000
commitb957c92f76e834f7727c2bcf259566cbd78b8002 (patch)
treedb424b74dc780388a97f7a187b12aa1be6538cc3 /src/gipfel.cxx
parent1cca92c3c8e00147917b6b6749d4e541cdc3174f (diff)
add keyboard handling to Fl_Value_Dial
add keyboard handling to Fl_Value_Dial
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r--src/gipfel.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 1d6f901..db1e863 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: gipfel.cxx,v 1.24 2005/05/17 09:20:39 hofmann Exp $"
+// "$Id: gipfel.cxx,v 1.25 2005/05/18 11:34:30 hofmann Exp $"
//
// gipfel program.
//
@@ -154,7 +154,7 @@ create_control_window() {
s_center = new Fl_Value_Dial(40, 60, 150, 150, NULL);
s_center->type(FL_LINE_DIAL);
s_center->labelsize(10);
- s_center->step(0.001);
+ s_center->step(0.01);
s_center->bounds(0.0, 360.0);
s_center->angles(180, 540);
s_center->callback((Fl_Callback*)angle_cb);
@@ -179,7 +179,7 @@ create_control_window() {
s_nick->type(1);
s_nick->box(FL_THIN_DOWN_BOX);
s_nick->labelsize(10);
- s_nick->step(0.001);
+ s_nick->step(0.01);
s_nick->bounds(-20.0, 20.0);
s_nick->slider(FL_UP_BOX);
s_nick->callback((Fl_Callback*)nick_cb);
@@ -189,7 +189,7 @@ create_control_window() {
s_tilt->type(1);
s_tilt->box(FL_THIN_DOWN_BOX);
s_tilt->labelsize(10);
- s_tilt->step(0.001);
+ s_tilt->step(0.01);
s_tilt->bounds(-10.0, 10.0);
s_tilt->slider(FL_UP_BOX);
s_tilt->callback((Fl_Callback*)tilt_cb);
@@ -199,7 +199,7 @@ create_control_window() {
s_height_dist->type(1);
s_height_dist->box(FL_THIN_DOWN_BOX);
s_height_dist->labelsize(10);
- s_height_dist->step(-0.005);
+ s_height_dist->step(-0.002);
s_height_dist->bounds(0.2, 0.01);
s_height_dist->slider(FL_UP_BOX);
s_height_dist->callback((Fl_Callback*)h_d_cb);