Peter Nelson
59fe4f28c8
Change: Animate text effects by real time instead of game ticks.
2019-01-11 11:56:21 +00:00
Peter Nelson
ead9c9eab5
Change: Switch various window timers to real time instead of game ticks.
2019-01-11 11:56:21 +00:00
Peter Nelson
2a8fa5fef9
Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust timers to work with milliseconds instead of ticks.
2019-01-11 11:56:21 +00:00
Juanjo
9e30054de9
Codechange: Use window class as expected.
2019-01-04 23:55:07 +01:00
Charles Pigott
ca5f73b196
Codechange: Turn a define into a constant
2018-10-31 12:41:49 +01:00
Charles Pigott
b5028efc1f
Fix: Protect against a few out of bounds or uninitialised usage errors
2018-10-31 12:41:49 +01:00
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
2018-10-31 12:35:54 +01:00
Niels Martin Hansen
2a868b9f3b
Feature: Framerate display window ( #6822 )
...
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-07-19 21:17:07 +02:00
Alexander Weiss
2406500140
Fix: [OSX] Minor 2D scrolling fixes ( #6793 )
...
* 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-29 09:44:33 +01:00
Alexander Weiss
e1a164b531
Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch to zoom
2018-05-24 21:31:37 +02:00
PeterN
cfe6a8ea4f
Add: Replace independment map scrolling GUI settings with single option, and add choice to not lock cursor position when scrolling. ( #6756 )
2018-04-28 22:27:14 +01:00
michi_cc
e856e3cca8
(svn r27934) -Fix (r27900): Warning about unsigned unary minus.
2017-12-09 19:21:41 +00:00
frosch
09abccd316
(svn r27901) -Codechange: GetWindowZPriority only needs a WindowClass; this way it can also be used for WindowDesc before a Window instance is created. (3298)
2017-08-27 13:14:37 +00:00
frosch
80dffae130
(svn r27900) -Change [FS#6568]: Remove the gap between windows when 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-27 11:48:38 +00:00
frosch
b4b98e5165
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
2017-08-13 18:38:42 +00:00
peter1138
65d77ff317
(svn r27826) -Fix (r27825): Wrong code style
2017-03-24 19:25:01 +00:00
peter1138
d934ef9b00
(svn r27825) -Feature [FS#4950]: Add option to close windows with right click (Flamefire)
2017-03-24 18:55:16 +00:00
peter1138
73ea8cdb21
(svn r27816) -Fix [FS#6421]: Do not search directories when opening ini files as we already have their full path.
2017-03-20 19:30:49 +00:00
frosch
3419bff4ed
(svn r27712) -Codechange: Reduce recursions in DrawOverlappedWindow by limiting the area to the window bounds first. (adf88)
2016-12-25 17:56:57 +00:00
frosch
3cb7d9703b
(svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple sprites.
2016-08-15 18:33:08 +00:00
frosch
cade383f9b
(svn r27579) -Change [FS#6402]: Performance improvement for dedicated servers by skipping drawing calls earlier in the process. (JGR)
2016-05-22 11:30:25 +00:00
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.
2015-10-30 17:23:16 +00:00
rubidium
06d7d63216
(svn r27185) -Fix: prevent the compiler from optimizing an assignment away which caused GCC 5 to actually crash
2015-03-13 20:54:35 +00:00
frosch
1cf09f804b
(svn r27147) -Fix: Scale (non-custom) default window sizes according to GUI zoom.
2015-02-13 21:25:48 +00:00
frosch
e113f5e4a1
(svn r27146) -Fix: Make statusbar and chat-entry window use the same width as the toolbar. Otherwise they lack a size definition.
2015-02-13 21:13:45 +00:00
peter1138
253c91b17d
(svn r26990) -Feature: Add option to choose normal, double or quad-size interface.
2014-10-11 13:22:37 +00:00
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
2014-09-13 13:30:31 +00:00
alberth
8755c26793
(svn r26610) -Feature: Select an editable preset name for saving.
2014-05-24 19:11:20 +00:00
rubidium
b476086c39
(svn r26538) -Codechange: remove double accounting of the drivers
2014-04-28 21:06:51 +00:00
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
2014-04-23 20:13:33 +00:00
alberth
aee9444c1b
(svn r26392) -Fix[FS#5933] No need to call OnFocus twice (MJP)
2014-03-05 21:21:55 +00:00
rubidium
2618d960e3
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
79ccf48636
(svn r26122) -Fix-ish: remove essentially dead code; if nested_array were NULL there, it would segfault in RaiseWidget
2013-11-26 13:23:31 +00:00
frosch
c08259fe92
(svn r25884) -Fix: Resizing the window did not properly resize the viewport window, resulting in the link graph glitching.
2013-10-19 15:28:54 +00:00
michi_cc
d15c1c5d4a
(svn r25692) -Add: Replacement of a part of the edit box text with a new string.
2013-08-05 20:37:57 +00:00
michi_cc
30867c487f
(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition string.
2013-08-05 20:37:53 +00:00
michi_cc
e2ec0ddb03
(svn r25690) -Change: [OSX] Position the candidate window at the caret position.
2013-08-05 20:37:48 +00:00
michi_cc
f5e4131492
(svn r25689) -Add: [OSX] Display the IME composition string ourself.
2013-08-05 20:37:44 +00:00
michi_cc
0883cf76e3
(svn r25684) -Change: [Win32] Draw the composition string ourselves if possible.
2013-08-05 20:37:25 +00:00
michi_cc
da09fd3077
(svn r25681) -Change: [Win32] Position the IME composition window at the caret position.
2013-08-05 20:37:14 +00:00
michi_cc
7422120014
(svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system.
2013-08-05 20:37:06 +00:00
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.
2013-08-05 20:37:02 +00:00
michi_cc
019984a14f
(svn r25671) -Codechange: Pass character and key code separately to the keyboard handler.
2013-08-05 20:36:36 +00:00
michi_cc
270d8aa639
(svn r25670) -Codechange: Pass UCS-4 characters to the edit box key handler.
2013-08-05 20:36:32 +00:00
michi_cc
923eb009e8
(svn r25667) -Fix: [Win32] Only forward key presses to the IME system if an edit box has the input focus.
2013-08-05 20:36:20 +00:00
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.
2013-08-03 21:26:49 +00:00
frosch
ee4e68bd5e
(svn r25413) -Fix-ish: Suppress focussing editboxes which are not visible.
2013-06-15 15:31:04 +00:00
frosch
6291383823
(svn r25411) -Add: Window::OnHotkey
2013-06-15 15:30:16 +00:00
frosch
18ae9c78bc
(svn r25402) -Fix-ish: Prevent copying of BasePool and WindowDesc, since they register in static vectors.
2013-06-15 15:06:22 +00:00
frosch
dd826ecbdf
(svn r25297) -Fix (r25291): 32bit compilation.
2013-05-26 20:17:07 +00:00
frosch
05c472f08a
(svn r25295) -Feature: Allow saving window sizes as default sizes.
2013-05-26 19:30:31 +00:00
frosch
4e4e635916
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
2013-05-26 19:30:07 +00:00
frosch
ed851034f5
(svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the sticky button.
2013-05-26 19:27:44 +00:00
frosch
23ba42b66c
(svn r25291) -Add: WindowDesc ability to load and store information in a config file.
2013-05-26 19:27:22 +00:00
frosch
8157a8afd8
(svn r25290) -Add: Assign string names to notable windows.
2013-05-26 19:25:01 +00:00
frosch
8c4714ad90
(svn r25289) -Codechange: Store width of statusbar and main toolbar directly in the WindowDesc.
2013-05-26 19:24:37 +00:00
frosch
b6d76c4d4c
(svn r25288) -Codechange: No need to copy the WindowDesc flags if the WindowDesc is directly accessible.
2013-05-26 19:24:11 +00:00
frosch
56e4a8c4d6
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
2013-05-26 19:23:42 +00:00
frosch
c2c50b0c50
(svn r25092) -Codechange: Deduplicate keyboard handling between console and editboxes.
2013-03-17 13:05:45 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
glx
5d74b679e6
(svn r24780) -Fix [FS#5378]: passing an int to a function expecting a byte can have side effects when MSVC optimises it
2012-12-03 21:03:13 +00:00
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.
2012-11-28 21:14:28 +00:00
frosch
155a9d784c
(svn r24772) -Codechange: Call Window::OnEditboxChanged only when the content changes, not when only moving the cursor.
2012-11-28 20:54:56 +00:00
frosch
5e8238c75c
(svn r24748) -Add: Clear button to all editboxes.
2012-11-14 22:50:56 +00:00
frosch
c8c040d057
(svn r24744) -Codechange: Handle clicking on editboxed also via QueryString.
2012-11-14 22:50:42 +00:00
frosch
c283a41248
(svn r24743) -Change: Unify the behaviour of ESC in filter editboxes.
2012-11-14 22:50:39 +00:00
frosch
f5d8ba5d7f
(svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead.
2012-11-14 22:50:35 +00:00
frosch
fc2b12acca
(svn r24735) -Codechange: Move HandleEditBoxKey to Window class.
2012-11-13 21:47:13 +00:00
frosch
c4d7c8dd42
(svn r24733) -Codechange: Move handling of editbox keys to window class.
2012-11-13 21:47:02 +00:00
frosch
fd55399167
(svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members.
2012-11-13 21:46:54 +00:00
frosch
137adb3496
(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.
2012-11-13 21:46:33 +00:00
frosch
03736af2ae
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
2012-11-11 16:10:43 +00:00
frosch
72fc771039
(svn r24590) -Feature: More options for the auto-scroll setting. (adf88)
2012-10-13 09:16:20 +00:00
frosch
2abe4ac280
(svn r24589) -Codechange: Return early in HandleAutoscroll() instead of nesting ifs.
2012-10-13 08:34:10 +00:00
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.
2012-06-01 10:42:46 +00:00
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.
2012-05-07 19:34:51 +00:00
michi_cc
6a70abbd99
(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor)
2012-04-17 19:44:02 +00:00
frosch
946749fb01
(svn r24089) -Fix [FS#5136]: Conflicting strategies for resizing the main toolbar and statusbar after resizing the main window.
2012-04-03 20:09:41 +00:00
rubidium
e8dbcf9043
(svn r23932) -Codechange: split the NewGRF text window into its own source files
2012-02-12 10:32:41 +00:00
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
frosch
4027e58ba3
(svn r23722) -Change: Give the chat query window the same Z priority as the normal text query window.
2012-01-03 00:22:14 +00:00
alberth
4af8c2d5e1
(svn r23704) -Doc: Doxygen comment fixes and additions.
2012-01-01 17:22:32 +00:00
rubidium
440b63da33
(svn r23690) -Fix: massive typo ;)
2011-12-31 10:08:18 +00:00
rubidium
dbb85e5cc1
(svn r23642) -Fix [FS#4893]: OSK window got hidden by query window
2011-12-20 19:48:33 +00:00
truebrain
403cd3acdb
(svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only)
2011-12-19 21:05:14 +00:00
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
2011-12-15 19:54:23 +00:00
frosch
66d1848f5e
(svn r23517) -Fix (r23336, etc.): Give map generation window the same priority as the start server window.
2011-12-14 20:47:33 +00:00
rubidium
2bf0fc3c5c
(svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors
2011-12-10 15:16:58 +00:00
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
2011-12-09 22:07:00 +00:00
rubidium
8b5d315d2a
(svn r23429) -Fix [FS#4842]: prevent windows to be resized beyond the bounds of the (main) window
2011-12-04 14:00:23 +00:00
alberth
40186486de
(svn r23426) -Change [FS#4685] (r23423): Put currency window above game options.
2011-12-04 12:11:27 +00:00
alberth
2cf284154c
(svn r23423) -Revert (r23421): NewGRF windows may not be moved to normal priority.
2011-12-04 11:58:56 +00:00
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.
2011-12-04 10:52:08 +00:00
michi_cc
6083d6ffb4
(svn r23410) -Add: A window with a detailed overview over the infrastructure of a company.
2011-12-03 23:40:08 +00:00
planetmaker
c5ed9bd4f5
(svn r23400) -Fix (r23393, r23382): Text query window was hidden in numerous cases
2011-12-03 14:45:02 +00:00
yexo
fa930b15c7
(svn r23393) -Fix (r23382): AI / NewGRF sub-windows were now hidden under their parent windows
2011-12-02 11:48:54 +00:00
yexo
71c1ef5d26
(svn r23382) -Fix [FS#4845] (r23336): NewGRF window and content download window were always hidden under the saveload window
2011-12-01 11:57:25 +00:00
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)
2011-11-26 16:09:25 +00:00
rubidium
02b884d923
(svn r23244) -Feature: if the installation is ananas, try to get the b without b installed
2011-11-17 21:17:17 +00:00
peter1138
50d1541270
(svn r23017) -Codechange: Add support for resized scrollbars.
2011-10-11 08:07:47 +00:00