frosch
08c73115dd
(svn r27863) [1.7] -Backport from trunk:
...
- Fix: Black remap did nothing in 8bpp-simple blitter (r27837)
- Fix: Misaligned resize icon due to widget bounds being inclusive (r27831)
- Fix: Update viewport sign dimensions when changing GUI zoom level (r27827, r27819)
- Fix: Vehicle viewport is not user scrollable so flag window as such (r27823)
- Fix: Allow dropdown to be drawn above origin widget even with scrollbar (r27820)
- Fix: 32bpp-anim blitters assumed that pitch and width of the screen were equal [FS#6545] (r27796)
- Fix: Chat text background overflowed due to missing padding [FS#6526] (r27794)
2017-06-20 20:01:25 +03:00
pelya
f2405b6e3e
Toned down window closing by dragging, dim window when it's closed
2017-04-07 21:29:43 +03:00
pelya
2f31a81021
April 1-st is already passed
2017-04-05 23:30:38 +03:00
pelya
73a9161869
April 1st, fools!
2017-04-02 02:12:42 +03:00
pelya
a13b40e0c8
no-titlebars: fixed dragon droppings
2017-03-31 04:16:47 +03:00
pelya
e5cd6ce45c
Clicking widgets is broken, the focus changes at random
2017-03-31 03:38:06 +03:00
pelya
1329335de0
Option in settings for window decorations
2017-03-31 02:48:56 +03:00
pelya
4f16bf6047
Also draw ornaments on window captions
2017-03-31 02:38:01 +03:00
pelya
93aa9f4bbc
Removed unused ornament images
2017-03-31 01:47:19 +03:00
pelya
55d3fdfa32
Draw ornament on all edges
2017-03-31 01:46:31 +03:00
pelya
d6ab2f7052
I can tweak the ornament forever
2017-03-31 00:40:56 +03:00
pelya
a42af29db7
New ornament pattern
2017-03-31 00:33:18 +03:00
pelya
7539839412
Updated edge ornament
2017-03-29 23:52:06 +03:00
pelya
d62c992a8f
Edge ornaments, not finished
2017-03-29 23:45:06 +03:00
pelya
c0115b1264
Fixed windows resizing with no titlebars
2017-03-23 23:12:47 +02:00
pelya
c27c828eaf
Fixed few UI bugs in titlebarless windows
2017-03-22 23:33:03 +02:00
pelya
7c16f1417f
Small refactoring
2017-03-22 23:13:59 +02:00
pelya
d18a9995ce
Hide title bars for all windows when 'title bars' option is de-selected
2017-03-22 22:55:10 +02: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
frosch
d1c64315cd
(svn r27713) -Fix [FS#6527]: Setup clipping areas for individual widgets when drawing. (adf88)
2016-12-25 17:57:47 +00:00
pelya
ecd7e7f4b1
Fixed 'Sort by' widget
2016-04-03 00:57:18 +03:00
pelya
3f4beeb212
Fixed text input widget too small and bottom bar too wide
2016-04-03 00:57:18 +03:00
Sergii Pylypenko
48f3615bab
Rough post-merge GUI fix
2016-04-03 00:56:18 +03:00
Sergii Pylypenko
eadf5e9f4a
Fixed sort button marker not centered
2016-03-27 22:50:05 +03:00
Sergii Pylypenko
3ff1ccb5c2
Fixed dropdown box too narrow and cropping text
2016-03-27 22:50:05 +03:00
pelya
9500f8d92a
Set default min size for all widgets
...
Conflicts:
src/widget.cpp
2016-03-27 22:48:39 +03:00
pelya
5c44744772
Centered dropdown drop button
2016-03-27 22:45:58 +03:00
pelya
963cd3c5ea
Centered vertical scrollbar
2016-03-27 22:45:58 +03:00
pelya
f99dc9868f
Centered vertical scrollbar arrows
2016-03-27 22:45:58 +03:00
pelya
05c6c76771
Centered close box sprite
2016-03-27 22:45:58 +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
michi_cc
44918010df
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
2015-08-10 20:24:13 +00:00
frosch
67ae231f1b
(svn r27340) -Fix [FS#6338]: Silence warning by moving _string_colourmap to a file no its own. (Cif)
2015-07-26 09:47:17 +00:00
frosch
d07b686927
(svn r27303) -Fix [FS#6321]: SetMinimalSize was ignored for WWT_EDITBOX.
2015-06-20 12:29:36 +00:00
frosch
53ee8c696b
(svn r27255) -Fix [FS#6270]: Combined button+dropdown widgets in order and autoreplace GUI had incorrect hitbox when using GUI zoom. (_dp_)
2015-04-26 11:07:41 +00:00
rubidium
09f6c46d0b
(svn r27030) -Fix: crash when having the vehicle list opened from a buoy or oil rig while the buoy/oil rig gets its final removal (i.e. the sign gets removed)
2014-10-21 19:16:47 +00:00
rubidium
fdd5b2293d
(svn r26971) -Fix: widget_data was sometimes uint16 and sometimes uint32; make it always be uint32
2014-10-06 19:16:29 +00:00
peter1138
ee266b9b9d
(svn r26965) -Codechange: Add palette bit to indicate that palette is actually a text colour remap, and draw closebox as a sprite, using said bit. Change news popup to use closebox widget for its closebox.
2014-10-05 21:18:37 +00:00
peter1138
d3c614c3cf
(svn r26964) -Codechange: Allow editbox size to change.
2014-10-05 18:10:01 +00:00
peter1138
a0c53f7c4c
(svn r26962) -Fix: Set up scrollbar size at the correct time (where it can be changed). Also ensure scrollbar is long enough to at least contain its buttons.
2014-10-05 16:43:44 +00:00
peter1138
6872b647f1
(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort buttons with non-static width.
2014-10-05 11:20:02 +00:00
peter1138
2f871d02b3
(svn r26861) -Codechange: Include height of dropdown image in dropdown widget. Draw vertically centred image in dropdown button.
2014-09-20 12:25:36 +00:00
peter1138
2bb3524416
(svn r26855) -Codechange: Render vertical scrollbars the same as horizontal scrollbars, with sprites instead of text.
2014-09-20 08:55:35 +00:00
peter1138
a3eaa31178
(svn r26854) -Codechange: Don't override computed minimal size with static minimal size, instead only increase it.
2014-09-20 00:27:14 +00:00
pelya
17f0f3d650
Slower scrolling for dropdown lists and scrollbars
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
rubidium
2be4215f43
(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
pelya
313e3b73b3
Auto-resize all buttons and fonts, when screen resoluition changes
2014-03-23 17:19:30 +02:00
pelya
386261656d
Fixed scrollbar slider when the scrollbar is too small
2014-03-23 15:37:10 +02:00
pelya
7bbd2dfeee
Fixed scrollbar slider getting too small, cenetered sort marks and horizontal scrollbar arrows
2014-03-22 00:51:07 +02:00