22 lines
495 B
C++
22 lines
495 B
C++
#ifndef slic3r_GUI_ROUNDEDRECTANGLE_hpp_
|
|
#define slic3r_GUI_ROUNDEDRECTANGLE_hpp_
|
|
|
|
#include "../wxExtensions.hpp"
|
|
|
|
class RoundedRectangle : public wxWindow
|
|
{
|
|
public:
|
|
RoundedRectangle(wxWindow *parent, wxColour col, wxPoint pos, wxSize size, double radius, int type = 0);
|
|
~RoundedRectangle(){};
|
|
|
|
private:
|
|
double m_radius;
|
|
int m_type;
|
|
wxColour m_color;
|
|
|
|
public:
|
|
void OnPaint(wxPaintEvent &evt);
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
#endif // !slic3r_GUI_RoundedRectangle_hpp_
|