92
89
#include <FL/Fl_Button.H>
93
90
static Fl_Menu_Item buttontype_menu[] = {
94
{_("Normal"),0,0,(void*)0},
95
{_("Toggle"),0,0,(void*)FL_TOGGLE_BUTTON},
96
{_("Radio"),0,0,(void*)FL_RADIO_BUTTON},
91
{"Normal",0,0,(void*)0},
92
{"Toggle",0,0,(void*)FL_TOGGLE_BUTTON},
93
{"Radio",0,0,(void*)FL_RADIO_BUTTON},
98
95
class Fl_Button_Type : public Fl_Widget_Type {
99
96
Fl_Menu_Item *subtypes() {return buttontype_menu;}
204
201
#include <FL/Fl_File_Browser.H>
206
203
static Fl_Menu_Item browser_type_menu[] = {
207
{_("No Select"),0,0,(void*)FL_NORMAL_BROWSER},
208
{_("Select"),0,0,(void*)FL_SELECT_BROWSER},
209
{_("Hold"),0,0,(void*)FL_HOLD_BROWSER},
210
{_("Multi"),0,0,(void*)FL_MULTI_BROWSER},
204
{"No Select",0,0,(void*)FL_NORMAL_BROWSER},
205
{"Select",0,0,(void*)FL_SELECT_BROWSER},
206
{"Hold",0,0,(void*)FL_HOLD_BROWSER},
207
{"Multi",0,0,(void*)FL_MULTI_BROWSER},
212
209
class Fl_Browser_Type : public Fl_Widget_Type {
213
210
Fl_Menu_Item *subtypes() {return browser_type_menu;}
351
348
#include <FL/Fl_Counter.H>
352
349
static Fl_Menu_Item counter_type_menu[] = {
353
{_("Normal"),0,0,(void*)FL_NORMAL_COUNTER},
354
{_("Simple"),0,0,(void*)FL_SIMPLE_COUNTER},
350
{"Normal",0,0,(void*)FL_NORMAL_COUNTER},
351
{"Simple",0,0,(void*)FL_SIMPLE_COUNTER},
356
353
class Fl_Counter_Type : public Fl_Widget_Type {
357
354
Fl_Menu_Item *subtypes() {return counter_type_menu;}
425
422
#include <FL/Fl_Input.H>
426
423
static Fl_Menu_Item input_type_menu[] = {
427
{_("Normal"),0,0,(void*)FL_NORMAL_INPUT},
428
{_("Multiline"),0,0,(void*)FL_MULTILINE_INPUT},
429
{_("Secret"),0,0,(void*)FL_SECRET_INPUT},
430
{_("Int"),0,0,(void*)FL_INT_INPUT},
431
{_("Float"),0,0,(void*)FL_FLOAT_INPUT},
424
{"Normal",0,0,(void*)FL_NORMAL_INPUT},
425
{"Multiline",0,0,(void*)FL_MULTILINE_INPUT},
426
{"Secret",0,0,(void*)FL_SECRET_INPUT},
427
{"Int",0,0,(void*)FL_INT_INPUT},
428
{"Float",0,0,(void*)FL_FLOAT_INPUT},
433
430
class Fl_Input_Type : public Fl_Widget_Type {
434
431
Fl_Menu_Item *subtypes() {return input_type_menu;}
671
668
#include <FL/Fl_Dial.H>
672
669
static Fl_Menu_Item dial_type_menu[] = {
673
{_("Dot"),0,0,(void*)0},
674
{_("Line"),0,0,(void*)FL_LINE_DIAL},
675
{_("Fill"),0,0,(void*)FL_FILL_DIAL},
670
{"Dot",0,0,(void*)0},
671
{"Line",0,0,(void*)FL_LINE_DIAL},
672
{"Fill",0,0,(void*)FL_FILL_DIAL},
677
674
class Fl_Dial_Type : public Fl_Widget_Type {
678
675
Fl_Menu_Item *subtypes() {return dial_type_menu;}
691
688
#include <FL/Fl_Roller.H>
692
689
static Fl_Menu_Item roller_type_menu[] = {
693
{_("Vertical"),0,0,(void*)0},
694
{_("Horizontal"),0,0,(void*)FL_HORIZONTAL},
690
{"Vertical",0,0,(void*)0},
691
{"Horizontal",0,0,(void*)FL_HORIZONTAL},
696
693
class Fl_Roller_Type : public Fl_Widget_Type {
697
694
Fl_Menu_Item *subtypes() {return roller_type_menu;}
710
707
#include <FL/Fl_Scrollbar.H>
711
708
static Fl_Menu_Item slider_type_menu[] = {
712
{_("Vertical"),0,0,(void*)FL_VERT_SLIDER},
713
{_("Horizontal"),0,0,(void*)FL_HOR_SLIDER},
714
{_("Vert Fill"),0,0,(void*)FL_VERT_FILL_SLIDER},
715
{_("Horz Fill"),0,0,(void*)FL_HOR_FILL_SLIDER},
716
{_("Vert Knob"),0,0,(void*)FL_VERT_NICE_SLIDER},
717
{_("Horz Knob"),0,0,(void*)FL_HOR_NICE_SLIDER},
709
{"Vertical",0,0,(void*)FL_VERT_SLIDER},
710
{"Horizontal",0,0,(void*)FL_HOR_SLIDER},
711
{"Vert Fill",0,0,(void*)FL_VERT_FILL_SLIDER},
712
{"Horz Fill",0,0,(void*)FL_HOR_FILL_SLIDER},
713
{"Vert Knob",0,0,(void*)FL_VERT_NICE_SLIDER},
714
{"Horz Knob",0,0,(void*)FL_HOR_NICE_SLIDER},
719
716
class Fl_Slider_Type : public Fl_Widget_Type {
720
717
Fl_Menu_Item *subtypes() {return slider_type_menu;}
729
726
static Fl_Slider_Type Fl_Slider_type;
731
728
static Fl_Menu_Item scrollbar_type_menu[] = {
732
{_("Vertical"),0,0,(void*)FL_VERT_SLIDER},
733
{_("Horizontal"),0,0,(void*)FL_HOR_SLIDER},
729
{"Vertical",0,0,(void*)FL_VERT_SLIDER},
730
{"Horizontal",0,0,(void*)FL_HOR_SLIDER},
735
732
class Fl_Scrollbar_Type : public Fl_Slider_Type {
736
733
Fl_Menu_Item *subtypes() {return scrollbar_type_menu;}
749
746
#include <FL/Fl_Output.H>
750
747
static Fl_Menu_Item output_type_menu[] = {
751
{_("Normal"),0,0,(void*)FL_NORMAL_OUTPUT},
752
{_("Multiline"),0,0,(void*)FL_MULTILINE_OUTPUT},
748
{"Normal",0,0,(void*)FL_NORMAL_OUTPUT},
749
{"Multiline",0,0,(void*)FL_MULTILINE_OUTPUT},
754
751
class Fl_Output_Type : public Fl_Input_Type {
755
752
Fl_Menu_Item *subtypes() {return output_type_menu;}
950
947
Fl_Menu_Item New_Menu[] = {
951
{_("Code"),0,0,0,FL_SUBMENU},
952
{_("Function/Method"),0,cb,(void*)&Fl_Function_type},
953
{_("Code"),0,cb,(void*)&Fl_Code_type},
954
{_("Code Block"),0,cb,(void*)&Fl_CodeBlock_type},
955
{_("Declaration"),0,cb,(void*)&Fl_Decl_type},
956
{_("Declaration Block"),0,cb,(void*)&Fl_DeclBlock_type},
957
{_("Class"),0,cb,(void*)&Fl_Class_type},
958
{_("Widget Class"),0,cb,(void*)&Fl_Widget_Class_type},
959
{_("Comment"),0,cb,(void*)&Fl_Comment_type},
948
{"Code",0,0,0,FL_SUBMENU},
949
{"Function/Method",0,cb,(void*)&Fl_Function_type},
950
{"Code",0,cb,(void*)&Fl_Code_type},
951
{"Code Block",0,cb,(void*)&Fl_CodeBlock_type},
952
{"Declaration",0,cb,(void*)&Fl_Decl_type},
953
{"Declaration Block",0,cb,(void*)&Fl_DeclBlock_type},
954
{"Class",0,cb,(void*)&Fl_Class_type},
955
{"Widget Class",0,cb,(void*)&Fl_Widget_Class_type},
956
{"Comment",0,cb,(void*)&Fl_Comment_type},
961
{_("Group"),0,0,0,FL_SUBMENU},
958
{"Group",0,0,0,FL_SUBMENU},
962
959
{0,0,cb,(void*)&Fl_Window_type},
963
960
{0,0,cb,(void*)&Fl_Group_type},
964
961
{0,0,cb,(void*)&Fl_Pack_type},
967
964
{0,0,cb,(void*)&Fl_Tile_type},
968
965
{0,0,cb,(void*)&Fl_Wizard_type},
970
{_("Buttons"),0,0,0,FL_SUBMENU},
967
{"Buttons",0,0,0,FL_SUBMENU},
971
968
{0,0,cb,(void*)&Fl_Button_type},
972
969
{0,0,cb,(void*)&Fl_Return_Button_type},
973
970
{0,0,cb,(void*)&Fl_Light_Button_type},
975
972
{0,0,cb,(void*)&Fl_Repeat_Button_type},
976
973
{0,0,cb,(void*)&Fl_Round_Button_type},
978
{_("Valuators"),0,0,0,FL_SUBMENU},
975
{"Valuators",0,0,0,FL_SUBMENU},
979
976
{0,0,cb,(void*)&Fl_Slider_type},
980
977
{0,0,cb,(void*)&Fl_Scrollbar_type},
981
978
{0,0,cb,(void*)&Fl_Value_Slider_type},
987
984
{0,0,cb,(void*)&Fl_Value_Input_type},
988
985
{0,0,cb,(void*)&Fl_Value_Output_type},
990
{_("Text"),0,0,0,FL_SUBMENU},
987
{"Text",0,0,0,FL_SUBMENU},
991
988
{0,0,cb,(void*)&Fl_File_Input_type},
992
989
{0,0,cb,(void*)&Fl_Input_type},
993
990
{0,0,cb,(void*)&Fl_Output_type},
994
991
{0,0,cb,(void*)&Fl_Text_Display_type},
995
992
{0,0,cb,(void*)&Fl_Text_Editor_type},
997
{_("Menus"),0,0,0,FL_SUBMENU},
994
{"Menus",0,0,0,FL_SUBMENU},
998
995
{0,0,cb,(void*)&Fl_Menu_Bar_type},
999
996
{0,0,cb,(void*)&Fl_Menu_Button_type},
1000
997
{0,0,cb,(void*)&Fl_Choice_type},
1002
999
{0,0,cb, (void*)&Fl_Submenu_type},
1003
1000
{0,0,cb, (void*)&Fl_Menu_Item_type},
1005
{_("Browsers"),0,0,0,FL_SUBMENU},
1002
{"Browsers",0,0,0,FL_SUBMENU},
1006
1003
{0,0,cb,(void*)&Fl_Browser_type},
1007
1004
{0,0,cb,(void*)&Fl_Check_Browser_type},
1008
1005
{0,0,cb,(void*)&Fl_File_Browser_type},
1010
{_("Other"),0,0,0,FL_SUBMENU},
1007
{"Other",0,0,0,FL_SUBMENU},
1011
1008
{0,0,cb,(void*)&Fl_Box_type},
1012
1009
{0,0,cb,(void*)&Fl_Clock_type},
1013
1010
{0,0,cb,(void*)&Fl_Help_View_type},