Commit Graph

484 Commits

Author SHA1 Message Date
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
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
0e3e4eeb53 (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
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
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
pelya
8f7e444f4f Allow scrolling when selecting destination station or building single-tile objects 2015-03-29 20:22:19 +03:00
pelya
9875c97661 Do not change windows focus on mouse-up action 2015-03-29 20:22:18 +03:00
pelya
0d3412d064 Hide all windows when selecting vehicle destination station 2015-03-29 20:22:18 +03:00
pelya
6f9c0181c1 Align all construction windows to the left, to make more space at the center of the screen 2015-03-29 20:22:18 +03:00
pelya
ac76047f54 Off-by-pixel toolbar placement, arrgh 2015-03-29 20:22:18 +03:00
pelya
55d31f06fb Continuously scroll map with two fingers 2015-03-29 20:22:18 +03:00
rubidium
7cb07acd86 (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
5ebc0c9934 (svn r27147) -Fix: Scale (non-custom) default window sizes according to GUI zoom. 2015-02-13 21:25:48 +00:00
frosch
abe22e594d (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
2655de52d7 (svn r26990) -Feature: Add option to choose normal, double or quad-size interface. 2014-10-11 13:22:37 +00:00
planetmaker
035fedd30b (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
pelya
17f0f3d650 Slower scrolling for dropdown lists and scrollbars 2014-08-19 19:12:01 +03:00
pelya
5236d0f75f Fixed build area not highlighted on mouse-over or stylus hover 2014-08-19 19:12:01 +03:00
Sergii Pylypenko
91ebce1a9c Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/console_gui.cpp
	src/genworld_gui.cpp
	src/group_gui.cpp
	src/misc_gui.cpp
	src/settings_gui.cpp
	src/widgets/settings_widget.h
2014-06-04 17:09:23 +03:00
Sergii Pylypenko
8ca0bf745a Fixed bug in my previous commit 2014-06-03 22:36:38 +03:00
Sergii Pylypenko
3cb6c7d5ee Fixed right toolbar moving to the left, removed remainder of 'touchscreen mode' stuff 2014-06-03 21:55:41 +03:00
Sergii Pylypenko
75c376a23e Removed debug 2014-06-03 21:48:28 +03:00
Sergii Pylypenko
c323eb1c8a Fixed dropdown lists in main toolbar 2014-06-03 21:42:33 +03:00
Sergii Pylypenko
15db61be69 Fixed mouse click passed down to map after closing a window. 2014-06-03 20:32:39 +03:00
Sergii Pylypenko
41da4be66b Removed remainder of the 'touchscreen mode' code 2014-06-03 20:27:45 +03:00
Sergii Pylypenko
7e6e95c34c Some fixes to window placement 2014-06-02 23:25:47 +03:00
pelya
9bdda2756b Fixes to split toolbar 2014-06-02 01:58:58 +03:00
pelya
9923ecfed0 Vertical toolbar is drawn okay, but does not work 2014-06-02 00:15:15 +03:00
pelya
9f780643ed WIP do not compile - split toolbar into two vertical toolbars 2014-06-01 13:45:45 +03:00