mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 20:32:06 +00:00
ENH: StaticGroup badge on macOS
Change-Id: Id446e12aec7780f46c341083a7ad8c81ccf4a4f0 Jira: STUDIO-10055 (cherry picked from commit 5e6eacccf142c38cfdb8bb21e347f6801717897e)
This commit is contained in:
@@ -18,9 +18,18 @@ private:
|
||||
void OnPaint(wxPaintEvent &evt);
|
||||
void PaintForeground(wxDC &dc, const struct tagRECT &rc) override;
|
||||
#endif
|
||||
#ifdef __WXOSX__
|
||||
void DoSetSize(int x, int y, int width, int height, int sizeFlags) override;
|
||||
void LayoutBadge();
|
||||
#endif
|
||||
|
||||
private:
|
||||
#ifdef __WXMSW__
|
||||
ScalableBitmap badge;
|
||||
#endif
|
||||
#ifdef __WXOSX__
|
||||
ScalableButton * badge { nullptr };
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // !slic3r_GUI_StaticGroup_hpp_
|
||||
|
||||
Reference in New Issue
Block a user