Commit Graph

935 Commits

Author SHA1 Message Date
Sergii Pylypenko
66e3334f0e Merge upstream branch 1.8 2018-05-31 22:59:50 +03:00
Sergii Pylypenko
a6fb9d3fe9 JGRPP patch sync 2018-05-31 22:09:18 +03:00
pelya
450858784e Toned down window closing by dragging, dim window when it's closed 2018-05-31 21:57:30 +03:00
pelya
cd0032e33d Fixed minimap. That's good enough for release 2018-05-31 21:57:30 +03:00
pelya
db2bf71269 Fixed windows unable to be dragged beyond the right part of the screen 2018-05-31 21:57:30 +03:00
pelya
d0ebbd329b no-toolbars: misclicks should be fixed 2018-05-31 21:57:30 +03:00
pelya
d098c1654d Fix for main menu dragged off screen 2018-05-31 21:55:29 +03:00
pelya
61a7972a44 no-titlebars: fixed windows not draggable over the top of the screen, for real now 2018-05-31 21:55:29 +03:00
pelya
25db807f7f no-titlebars: fixed dragon droppings 2018-05-31 21:55:29 +03:00
pelya
2c3d320457 Added back old mouse processing code for reference 2018-05-31 21:55:29 +03:00
pelya
85d5d964ec Clicking widgets is broken, the focus changes at random 2018-05-31 21:55:29 +03:00
pelya
6887b52d0a no-titlebars: Fixed windows not dragged above the top of the screen 2018-05-31 21:55:29 +03:00
pelya
9d01d66923 Edge ornaments, not finished 2018-05-31 21:55:29 +03:00
pelya
1c7dc8320b no-titlebars: allow window to be dragged above top of the screen 2018-05-31 21:55:29 +03:00
pelya
bb71a37ab3 Partial fix for building bridges 2018-05-31 21:55:28 +03:00
pelya
94fb054554 Put tooltip above the cursor 2018-05-31 21:55:28 +03:00
pelya
ee32654324 Close windows by dragging them off screen 2018-05-31 21:55:28 +03:00
pelya
a75f8da8c8 no-titlebars: Fixed scrollbars dragging whole windows 2018-05-31 21:55:28 +03:00
pelya
4f25c5ac61 no-titlebars: fixed toolbar buttons missing first click 2018-05-31 21:55:28 +03:00
pelya
a037e003d6 no-toolbars: move all windows by dragging anywhere, this breaks drag&drop, and toolbar buttons do not respond on the first click 2018-05-31 21:55:28 +03:00
pelya
d0c2cde7a1 no-toolbars: Send OnClick event to window on mouse-up 2018-05-31 21:55:28 +03:00
pelya
5153fba5e0 All windows can cover status bar 2018-05-31 21:55:27 +03: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
Sergii Pylypenko
b4cc822085 Merge svn r27779
Conflicts:
	src/autoreplace_gui.cpp
	src/economy.cpp
	src/fios_gui.cpp
	src/lang/spanish_MX.txt
	src/network/network_gui.cpp
	src/rev.cpp.in
	src/road_gui.cpp
	src/toolbar_gui.cpp
	src/window.cpp
2017-03-17 23:14:41 +02:00
Sergii Pylypenko
f2097e7448 Fixed advanced settings UI 2017-03-17 22:41:28 +02:00
Sergii Pylypenko
db042040c2 Fixed bridges not building when confirmation is disabled, rearranged tooltip position to not obscure buttons 2017-03-17 22:40:05 +02:00
pelya
a724419cc9 Fixed joining stations, broken by confirmation dialog 2017-03-17 22:40:05 +02:00
pelya
ff28829393 Fixed bridge GUI broken due to confirmation dialog 2017-03-17 22:40:04 +02:00
frosch
dbe969087d (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
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
0e3e4eeb53 (svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple sprites. 2016-08-15 18:33:08 +00:00
frosch
3cb7d9703b (svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple sprites. 2016-08-15 18:33:08 +00:00
frosch
51e274a523 (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
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
Sergii Pylypenko
d49e71d803 Build confirmation window, for each build action on the map 2016-04-08 21:45:29 +03:00
pelya
3a12f56a62 Fixed windows hidden when moved slightly off-screen to the left 2016-03-27 22:57:26 +03:00
pelya
7dc511ba5c Fixed toolbar and status bar 2016-03-27 22:45:58 +03:00
pelya
400065fa43 Fixed compilatin, reverted several of my changes
Conflicts:
	src/gfx.cpp
	src/widget.cpp
	src/widget_type.h
	src/window.cpp
	src/window_func.h
2016-03-27 22:41:43 +03:00
pelya
3ef1c1baff Merge commit 'a8b575671894ffe1329ef37dca4989c0e60d70f5'
These merges are becoming more awful every time

Conflicts:
	src/ai/ai_gui.cpp
	src/build_vehicle_gui.cpp
	src/cheat_gui.cpp
	src/company_gui.cpp
	src/depot_gui.cpp
	src/dock_gui.cpp
	src/error_gui.cpp
	src/genworld_gui.cpp
	src/misc_gui.cpp
	src/network/network_content_gui.cpp
	src/network/network_gui.cpp
	src/newgrf_gui.cpp
	src/news_gui.cpp
	src/rail_gui.cpp
	src/rev.cpp.in
	src/road_gui.cpp
	src/settings_gui.cpp
	src/settings_gui.h
	src/signs_gui.cpp
	src/station_gui.cpp
	src/table/settings.ini
	src/terraform_gui.cpp
	src/toolbar_gui.cpp
	src/toolbar_gui.h
	src/vehicle_gui.cpp
	src/video/sdl_v.cpp
	src/viewport.cpp
	src/widget.cpp
	src/widgets/settings_widget.h
2016-03-27 22:33:11 +03:00
frosch
c74ffeecd1 (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
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
Sergii Pylypenko
ab0e3a8bef Removed references to tablet bar, it's not needed anymore 2015-03-29 20:23:39 +03:00
Sergii Pylypenko
dce1a08117 Oops 2015-03-29 20:23:39 +03:00
Sergii Pylypenko
49d814d5d3 Fixed scenario editor GUI messed by vertical toolbar 2015-03-29 20:23:39 +03:00