| 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) { |
| 138 | std::unique_ptr<Window> child(new Window(this, L"Edit", title)); |
| 139 | |
| 140 | child->Create(WS_CHILD | WS_VISIBLE | WS_BORDER | ES_AUTOHSCROLL | WS_TABSTOP | style, |
| 141 | pos_x, pos_y, size_x, size_y, id); |
| 142 | |
| 143 | return child; |
| 144 | } |
| 145 | |
| 146 | std::unique_ptr<Window> Window::CreateButton(int pos_x, int pos_y, int size_x, int size_y, |
| 147 | const wchar_t* title, int id, int style) { |