2022-07-15 15:37:19 +00:00
|
|
|
#ifndef slic3r_GUI_Label_hpp_
|
|
|
|
#define slic3r_GUI_Label_hpp_
|
|
|
|
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
|
|
|
|
class Label : public wxStaticText
|
|
|
|
{
|
|
|
|
public:
|
2022-08-09 09:33:13 +00:00
|
|
|
Label(wxWindow *parent, wxString const &text = {});
|
2022-07-15 15:37:19 +00:00
|
|
|
|
2022-08-09 09:33:13 +00:00
|
|
|
Label(wxWindow *parent, wxFont const &font, wxString const &text = {});
|
2022-07-15 15:37:19 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
static wxFont Head_24;
|
|
|
|
static wxFont Head_20;
|
|
|
|
static wxFont Head_18;
|
|
|
|
static wxFont Head_16;
|
|
|
|
static wxFont Head_15;
|
|
|
|
static wxFont Head_14;
|
|
|
|
static wxFont Head_13;
|
|
|
|
static wxFont Head_12;
|
|
|
|
static wxFont Head_10;
|
|
|
|
|
|
|
|
static wxFont Body_16;
|
|
|
|
static wxFont Body_15;
|
|
|
|
static wxFont Body_14;
|
|
|
|
static wxFont Body_13;
|
|
|
|
static wxFont Body_12;
|
|
|
|
static wxFont Body_10;
|
2022-07-22 09:46:10 +00:00
|
|
|
static wxFont Body_9;
|
2022-07-15 15:37:19 +00:00
|
|
|
|
|
|
|
static wxFont sysFont(int size, bool bold = false);
|
2022-07-22 09:46:10 +00:00
|
|
|
|
|
|
|
static wxSize split_lines(wxDC &dc, int width, const wxString &text, wxString &multiline_text);
|
2022-07-15 15:37:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // !slic3r_GUI_Label_hpp_
|