You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ubl-settings-bootloader/source/menu_os.h

28 lines
761 B

#include <gtkmm.h>
class menu_os
{
private:
struct struct_menu_os_button_v_2{
Gtk::Button* button;
};
struct struct_menu_os_button{
Gtk::Button* button;
Gtk::Revealer* revealer;
std::map<std::string, Gtk::struct_menu_os_button_v_2> map_buttons_level_2;
};
std::map<std::string, Gtk::struct_menu_os_button> map_buttons_level_1;
std::map <string, vector> map_list_os;
Gtk::Box m_box;
Gtk::Revealer* level_1;
public:
menu_os(/* args */);
void set_popover(Gtk::Popover *popover);
void set_map(std::map <string, vector> map_list_os);
void crete_menu_level_2(string key, std::map<std::string, Gtk::struct_menu_os_button_v_2> &map_buttons_level_2);
void init();
~menu_os();
};