More reasonable default window locations.

[git-p4: depot-paths = "//depot/solvespace/": change = 1751]
solver
Jonathan Westhues 2008-05-27 01:59:19 -08:00
parent 010a65894d
commit 93c797329e
1 changed files with 2 additions and 2 deletions

View File

@ -764,7 +764,7 @@ static void CreateMainWindows(void)
"SolveSpace (Graphics Window)", "SolveSpace (Graphics Window)",
WS_OVERLAPPED | WS_THICKFRAME | WS_CLIPCHILDREN | WS_MAXIMIZEBOX | WS_OVERLAPPED | WS_THICKFRAME | WS_CLIPCHILDREN | WS_MAXIMIZEBOX |
WS_MINIMIZEBOX | WS_SYSMENU | WS_SIZEBOX | WS_CLIPSIBLINGS, WS_MINIMIZEBOX | WS_SYSMENU | WS_SIZEBOX | WS_CLIPSIBLINGS,
600, 300, 200, 200, NULL, top, Instance, NULL); 50, 50, 900, 600, NULL, top, Instance, NULL);
if(!GraphicsWnd) oops(); if(!GraphicsWnd) oops();
CreateGlContext(); CreateGlContext();
@ -788,7 +788,7 @@ static void CreateMainWindows(void)
// window is a child of the graphics window. // window is a child of the graphics window.
TextWnd = CreateWindowEx(0, TextWnd = CreateWindowEx(0,
"TextWnd", "SolveSpace (Text Window)", WS_THICKFRAME | WS_CLIPCHILDREN, "TextWnd", "SolveSpace (Text Window)", WS_THICKFRAME | WS_CLIPCHILDREN,
10, 10, 600, 300, GraphicsWnd, (HMENU)NULL, Instance, NULL); 650, 500, 420, 300, GraphicsWnd, (HMENU)NULL, Instance, NULL);
if(!TextWnd) oops(); if(!TextWnd) oops();
TextWndScrollBar = CreateWindowEx(0, WC_SCROLLBAR, "", WS_CHILD | TextWndScrollBar = CreateWindowEx(0, WC_SCROLLBAR, "", WS_CHILD |