mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07: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
|
|
@ -25,7 +25,7 @@ class AxisCtrlButton : public wxWindow
|
|||
StateColor background_color;
|
||||
StateColor inner_background_color;
|
||||
|
||||
wxBitmap m_icon;
|
||||
ScalableBitmap m_icon;
|
||||
|
||||
bool pressedDown = false;
|
||||
|
||||
|
|
@ -45,7 +45,7 @@ class AxisCtrlButton : public wxWindow
|
|||
};
|
||||
|
||||
public:
|
||||
AxisCtrlButton(wxWindow *parent, wxBitmap &icon, long style = 0);
|
||||
AxisCtrlButton(wxWindow *parent, ScalableBitmap &icon, long style = 0);
|
||||
|
||||
void SetMinSize(const wxSize& size) override;
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ public:
|
|||
|
||||
void SetInnerBackgroundColor(StateColor const& color);
|
||||
|
||||
void SetBitmap(wxBitmap &bmp);
|
||||
void SetBitmap(ScalableBitmap &bmp);
|
||||
|
||||
void Rescale();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue