Fluid: adapting menu to pixmap changes.
This commit is contained in:
parent
21a75a18f8
commit
204ac3dfdf
@ -1011,7 +1011,6 @@ Fl_Menu_Item New_Menu[] = {
|
||||
{0,0,cb,(void*)&Fl_Pack_type},
|
||||
{0,0,cb,(void*)&Fl_Tabs_type},
|
||||
{0,0,cb,(void*)&Fl_Scroll_type},
|
||||
{0,0,cb,(void*)&Fl_Table_type},
|
||||
{0,0,cb,(void*)&Fl_Tile_type},
|
||||
{0,0,cb,(void*)&Fl_Wizard_type},
|
||||
{0},
|
||||
@ -1036,11 +1035,11 @@ Fl_Menu_Item New_Menu[] = {
|
||||
{0,0,cb,(void*)&Fl_Value_Output_type},
|
||||
{0},
|
||||
{"Text",0,0,0,FL_SUBMENU},
|
||||
{0,0,cb,(void*)&Fl_File_Input_type},
|
||||
{0,0,cb,(void*)&Fl_Input_type},
|
||||
{0,0,cb,(void*)&Fl_Output_type},
|
||||
{0,0,cb,(void*)&Fl_Text_Display_type},
|
||||
{0,0,cb,(void*)&Fl_Text_Editor_type},
|
||||
{0,0,cb,(void*)&Fl_Text_Display_type},
|
||||
{0,0,cb,(void*)&Fl_File_Input_type},
|
||||
{0,0,cb,(void*)&Fl_Simple_Terminal_type},
|
||||
{0},
|
||||
{"Menus",0,0,0,FL_SUBMENU},
|
||||
@ -1058,11 +1057,12 @@ Fl_Menu_Item New_Menu[] = {
|
||||
{0,0,cb,(void*)&Fl_Check_Browser_type},
|
||||
{0,0,cb,(void*)&Fl_File_Browser_type},
|
||||
{0,0,cb,(void*)&Fl_Tree_type},
|
||||
{0,0,cb,(void*)&Fl_Help_View_type},
|
||||
{0,0,cb,(void*)&Fl_Table_type},
|
||||
{0},
|
||||
{"Other",0,0,0,FL_SUBMENU},
|
||||
{0,0,cb,(void*)&Fl_Box_type},
|
||||
{0,0,cb,(void*)&Fl_Clock_type},
|
||||
{0,0,cb,(void*)&Fl_Help_View_type},
|
||||
{0,0,cb,(void*)&Fl_Progress_type},
|
||||
{0},
|
||||
{0}};
|
||||
|
@ -1210,6 +1210,7 @@ void make_main_window() {
|
||||
|
||||
if (!main_window) {
|
||||
Fl_Widget *o;
|
||||
loadPixmaps();
|
||||
main_window = new Fl_Double_Window(WINWIDTH,WINHEIGHT,"fluid");
|
||||
main_window->box(FL_NO_BOX);
|
||||
o = make_widget_browser(0,MENUHEIGHT,BROWSERWIDTH,BROWSERHEIGHT);
|
||||
@ -1792,7 +1793,6 @@ int main(int argc,char **argv) {
|
||||
#endif // __APPLE__
|
||||
Fl::visual((Fl_Mode)(FL_DOUBLE|FL_INDEX));
|
||||
Fl_File_Icon::load_system_icons();
|
||||
loadPixmaps();
|
||||
main_window->callback(exit_cb);
|
||||
position_window(main_window,"main_window_pos", 1, 10, 30, WINWIDTH, WINHEIGHT );
|
||||
main_window->show(argc,argv);
|
||||
|
Loading…
Reference in New Issue
Block a user