summaryrefslogtreecommitdiff
path: root/src/window_gui.h
AgeCommit message (Collapse)Author
2019-03-20Codechange: Implement OnTooltip event for custom window tooltips.peter1138
This avoids windows from needing to know or care about tooltip delay settings.
2019-03-20Fix #7386: Measurement tooltip for tunnels, aqueducts & docks did not ↵peter1138
display or flickered. Measurement tooltip was auto-closed as the hover/right-click test for tooltips was not satisfied in this case. This is fixed by keeping the tooltip visible and instead explicitly closing the tooltip when the PlaceObject is cancelled/completed.
2019-02-21Codechange: Change scrolling_scrollbar to mouse_capture_widget, and dispatch ↵Peter Nelson
OnClick() event if widget is not a scrollbar. This allows any widget to support mouse capture.
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2015-02-13(svn r27147) -Fix: Scale (non-custom) default window sizes according to GUI ↵frosch
zoom.
2015-02-13(svn r27146) -Fix: Make statusbar and chat-entry window use the same width ↵frosch
as the toolbar. Otherwise they lack a size definition.
2014-12-18(svn r27085) -Fix: Always return a valid window to the world generation gui ↵alberth
code.
2014-12-18(svn r27084) -Doc: Improve documentation of AllocateWindowDescFront.alberth
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
2013-10-13(svn r25864) -Fix: Use the actual sprite dimensions for sizing the dropdown ↵frosch
arrow of dropdown widgets.
2013-08-05(svn r25692) -Add: Replacement of a part of the edit box text with a new string.michi_cc
2013-08-05(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition ↵michi_cc
string.
2013-08-05(svn r25690) -Change: [OSX] Position the candidate window at the caret position.michi_cc
2013-08-05(svn r25689) -Add: [OSX] Display the IME composition string ourself.michi_cc
2013-08-05(svn r25684) -Change: [Win32] Draw the composition string ourselves if possible.michi_cc
2013-08-05(svn r25681) -Change: [Win32] Position the IME composition window at the ↵michi_cc
caret position.
2013-08-05(svn r25679) -Codechange: [Win32] Get the result string of an IME input ↵michi_cc
directly without a trip through the window messaging system.
2013-08-05(svn r25678) -Codechange: Notify the video driver when an edit box lost ↵michi_cc
(global) focus so it can abort any current input composition.
2013-08-05(svn r25670) -Codechange: Pass UCS-4 characters to the edit box key handler.michi_cc
2013-08-05(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of ↵michi_cc
just UCS-2 to the window key press handlers.
2013-06-15(svn r25414) -Codechange: Move handling of global hotkeys to HotkeyList.frosch
2013-06-15(svn r25411) -Add: Window::OnHotkeyfrosch
2013-06-15(svn r25402) -Fix-ish: Prevent copying of BasePool and WindowDesc, since ↵frosch
they register in static vectors.
2013-05-26(svn r25295) -Feature: Allow saving window sizes as default sizes.frosch
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the ↵frosch
sticky button.
2013-05-26(svn r25291) -Add: WindowDesc ability to load and store information in a ↵frosch
config file.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25288) -Codechange: No need to copy the WindowDesc flags if the ↵frosch
WindowDesc is directly accessible.
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-03(svn r24780) -Fix [FS#5378]: passing an int to a function expecting a byte ↵glx
can have side effects when MSVC optimises it
2012-11-14(svn r24742) -Codechange: Remove QueryStringBaseWindow and store ↵frosch
QueryStrings per widget instead.
2012-11-13(svn r24735) -Codechange: Move HandleEditBoxKey to Window class.frosch
2012-11-13(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to ↵frosch
Window::OnEditboxChanged.
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-11-11(svn r24696) -Doc: Improve documentation for button widget types.frosch
2012-06-01(svn r24307) -Codechange: Move all interaction of the dropdown window with ↵frosch
widgets of the parent window to a method of the parent window.
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-19(svn r23631) -Add: ScriptWindow, to manipulate windows on the client ↵truebrain
(GameScript only)
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
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
2011-12-10(svn r23484) -Fix [FS#4770]: in case you already have orders, ignore the ↵rubidium
vehicles when adding an extra order
2011-11-18(svn r23252) -Codechange: Add WD_BEVEL_xxx constants.frosch
2011-10-11(svn r23017) -Codechange: Add support for resized scrollbars.peter1138
2011-03-13(svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do ↵frosch
immediately in command scope, and what to do asynchronously in GUI-scope.
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-02-23(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, ↵frosch
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.
2011-01-15(svn r21803) -Cleanup: Remove unnecessary semicolons.terkhen
2010-12-30(svn r21665) -Codechange: Make GetCallbackWnd a method of _thd.alberth
2010-12-12(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window ↵rubidium
got closed