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.
26 lines
630 B
26 lines
630 B
#include "menu_os.h"
|
|
|
|
|
|
menu_os::menu_os(/* args */)
|
|
{
|
|
}
|
|
|
|
menu_os::~menu_os()
|
|
{
|
|
}
|
|
|
|
void menu_os::init() {
|
|
this->m_box(Gtk::ORIENTATION_VERTICAL);
|
|
for (auto& [key, value]: map_list_os) {
|
|
Gtk::Button *button = new Gtk::button();
|
|
Gtk::Revealer *revealer = new Gtk::Revealer();
|
|
std::map<std::string, Gtk::struct_menu_os_button_v_2> map_buttons_level_2;
|
|
|
|
map_buttons_level_1[key] = struct_menu_os_button{button, revealer}
|
|
|
|
}
|
|
}
|
|
|
|
void menu_os::crete_menu_level_2(string key, std::map<std::string, Gtk::struct_menu_os_button_v_2> &map_buttons_level_2) {
|
|
map_buttons_level_2[key] =
|
|
} |