mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-27 12:52:07 +00:00
FIX: the DPI issue
jira: [STUDIO-9238] Change-Id: I8ab364402358b8b21e6768ecdd0da9cfe6541777 (cherry picked from commit 6dda5f3e523e79485cd0f10c333849fbaa3e0851)
This commit is contained in:
@@ -260,12 +260,19 @@ class SendModeSwitchButton : public wxPanel
|
||||
public:
|
||||
SendModeSwitchButton(wxWindow *parent, wxString mode, bool sel);
|
||||
~SendModeSwitchButton(){};
|
||||
void OnPaint(wxPaintEvent &event);
|
||||
void render(wxDC &dc);
|
||||
void on_left_down(wxMouseEvent &evt);
|
||||
void doRender(wxDC &dc);
|
||||
|
||||
public:
|
||||
void msw_rescale();
|
||||
void setSelected(bool selected);
|
||||
bool isSelected(){return is_selected;};
|
||||
|
||||
private:
|
||||
void OnPaint(wxPaintEvent& event);
|
||||
void render(wxDC& dc);
|
||||
void on_left_down(wxMouseEvent& evt);
|
||||
void doRender(wxDC& dc);
|
||||
|
||||
private:
|
||||
bool is_selected {false};
|
||||
ScalableBitmap m_img_selected;
|
||||
ScalableBitmap m_img_unselected;
|
||||
|
||||
Reference in New Issue
Block a user