mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Add the full source of BambuStudio
using version 1.0.10
This commit is contained in:
parent
30bcadab3e
commit
1555904bef
3771 changed files with 1251328 additions and 0 deletions
35
src/slic3r/GUI/Widgets/SideMenuPopup.hpp
Normal file
35
src/slic3r/GUI/Widgets/SideMenuPopup.hpp
Normal file
|
@ -0,0 +1,35 @@
|
|||
#ifndef slic3r_GUI_SideMenuPopup_hpp_
|
||||
#define slic3r_GUI_SideMenuPopup_hpp_
|
||||
|
||||
#include <wx/stattext.h>
|
||||
#include <wx/vlbox.h>
|
||||
#include <wx/combo.h>
|
||||
#include <wx/htmllbox.h>
|
||||
#include <wx/frame.h>
|
||||
#include "../wxExtensions.hpp"
|
||||
#include "StateHandler.hpp"
|
||||
#include "SideButton.hpp"
|
||||
|
||||
class SidePopup : public wxPopupTransientWindow
|
||||
{
|
||||
private:
|
||||
std::vector<SideButton*> btn_list;
|
||||
public:
|
||||
SidePopup(wxWindow* parent);
|
||||
~SidePopup();
|
||||
|
||||
void Create();
|
||||
|
||||
virtual void Popup(wxWindow *focus = NULL) wxOVERRIDE;
|
||||
virtual void OnDismiss() wxOVERRIDE;
|
||||
virtual bool ProcessLeftDown(wxMouseEvent& event) wxOVERRIDE;
|
||||
virtual bool Show(bool show = true) wxOVERRIDE;
|
||||
|
||||
void append_button(SideButton* btn);
|
||||
|
||||
void paintEvent(wxPaintEvent& evt);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
#endif // !slic3r_GUI_Button_hpp_
|
Loading…
Add table
Add a link
Reference in a new issue