windows/seasonwindow: fix dimensions, make resizable
This commit is contained in:
parent
f468596022
commit
2f845cd7e7
@ -21,7 +21,7 @@ SeasonWindow::SeasonWindow( HINSTANCE hInstance,
|
||||
: parent( parent_window ), returned( return_vector ),
|
||||
season_nums( seasons ) {
|
||||
window = CreateWindowW( L"SeasonWindow", _( GUI_WINDOW_SEASON ),
|
||||
WS_OVERLAPPEDWINDOW ^ WS_THICKFRAME | WS_VISIBLE,
|
||||
WS_OVERLAPPEDWINDOW | WS_VISIBLE,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, window_width,
|
||||
window_height, parent, NULL, hInstance, NULL );
|
||||
ShowWindow( window, SW_SHOW );
|
||||
|
@ -23,8 +23,8 @@ private:
|
||||
HWND window;
|
||||
HWND parent;
|
||||
|
||||
const int window_width{ 250 };
|
||||
const int window_height{ 250 };
|
||||
const int window_width{ 265 };
|
||||
const int window_height{ 290 };
|
||||
std::vector< HWND > checkboxes;
|
||||
std::vector< int > &returned;
|
||||
const std::vector< int > &season_nums;
|
||||
|
Loading…
Reference in New Issue
Block a user