| 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) { |
| 129 | std::unique_ptr<Window> child(new Window(this, L"Static", title)); |
| 130 | |
| 131 | child->Create(WS_CHILD | WS_VISIBLE, pos_x, pos_y, size_x, size_y, id); |
| 132 | |
| 133 | return child; |
| 134 | } |
| 135 | |
| 136 | std::unique_ptr<Window> Window::CreateEdit(int pos_x, int pos_y, int size_x, int size_y, |
| 137 | const wchar_t* title, int id, int style) { |