mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 16:13:58 -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
28
src/slic3r/GUI/Widgets/StaticLine.hpp
Normal file
28
src/slic3r/GUI/Widgets/StaticLine.hpp
Normal file
|
@ -0,0 +1,28 @@
|
|||
#ifndef slic3r_GUI_StaticLine_hpp_
|
||||
#define slic3r_GUI_StaticLine_hpp_
|
||||
|
||||
#include "wx/window.h"
|
||||
|
||||
class StaticLine : public wxWindow
|
||||
{
|
||||
public:
|
||||
StaticLine(wxWindow* parent, bool vertical = false, const wxString& label = {});
|
||||
|
||||
public:
|
||||
void SetLabel(const wxString& label) override;
|
||||
|
||||
void SetLineColour(wxColour color);
|
||||
|
||||
private:
|
||||
wxPen pen;
|
||||
bool vertical;
|
||||
|
||||
private:
|
||||
void paintEvent(wxPaintEvent& evt);
|
||||
|
||||
void render(wxDC& dc);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
#endif // !slic3r_GUI_StaticLine_hpp_
|
Loading…
Add table
Add a link
Reference in a new issue