#include struct DOC_BUTTON_SPECS{ unsigned width = 25; unsigned radius = 4; unsigned margin_left = 5; unsigned margin_top = 2; unsigned margin_bottom = 2; DOC_BUTTON_SPECS(bool mobile){ if (mobile){ width = 60; radius = 6; margin_left = 10; margin_top = 4; margin_bottom = 4; }else{ width = 25; radius = 4; margin_left = 5; margin_top = 2; margin_bottom = 2; } } }; struct WHITEBOARD_MENU{ std::string svg_clear; std::string svg_text; std::string svg_ellipse; std::string svg_rect; std::string svg_line; std::string svg_handline; std::string svg_select; std::string svg_star; std::string svg_parent; std::string svg_dashrect; std::string svg_linetype; std::string svg_textpos; std::string svg_image; std::string svg_imbed; std::string svg_inctextsize; std::string svg_dectextsize; std::string svg_delitems; std::string svg_undo; std::string svg_grid; WHITEBOARD_MENU(DOC_BUTTON_SPECS &specs); }; struct WORDPROC_MENU{ std::string svg_image; std::string svg_imbed; WORDPROC_MENU(DOC_BUTTON_SPECS &specs); }; struct CALC_MENU{ std::string svg_clear; CALC_MENU(DOC_BUTTON_SPECS &specs); }; struct PHOTOS_MENU{ std::string svg_config; std::string svg_txtedit; PHOTOS_MENU(DOC_BUTTON_SPECS &specs); }; struct VIDEO_MENU{ std::string svg_config; std::string svg_showgrid; std::string svg_showmain; std::string svg_showme; std::string svg_muteme; std::string svg_hideme; VIDEO_MENU(DOC_BUTTON_SPECS &specs); }; #define BUTTON_RELOAD 99 std::string documentd_menu_get_reload(DOC_BUTTON_SPECS &specs);