Commit Graph

463 Commits (f3938fdb838685e76bba78974bb6e90e9afc6e22)

Author SHA1 Message Date
michi_cc e2ec0ddb03 (svn r25690) -Change: [OSX] Position the candidate window at the caret position. 11 years ago
michi_cc f5e4131492 (svn r25689) -Add: [OSX] Display the IME composition string ourself. 11 years ago
michi_cc 0883cf76e3 (svn r25684) -Change: [Win32] Draw the composition string ourselves if possible. 11 years ago
michi_cc da09fd3077 (svn r25681) -Change: [Win32] Position the IME composition window at the caret position. 11 years ago
michi_cc 7422120014 (svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system. 11 years ago
michi_cc 13873d2534 (svn r25678) -Codechange: Notify the video driver when an edit box lost (global) focus so it can abort any current input composition. 11 years ago
michi_cc 019984a14f (svn r25671) -Codechange: Pass character and key code separately to the keyboard handler. 11 years ago
michi_cc 270d8aa639 (svn r25670) -Codechange: Pass UCS-4 characters to the edit box key handler. 11 years ago
michi_cc 923eb009e8 (svn r25667) -Fix: [Win32] Only forward key presses to the IME system if an edit box has the input focus. 11 years ago
frosch a3efc99034 (svn r25647) -Add: If an editbox is configured to be cleared with ESC, but the editbox is already empty, unselect the editbox instead. 11 years ago
frosch ee4e68bd5e (svn r25413) -Fix-ish: Suppress focussing editboxes which are not visible. 11 years ago
frosch 6291383823 (svn r25411) -Add: Window::OnHotkey 11 years ago
frosch 18ae9c78bc (svn r25402) -Fix-ish: Prevent copying of BasePool and WindowDesc, since they register in static vectors. 11 years ago
frosch dd826ecbdf (svn r25297) -Fix (r25291): 32bit compilation. 11 years ago
frosch 05c472f08a (svn r25295) -Feature: Allow saving window sizes as default sizes. 11 years ago
frosch 4e4e635916 (svn r25294) -Feature: Add another button to window title bars to resize the window to its default size. 11 years ago
frosch ed851034f5 (svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the sticky button. 11 years ago
frosch 23ba42b66c (svn r25291) -Add: WindowDesc ability to load and store information in a config file. 11 years ago
frosch 8157a8afd8 (svn r25290) -Add: Assign string names to notable windows. 11 years ago
frosch 8c4714ad90 (svn r25289) -Codechange: Store width of statusbar and main toolbar directly in the WindowDesc. 11 years ago
frosch b6d76c4d4c (svn r25288) -Codechange: No need to copy the WindowDesc flags if the WindowDesc is directly accessible. 11 years ago
frosch 56e4a8c4d6 (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction. 11 years ago
frosch c2c50b0c50 (svn r25092) -Codechange: Deduplicate keyboard handling between console and editboxes. 11 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
glx 5d74b679e6 (svn r24780) -Fix [FS#5378]: passing an int to a function expecting a byte can have side effects when MSVC optimises it 12 years ago
frosch 5dfd5e58ee (svn r24774) -Fix: Invert the focus handling of the OSK. Keep the focus at the OSK and close it on losing focus. This makes the editbox in the OSK behave correctly. 12 years ago
frosch 155a9d784c (svn r24772) -Codechange: Call Window::OnEditboxChanged only when the content changes, not when only moving the cursor. 12 years ago
frosch 5e8238c75c (svn r24748) -Add: Clear button to all editboxes. 12 years ago
frosch c8c040d057 (svn r24744) -Codechange: Handle clicking on editboxed also via QueryString. 12 years ago
frosch c283a41248 (svn r24743) -Change: Unify the behaviour of ESC in filter editboxes. 12 years ago
frosch f5d8ba5d7f (svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead. 12 years ago
frosch fc2b12acca (svn r24735) -Codechange: Move HandleEditBoxKey to Window class. 12 years ago
frosch c4d7c8dd42 (svn r24733) -Codechange: Move handling of editbox keys to window class. 12 years ago
frosch fd55399167 (svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members. 12 years ago
frosch 137adb3496 (svn r24726) -Codechange: Move editbox mouseloop handling to Window class. 12 years ago
frosch 03736af2ae (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 12 years ago
frosch 72fc771039 (svn r24590) -Feature: More options for the auto-scroll setting. (adf88) 12 years ago
frosch 2abe4ac280 (svn r24589) -Codechange: Return early in HandleAutoscroll() instead of nesting ifs. 12 years ago
frosch 6207a6017f (svn r24307) -Codechange: Move all interaction of the dropdown window with widgets of the parent window to a method of the parent window. 12 years ago
frosch 6334e13d12 (svn r24214) -Fix [FS#5159] (r22794): The confirmation window to abort world generation was hidden during world generation, so actually you could not abort it. 12 years ago
michi_cc 6a70abbd99 (svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor) 12 years ago
frosch 946749fb01 (svn r24089) -Fix [FS#5136]: Conflicting strategies for resizing the main toolbar and statusbar after resizing the main window. 12 years ago
rubidium e8dbcf9043 (svn r23932) -Codechange: split the NewGRF text window into its own source files 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
frosch 4027e58ba3 (svn r23722) -Change: Give the chat query window the same Z priority as the normal text query window. 13 years ago
alberth 4af8c2d5e1 (svn r23704) -Doc: Doxygen comment fixes and additions. 13 years ago
rubidium 440b63da33 (svn r23690) -Fix: massive typo ;) 13 years ago
rubidium dbb85e5cc1 (svn r23642) -Fix [FS#4893]: OSK window got hidden by query window 13 years ago
truebrain 403cd3acdb (svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only) 13 years ago
truebrain df0afdf0dc (svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
13 years ago
frosch 66d1848f5e (svn r23517) -Fix (r23336, etc.): Give map generation window the same priority as the start server window. 13 years ago
rubidium 2bf0fc3c5c (svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors 13 years ago
rubidium 6153dc57f5 (svn r23466) -Fix [FS#4871, FS#4874]: assertion triggered when resizing a window during ReInit by an amount that's not a multiple of the resize interval 13 years ago
rubidium 8b5d315d2a (svn r23429) -Fix [FS#4842]: prevent windows to be resized beyond the bounds of the (main) window 13 years ago
alberth 40186486de (svn r23426) -Change [FS#4685] (r23423): Put currency window above game options. 13 years ago
alberth 2cf284154c (svn r23423) -Revert (r23421): NewGRF windows may not be moved to normal priority. 13 years ago
alberth 87fdac852c (svn r23421) -Fix [FS#4865, FS#4861] (r23393): The priority of WC_GAME_OPTIONS windows were too high, causing hiding of currency window as well. 13 years ago
michi_cc 6083d6ffb4 (svn r23410) -Add: A window with a detailed overview over the infrastructure of a company. 13 years ago
planetmaker c5ed9bd4f5 (svn r23400) -Fix (r23393, r23382): Text query window was hidden in numerous cases 13 years ago
yexo fa930b15c7 (svn r23393) -Fix (r23382): AI / NewGRF sub-windows were now hidden under their parent windows 13 years ago
yexo 71c1ef5d26 (svn r23382) -Fix [FS#4845] (r23336): NewGRF window and content download window were always hidden under the saveload window 13 years ago
rubidium 435b5a08c4 (svn r23336) -Fix [FS#4709]: bring some more order in the ordering of the windows, e.g. don't let a save or load dialog get hidden by a new message (monoid) 13 years ago
rubidium 02b884d923 (svn r23244) -Feature: if the installation is ananas, try to get the b without b installed 13 years ago
peter1138 50d1541270 (svn r23017) -Codechange: Add support for resized scrollbars. 13 years ago
rubidium 81e352b4b6 (svn r22803) -Fix (r22796): clicking should not work either when hiding windows 13 years ago
rubidium d1657fae80 (svn r22794) -Codechange: let window drawing determine which windows may be drawn when a modal progress is busy 13 years ago
rubidium 421053a694 (svn r22788) -Codechange: move modal progress related functions and variables to progress.cpp/h 13 years ago
rubidium 37415b9cf7 (svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress 13 years ago
frosch 1f79304125 (svn r22485) -Fix: EnsureVisibleCaption() did not update viewport positions of windows with viewports but without caption. (only triggerable since r22484) 13 years ago
frosch 351c7ab097 (svn r22484) -Fix: The caption of centered windows could be moved out of the main window and thus become inaccessible when resizing the main window. 13 years ago
rubidium 835ae31f45 (svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups 13 years ago
frosch 3d2f454167 (svn r22294) -Fix (r20922)[FS#4571]: Reset Window::scrolling_scrollbar when raising scrollbar buttons. 13 years ago
frosch 51ddbbb13d (svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do immediately in command scope, and what to do asynchronously in GUI-scope. 13 years ago
frosch b997ebb942 (svn r22227) -Fix [FS#4546-ish]: Call sheduled OnInvalidate()-calls before doing OnHundrethTick()-calls. 14 years ago
frosch f34e9ff074 (svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth) 14 years ago
frosch 19b7249ade (svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command. 14 years ago
terkhen 8196b03074 (svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar. 14 years ago
frosch 9e1695aa1e (svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings. 14 years ago
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium 22d17aa745 (svn r21837) -Fix [FS#4419]: LMB dragging would switch over to other viewports instead of staying locked to the viewport you started on 14 years ago
alberth 32cd182ecc (svn r21822) -Codechange: Merge event handling code. 14 years ago
alberth 4a203e8a49 (svn r21821) -Codechange: Clean up the jump conditions. 14 years ago
alberth 1e7c3fd2ff (svn r21820) -Codechange: Concatenate both functions. 14 years ago
alberth a2297dc594 (svn r21819) -Codechange: Swap order of HandleMouseDrag() and HandleDragDrop(), and split the w vardecl in the former. 14 years ago
alberth 352fd000ea (svn r21760) -Fix (r20452): Restore wheeling of vertical scrollbars. 14 years ago
alberth 661e13a86a (svn r21667) -Codechange: Introduce _thd.Reset(). 14 years ago
alberth 22a13850cb (svn r21665) -Codechange: Make GetCallbackWnd a method of _thd. 14 years ago
smatz b5268dccbd (svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE 14 years ago
alberth e930b9985d (svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode. 14 years ago
rubidium 90e247c84d (svn r21480) -Change [FS#4292]: make it possible to start actions that require selecting stuff (landscaping, vehicle cloning, etc) in the viewport while paused. As side-effect you'll get an error message explaining the command can't be executed because the game is paused instead of seemingly nothing happening when you click. Addition side effect of this is that you can make use of the measurement tooltip while paused 14 years ago
rubidium a029b2b83a (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 14 years ago
rubidium 5dbd80ff3c (svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor 14 years ago
rubidium 49162ab39b (svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting 14 years ago
rubidium 16c90ed48b (svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the middle; let it follow the setting of the statusbar instead 14 years ago
rubidium a9da53c106 (svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable? 14 years ago
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
alberth 7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
rubidium 0baf335be3 (svn r21057) -Fix [FS#4182] (r20922): network client "fast forward" incrementing counter multiple times in same "GUI" tick causing an invalid state 14 years ago
glx 3a6892ba10 (svn r21015) -Fix [FS#4176]: don't let the resize button go past the bottom of the screen 14 years ago
rubidium 951b725b8c (svn r20922) -Fix [FS#4071]: accidentally moving the mouse of the scrollbar arrows while pressing it clicks the button next to the arrow 14 years ago