67 : wxPanel(parent,
id, pos, size,
style)
68{
69 this->SetBackgroundColour(0xEEEEEE);
70
71 wxBoxSizer* topsizer = new wxBoxSizer(wxVERTICAL);
72
73 topsizer->AddStretchSpacer();
74
75 m_bitmap_empty =
new wxStaticBitmap(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0);
77 topsizer->Add(
m_bitmap_empty, 0, wxALL | wxALIGN_CENTER_HORIZONTAL, 0);
78 topsizer->AddSpacer(46);
79
80 wxBoxSizer* horiz_sizer = new wxBoxSizer(wxHORIZONTAL);
81 horiz_sizer->Add(0, 0, 538, 0, 0);
82
83 wxBoxSizer* btn_sizer = new wxBoxSizer(wxVERTICAL);
86 StateColor button_bg(
90 );
99
100 horiz_sizer->Add(btn_sizer);
101 horiz_sizer->Add(0, 0, 624, 0, 0);
102
103 topsizer->Add(horiz_sizer, 0, wxEXPAND, 0);
104
105 topsizer->AddStretchSpacer();
106
107 this->SetSizer(topsizer);
108 this->Layout();
109
110
112}
#define _L(s)
Definition OBJ.cpp:34
class WXDLLIMPEXP_FWD_CORE wxStaticText
Definition ProgressDialog.hpp:30
#define style
Definition WipeTowerDialog.cpp:101
wxStaticText * m_staticText_add_machine
Definition Monitor.hpp:66
void on_add_machine(wxCommandEvent &event)
Definition Monitor.cpp:118
Button * m_button_add_machine
Definition Monitor.hpp:65
wxStaticBitmap * m_bitmap_empty
Definition Monitor.hpp:67
@ Hovered
Definition StateColor.hpp:20
@ Normal
Definition StateColor.hpp:16
@ Pressed
Definition StateColor.hpp:21
wxBitmap create_scaled_bitmap(const std::string &bmp_name_in, wxWindow *win, const int px_cnt, const bool grayscale, const std::string &new_color, const bool menu_bitmap, const bool resize, const bool bitmap2, const std::vector< std::string > &array_new_color)
Definition wxExtensions.cpp:448