summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2019-01-11Change: Use GUITimer class instead of bare int/uints.Peter Nelson
2019-01-11Change: Animate text effects by real time instead of game ticks.Peter Nelson
2019-01-11Change: Switch various window timers to real time instead of game ticks.Peter Nelson
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2019-01-04Codechange: Use window class as expected.Juanjo
2018-10-31Codechange: Turn a define into a constantCharles Pigott
2018-10-31Fix: Protect against a few out of bounds or uninitialised usage errorsCharles Pigott
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-07-19Feature: Framerate display window (#6822)Niels Martin Hansen
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
2018-05-29Fix: [OSX] Minor 2D scrolling fixes (#6793)Alexander Weiss
* Codechange: Check for scrollwheel_scrolling first when scrolling viewport instead of first setting normal values and then overwriting them. * Fix #6558: [OSX] Reset 2D scrolling values when not scrolling to prevent unintended window focus changes * Change: [OSX] Include initial scrolling movement when using 2D scrolling to make it more responsive * Fix: [OSX] 2D scrolling not working when setting viewport scroll behaviour to use left mouse button
2018-05-24Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch ↵Alexander Weiss
to zoom
2018-04-28Add: Replace independment map scrolling GUI settings with single option, and ↵PeterN
add choice to not lock cursor position when scrolling. (#6756)
2017-12-09(svn r27934) -Fix (r27900): Warning about unsigned unary minus.michi_cc
2017-08-27(svn r27901) -Codechange: GetWindowZPriority only needs a WindowClass; this ↵frosch
way it can also be used for WindowDesc before a Window instance is created. (3298)
2017-08-27(svn r27900) -Change [FS#6568]: Remove the gap between windows when ↵frosch
positioning them after opening. -Fix: Make automatic window-positioning RTL-aware. -Fix: Automatic window-positioning now uses GUI-scale/style dependent sizes/distances instead of fixed pixel values.
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-03-24(svn r27826) -Fix (r27825): Wrong code stylepeter1138
2017-03-24(svn r27825) -Feature [FS#4950]: Add option to close windows with right ↵peter1138
click (Flamefire)
2017-03-20(svn r27816) -Fix [FS#6421]: Do not search directories when opening ini ↵peter1138
files as we already have their full path.
2016-12-25(svn r27712) -Codechange: Reduce recursions in DrawOverlappedWindow by ↵frosch
limiting the area to the window bounds first. (adf88)
2016-08-15(svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple ↵frosch
sprites.
2016-05-22(svn r27579) -Change [FS#6402]: Performance improvement for dedicated ↵frosch
servers by skipping drawing calls earlier in the process. (JGR)
2015-10-30(svn r27425) -Fix [FS#5842]: Crash when switching to or taking over ↵frosch
companies, when an order window of a vehicle of the new company was opened. Now close those windows.
2015-03-13(svn r27185) -Fix: prevent the compiler from optimizing an assignment away ↵rubidium
which caused GCC 5 to actually crash
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-10-11(svn r26990) -Feature: Add option to choose normal, double or quad-size ↵peter1138
interface.
2014-09-13(svn r26815) -Change: Allow to set the granularity of the tooltip hover time ↵planetmaker
in milliseconds instead of seconds. New default value is 250ms
2014-05-24(svn r26610) -Feature: Select an editable preset name for saving.alberth
2014-04-28(svn r26538) -Codechange: remove double accounting of the driversrubidium
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-03-05(svn r26392) -Fix[FS#5933] No need to call OnFocus twice (MJP)alberth
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
2013-11-26(svn r26122) -Fix-ish: remove essentially dead code; if nested_array were ↵rubidium
NULL there, it would segfault in RaiseWidget
2013-10-19(svn r25884) -Fix: Resizing the window did not properly resize the viewport ↵frosch
window, resulting in the link graph glitching.
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 r25671) -Codechange: Pass character and key code separately to the ↵michi_cc
keyboard handler.
2013-08-05(svn r25670) -Codechange: Pass UCS-4 characters to the edit box key handler.michi_cc
2013-08-05(svn r25667) -Fix: [Win32] Only forward key presses to the IME system if an ↵michi_cc
edit box has the input focus.
2013-08-03(svn r25647) -Add: If an editbox is configured to be cleared with ESC, but ↵frosch
the editbox is already empty, unselect the editbox instead.
2013-06-15(svn r25413) -Fix-ish: Suppress focussing editboxes which are not visible.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.