Change-Id: Ia93c91b990ec3f5fef3eae57d48ca71b4a0841e6 Jira: STUDIO-10383 (cherry picked from commit 88521a06d12cd4ebbcb8e98d8c929e9815aa71de)
32 lines
601 B
C++
32 lines
601 B
C++
#ifndef slic3r_GUI_StaticGroup_hpp_
|
|
#define slic3r_GUI_StaticGroup_hpp_
|
|
|
|
#include "../wxExtensions.hpp"
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
class StaticGroup : public wxStaticBox
|
|
{
|
|
public:
|
|
StaticGroup(wxWindow *parent, wxWindowID id, const wxString &label);
|
|
|
|
public:
|
|
void ShowBadge(bool show);
|
|
|
|
private:
|
|
#ifdef __WXMSW__
|
|
void OnPaint(wxPaintEvent &evt);
|
|
void PaintForeground(wxDC &dc, const struct tagRECT &rc) override;
|
|
#endif
|
|
|
|
private:
|
|
#ifdef __WXMSW__
|
|
ScalableBitmap badge;
|
|
#endif
|
|
#ifdef __WXOSX__
|
|
ScalableButton * badge { nullptr };
|
|
#endif
|
|
};
|
|
|
|
#endif // !slic3r_GUI_StaticGroup_hpp_
|