GCode Preview - New Layout

This commit is contained in:
Enrico Turri 2018-02-02 12:38:35 +01:00
parent c550ad2268
commit 787a5f1715
7 changed files with 202 additions and 31 deletions

View file

@ -8,6 +8,7 @@ class wxApp;
class wxFrame;
class wxMenuBar;
class wxNotebook;
class wxComboCtrl;
namespace Slic3r { namespace GUI {
@ -27,6 +28,16 @@ void add_debug_menu(wxMenuBar *menu);
// add it at the end of the tab panel.
void create_preset_tab(const char *name);
} }
// Creates a wxCheckListBoxComboPopup inside the given wxComboCtrl, filled with the given text and items.
// Items are all initialized to the given value.
// Items must be separated by '|', for example "Item1|Item2|Item3", and so on.
void create_combochecklist(wxComboCtrl* comboCtrl, std::string text, std::string items, bool initial_value);
// Returns the current state of the items listed in the wxCheckListBoxComboPopup contained in the given wxComboCtrl,
// encoded inside an int.
int combochecklist_get_flags(wxComboCtrl* comboCtrl);
}
}
#endif