mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 06:40:39 +08:00
32 lines
715 B
C++
32 lines
715 B
C++
|
|
#ifndef MAINFRAME_HPP
|
|
#define MAINFRAME_HPP
|
|
#include <wx/wxprec.h>
|
|
#ifndef WX_PRECOMP
|
|
#include <wx/wx.h>
|
|
#endif
|
|
#include <wx/aui/auibook.h>
|
|
#include <wx/tooltip.h>
|
|
|
|
constexpr unsigned int TOOLTIP_TIMER = 32767;
|
|
|
|
class MainFrame: public wxFrame
|
|
{
|
|
public:
|
|
MainFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
|
|
private:
|
|
wxDECLARE_EVENT_TABLE();
|
|
|
|
void init_menubar(); //< Routine to intialize all top-level menu items.
|
|
void init_tabpanel(); //< Routine to initialize all of the tabs.
|
|
|
|
bool loaded; //< Main frame itself has finished loading.
|
|
// STUB: preset editor tabs storage
|
|
// STUB: Statusbar reference
|
|
|
|
wxAuiNotebook* tabpanel;
|
|
|
|
};
|
|
|
|
#endif // MAINFRAME_HPP
|