X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/ef84384a541546e9a6830bef8295c146bf014ee5..1de5f8fa25dcea9fb9de9707d75120f762ce3a87:/Client/src/main.cpp?ds=sidebyside diff --git a/Client/src/main.cpp b/Client/src/main.cpp index b9fe630..e1cb336 100644 --- a/Client/src/main.cpp +++ b/Client/src/main.cpp @@ -2,8 +2,7 @@ #include #include #include -#include "mnu_file_exit.h" -#include "mnu_help_about.h" +#include "menu_bar.h" int main (int argc, char **argv) { @@ -21,14 +20,12 @@ int main (int argc, char **argv) } Gtk::Window* pWindow = 0; - MnuFileExit *mnu_file_exit = 0; - MnuHelpAbout *mnu_help_about = 0; Gtk::Button *bar_exit; Gtk::Fixed *work_place; + MiMenuBar *menu_bar; refXml->get_widget("Principal", pWindow); - refXml->get_widget_derived("mnu_file_exit", mnu_file_exit); - refXml->get_widget_derived("mnu_help_about", mnu_help_about); + refXml->get_widget_derived("menu_bar", menu_bar); refXml->get_widget("bar_exit", bar_exit); refXml->get_widget("work_place", work_place); work_place->set_size_request(10000, 10000);