mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 12:17:54 -06:00
FIX:use scalablebitmap replace wxbitmap
Change-Id: I4ca885051f309be4a7d9a6e08de097fe75847257
This commit is contained in:
parent
00ba515783
commit
9fc010512c
22 changed files with 187 additions and 186 deletions
|
@ -9,7 +9,7 @@ class TabButton : public StaticBox
|
|||
wxSize textSize;
|
||||
wxSize minSize;
|
||||
wxSize paddingSize;
|
||||
wxBitmap icon;
|
||||
ScalableBitmap icon;
|
||||
|
||||
StateColor text_color;
|
||||
StateColor border_color;
|
||||
|
@ -18,9 +18,9 @@ class TabButton : public StaticBox
|
|||
public:
|
||||
TabButton();
|
||||
|
||||
TabButton(wxWindow *parent, wxString text, wxBitmap &icon, long style = 0, int iconSize = 0);
|
||||
TabButton(wxWindow *parent, wxString text, ScalableBitmap &icon, long style = 0, int iconSize = 0);
|
||||
|
||||
bool Create(wxWindow *parent, wxString text, wxBitmap &icon, long style = 0, int iconSize = 0);
|
||||
bool Create(wxWindow *parent, wxString text, ScalableBitmap &icon, long style = 0, int iconSize = 0);
|
||||
|
||||
void SetLabel(const wxString& label) override;
|
||||
|
||||
|
@ -34,7 +34,7 @@ public:
|
|||
|
||||
void SetBGColor(StateColor const &color);
|
||||
|
||||
void SetBitmap(wxBitmap &bitmap);
|
||||
void SetBitmap(ScalableBitmap &bitmap);
|
||||
|
||||
bool Enable(bool enable = true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue