Commit Graph

485 Commits (c64b0946e882ca6ff199834853696e3e0c239b04)

Author SHA1 Message Date
frosch b4b98e5165 (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) 7 years ago
peter1138 65d77ff317 (svn r27826) -Fix (r27825): Wrong code style 7 years ago
peter1138 d934ef9b00 (svn r27825) -Feature [FS#4950]: Add option to close windows with right click (Flamefire) 7 years ago
peter1138 73ea8cdb21 (svn r27816) -Fix [FS#6421]: Do not search directories when opening ini files as we already have their full path. 7 years ago
frosch 3419bff4ed (svn r27712) -Codechange: Reduce recursions in DrawOverlappedWindow by limiting the area to the window bounds first. (adf88) 8 years ago
frosch 3cb7d9703b (svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple sprites. 8 years ago
frosch cade383f9b (svn r27579) -Change [FS#6402]: Performance improvement for dedicated servers by skipping drawing calls earlier in the process. (JGR) 8 years ago
frosch 44d1fc4253 (svn r27425) -Fix [FS#5842]: Crash when switching to or taking over companies, when an order window of a vehicle of the new company was opened. Now close those windows. 9 years ago
rubidium 06d7d63216 (svn r27185) -Fix: prevent the compiler from optimizing an assignment away which caused GCC 5 to actually crash 9 years ago
frosch 1cf09f804b (svn r27147) -Fix: Scale (non-custom) default window sizes according to GUI zoom. 10 years ago
frosch e113f5e4a1 (svn r27146) -Fix: Make statusbar and chat-entry window use the same width as the toolbar. Otherwise they lack a size definition. 10 years ago
peter1138 253c91b17d (svn r26990) -Feature: Add option to choose normal, double or quad-size interface. 10 years ago
planetmaker 61e129cc22 (svn r26815) -Change: Allow to set the granularity of the tooltip hover time in milliseconds instead of seconds. New default value is 250ms 10 years ago
alberth 8755c26793 (svn r26610) -Feature: Select an editable preset name for saving. 10 years ago
rubidium b476086c39 (svn r26538) -Codechange: remove double accounting of the drivers 10 years ago
rubidium 0463dbdc9e (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
alberth aee9444c1b (svn r26392) -Fix[FS#5933] No need to call OnFocus twice (MJP) 10 years ago
rubidium 2618d960e3 (svn r26209) -Codechange: remove some template magic and simplify some code 11 years ago
rubidium 79ccf48636 (svn r26122) -Fix-ish: remove essentially dead code; if nested_array were NULL there, it would segfault in RaiseWidget 11 years ago
frosch c08259fe92 (svn r25884) -Fix: Resizing the window did not properly resize the viewport window, resulting in the link graph glitching. 11 years ago
michi_cc d15c1c5d4a (svn r25692) -Add: Replacement of a part of the edit box text with a new string. 11 years ago
michi_cc 30867c487f (svn r25691) -Add: [OSX] Support for mouse selection in the IME composition string. 11 years ago
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. 13 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