Commit Graph

21380 Commits

Author SHA1 Message Date
Juanjo edb6c09c64 When in touchscreen modes, windows aligned with main toolbar are aligned to the left/right edge of the screen. 2014-03-15 22:53:35 +02:00
Juanjo 7079e675bf Align construction windows with main toolbar. 2014-03-15 22:53:35 +02:00
Juanjo 604205045f Erase queued commands when another command is about to be queued. 2014-03-15 22:53:35 +02:00
Juanjo 60a7ac9f3c Erase queued command also when depot direction/airport type/station type changes. 2014-03-15 22:53:35 +02:00
Juanjo fc248814fe Reset queued command when changing CTRL state. 2014-03-15 22:53:35 +02:00
Juanjo b164486616 Reset queued command when closing windows that can queue them. 2014-03-15 22:53:35 +02:00
Juanjo 02caad7c1b Select the actions that will need confirmation. 2014-03-15 22:53:35 +02:00
Juanjo 90c00f5b58 Adaptation of viewport for confirm mode. 2014-03-15 22:53:35 +02:00
Juanjo 77a101280b Set dirty selection tiles when bridge is too long to build. 2014-03-15 22:52:35 +02:00
Juanjo f70dbfdc32 Set selection tiles dirty when erasing a queued command. 2014-03-15 22:52:35 +02:00
Juanjo 4f60841795 Base functions for a confirm action mode. 2014-03-15 22:52:14 +02:00
Juanjo fee23f7be0 Add a console command to open cheat window. 2014-03-15 22:52:13 +02:00
Juanjo 2beebef91b When clicking the console and when in touchscreen modes, open a query string window. 2014-03-15 22:52:13 +02:00
Juanjo 94abe055a2 Settings in three columns for tablets. 2014-03-15 22:52:13 +02:00
Juanjo dc853a0a3f amend vehicle gui 2014-03-15 22:52:13 +02:00
Juanjo a4c6102822 Add settings for touchscreen controls. 2014-03-15 22:51:42 +02:00
Juanjo 96d3b0695c Amend gui's to work with touchscreen controls. 2014-03-15 22:23:22 +02:00
Juanjo d5669bb677 Set construction child windows to screen borders. 2014-03-15 22:23:22 +02:00
Juanjo 90914e262a Changes on viewport related files to deal with touchscreen options. 2014-03-15 22:23:22 +02:00
Juanjo 06a276e5ad Add a window for touchscreen devices. 2014-03-15 22:23:22 +02:00
Juanjo cf89f0ff5e Toolbar types. 2014-03-15 21:59:34 +02:00
Juanjo fbd9b7c906 Add functions for cycling inside an enum. 2014-03-15 21:56:55 +02:00
Juanjo 381c4e98aa Place station when releasing the mouse. 2014-03-15 21:56:55 +02:00
Juanjo c872509d7b Do actions when releasing the mouse, instead of when clicking:
Build town, industry, airport, dock, lock,
buoy, aqueduct, depots, change bridge rail/road specs.
2014-03-15 21:56:55 +02:00
Juanjo 6c368cbde5 Add new viewport methods. 2014-03-15 21:56:55 +02:00
Juanjo 0fffd1dd3c Allow calling init presizing mode from outside viewport.cpp. 2014-03-15 21:56:55 +02:00
Juanjo b69c4bb7a9 Add scrollbars to tracklist window and set min sizing. 2014-03-15 21:56:55 +02:00
Juanjo f43337d022 Some amends about sizings. 2014-03-15 21:56:55 +02:00
pelya 98c2f0647e Removing leftovers of my sloppy merging 2014-03-15 21:39:03 +02:00
Juanjo e69bbbf0da Sizing and centering on create scenario window. 2014-03-15 21:37:18 +02:00
Juanjo 0ae63b4c28 Sizing and centering editbox icon. 2014-03-15 21:37:18 +02:00
Juanjo fd9b7efa97 Amend some widgets properties for high resolution screens. 2014-03-15 21:37:18 +02:00
Juanjo d95a9c6160 Add a setting for automatically set min sizing values. 2014-03-15 21:37:17 +02:00
Juanjo 923bb00c09 Add a min sizing for viewports. 2014-03-15 21:37:17 +02:00
Juanjo 97e285fee5 Add a min sizing for width of command errors, news and query windows. 2014-03-15 21:37:17 +02:00
Juanjo d0c26fac56 Add a specific min sizing for onscreen keyboard. 2014-03-15 21:36:24 +02:00
Juanjo 723d9b6256 Center cargo icons on station GUI. 2014-03-15 21:36:24 +02:00
Juanjo 4be55758ae Center vehicle status icon. 2014-03-15 21:36:24 +02:00
Juanjo a8a48d097b Center sprites on bridge picker window. 2014-03-15 21:36:24 +02:00
Juanjo 7b1560dcb6 Center sprites on station picker for road stations and rail stations. 2014-03-15 21:36:24 +02:00
Juanjo 7b2156d15e Sizing and centering of vehicle image on refit window. 2014-03-15 21:36:24 +02:00
Juanjo 94c01f0c66 Sizing and centering of owner face window. 2014-03-15 21:36:24 +02:00
Juanjo 3f81edb664 More sizing and centering. 2014-03-15 21:36:24 +02:00
Juanjo 4c8c1ce146 Add min sizings to some construction buttons. 2014-03-15 21:35:41 +02:00
Juanjo f63ed5b6e7 Add min sizing on smallmap window. 2014-03-15 21:35:41 +02:00
Juanjo 0442649289 Add min sizing. 2014-03-15 21:35:16 +02:00
Juanjo 034e8677ad Center company icon on league table. 2014-03-15 21:34:37 +02:00
Juanjo 020e62fbd6 Center images on buttons. 2014-03-15 21:34:37 +02:00
Juanjo 1fe633b7b7 Draw vehicles vertically aligned on vehicle list, vehicle info panel, etc. 2014-03-15 21:34:36 +02:00
Juanjo a315c978f6 Center group gui strings (and other minor changes). 2014-03-15 21:34:36 +02:00