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
Juanjo
cab76bd7af
Draw strings vertically aligned on some windows.
2014-03-15 21:34:36 +02:00
Juanjo
cc62096ac4
Functions for drawing vertically aligned strings.
2014-03-15 21:33:24 +02:00
Juanjo
829c5f8dd2
Use resize.step_height, so the height of each element doesn't need to be FONT_HEIGHT_NORMAL.
2014-03-15 21:33:24 +02:00
Juanjo
b5ea121dbc
Change the SetFill/Resize status of order/group by widgets on station GUI.
2014-03-15 21:33:24 +02:00
Juanjo
dfa346f89f
Make icons for selling, selling all, autoreplacing,... the same height.
2014-03-15 21:33:24 +02:00
Juanjo
c715c1073a
Get better sizes for widgets of statusbar.
2014-03-15 21:33:24 +02:00
Juanjo
1dbcfe02f5
Reorder DrawWidget on StatusBarWindow.
2014-03-15 21:33:24 +02:00
Juanjo
ea0961682d
Center yes/no buttons on query string.
2014-03-15 21:33:24 +02:00
Juanjo
4f2f3c52c6
Adapt the boxes showing waiting cargo on the Station List:
...
- rtl suport.
- size of the boxes adapted to the height of the normal font.
- draw a shadowed box if there is no cargo waiting but cargo has been accepted in that station.
- also always draw the box for a cargo if cargo has been produced but there are no waiting units.
2014-03-15 21:33:24 +02:00
Juanjo
b792189e59
Some small helpers to draw strings and sprites dealing with left-to-right/right-to-left.
2014-03-15 21:33:24 +02:00
Juanjo
9fa95981fc
Display of group names is longer when autoreplace/protection sprites are hidden.
2014-03-15 21:33:24 +02:00
Juanjo
7e91026ec8
The space between the group name and the sprite is set to 2 instead of 8. Less unused space.
2014-03-15 21:33:24 +02:00