summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
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/Fl_Type.h
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/Fl_Type.h')
-rw-r--r--fluid/Fl_Type.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index a3abe95b1..535c4a88f 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -36,6 +36,8 @@
#include "Fluid_Image.h"
#include <FL/fl_draw.H>
+void set_modflag(int mf);
+
class Fl_Type {
friend class Widget_Browser;
@@ -356,7 +358,6 @@ public:
class Fl_Group_Type : public Fl_Widget_Type {
public:
- virtual void ideal_spacing(int &x, int &y) { x = y = 10; }
virtual const char *type_name() {return "Fl_Group";}
Fl_Widget *widget(int X,int Y,int W,int H) {
igroup *g = new igroup(X,Y,W,H); Fl_Group::current(0); return g;}
@@ -489,7 +490,7 @@ extern Fl_Menu_Item menu_item_type_menu[];
class Fl_Menu_Item_Type : public Fl_Widget_Type {
public:
Fl_Menu_Item* subtypes() {return menu_item_type_menu;}
- const char* type_name() {return "Menu_Item";}
+ const char* type_name() {return "MenuItem";}
Fl_Type* make();
int is_menu_item() const {return 1;}
int is_button() const {return 1;} // this gets shortcut to work