summaryrefslogtreecommitdiff
path: root/fluid/align_widget.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-03-19 08:38:21 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-03-19 08:38:21 +0000
commit81bd60b47dbd8a2a25e1400594849702539def94 (patch)
treed9b9a90274faba63e05696d7db40782b0c7f18cf /fluid/align_widget.cxx
parent59004878f3c36ec693737b631f5769f511fd74cb (diff)
More UI cleanup.
fluid/*.fl: - Go through all of the UIs and make sure they conform to the UI guidelines. fluid/fluid.cxx: - Change fl_ask() and fl_choice() to use the "Save"/"Don't Save" and similar button labels instead of "Yes" and "No", per UI guidelines. fluid/factory.cxx: fluid/Fl_Type.h: - Make sure that widget and type names are capitalized. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/align_widget.cxx')
-rw-r--r--fluid/align_widget.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/fluid/align_widget.cxx b/fluid/align_widget.cxx
index 5d1f9a7e9..bc128c0a6 100644
--- a/fluid/align_widget.cxx
+++ b/fluid/align_widget.cxx
@@ -66,7 +66,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize(left, w->y(), w->w(), w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -98,7 +98,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize((center2-w->w())/2, w->y(), w->w(), w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -127,7 +127,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize(right-w->w(), w->y(), w->w(), w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -155,7 +155,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize(w->x(), top, w->w(), w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -187,7 +187,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize(w->x(), (center2-w->h())/2, w->w(), w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -216,7 +216,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize( w->x(), bot-w->h(), w->w(), w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -252,7 +252,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize(left+wsum+wdt*cnt/n, w->y(), w->w(), w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
cnt++;
@@ -290,7 +290,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize(w->x(), top+hsum+hgt*cnt/n, w->w(), w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
cnt++;
@@ -322,7 +322,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize(w->x(), w->y(), wdt, w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -350,7 +350,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize( w->x(), w->y(), w->w(), hgt);
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -380,7 +380,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize( w->x(), w->y(), wdt, hgt);
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -405,7 +405,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize((center2-w->w())/2, w->y(), w->w(), w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -429,7 +429,7 @@ void align_widget_cb(Fl_Widget*, long how)
// Otherwise, just do the widget...
w->resize(w->x(), (center2-w->h())/2, w->w(), w->h());
}
- modflag=1;
+ set_modflag(1);
w->redraw();
if (w->window()) w->window()->redraw();
}
@@ -455,7 +455,7 @@ void widget_size_cb(Fl_Widget *, long size) {
w->redraw();
- modflag = 1;
+ set_modflag(1);
}
}