| 116 | } |
| 117 | |
| 118 | std::unique_ptr<Window> Window::CreateGroupBox(int pos_x, int pos_y, int size_x, |
| 119 | int size_y, const wchar_t* title, int id) { |
| 120 | std::unique_ptr<Window> child(new Window(this, L"Button", title)); |
| 121 | |
| 122 | child->Create(WS_CHILD | WS_VISIBLE | BS_GROUPBOX, pos_x, pos_y, size_x, size_y, id); |
| 123 | |
| 124 | return child; |
| 125 | } |
| 126 | |
| 127 | std::unique_ptr<Window> Window::CreateLabel(int pos_x, int pos_y, int size_x, int size_y, |
| 128 | const wchar_t* title, int id) { |