Commit Graph

561 Commits

Author SHA1 Message Date
Sergii Pylypenko
aa4b5de6e1 Fixed compilaiton in window and widget code 2020-03-19 21:23:50 +02:00
Sergii Pylypenko
3ba683874b Merge remote-tracking branch 'origin/master' into HEAD 2019-04-23 18:16:24 +03:00
Peter Nelson
de9f54ccc1 Codechange: Change scrolling_scrollbar to mouse_capture_widget, and dispatch OnClick() event if widget is not a scrollbar.
This allows any widget to support mouse capture.
2019-02-21 08:11:35 +00:00
Charles Pigott
f5b1115039 Doc: Lots and lots of doxymentation fixes 2018-10-31 12:35:54 +01:00
Sergii Pylypenko
66e3334f0e Merge upstream branch 1.8 2018-05-31 22:59:50 +03:00
frosch
8f58cc6dac (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)
2018-05-31 22:05:29 +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
e56f422ad5 April 1-st is already passed 2018-05-31 21:57:30 +03:00
pelya
37407ed33c April 1st, fools! 2018-05-31 21:57:30 +03:00
pelya
25db807f7f no-titlebars: fixed dragon droppings 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
c6d4812563 Option in settings for window decorations 2018-05-31 21:55:29 +03:00
pelya
406e98c722 Also draw ornaments on window captions 2018-05-31 21:55:29 +03:00
pelya
4db62fcd1d Removed unused ornament images 2018-05-31 21:55:29 +03:00
pelya
2b2275c169 Draw ornament on all edges 2018-05-31 21:55:29 +03:00
pelya
10950d3022 I can tweak the ornament forever 2018-05-31 21:55:29 +03:00
pelya
54231ca1d5 New ornament pattern 2018-05-31 21:55:29 +03:00
pelya
a9bab5fb5b Updated edge ornament 2018-05-31 21:55:29 +03:00
pelya
9d01d66923 Edge ornaments, not finished 2018-05-31 21:55:29 +03:00
pelya
03868523af Fixed windows resizing with no titlebars 2018-05-31 21:55:28 +03:00
pelya
5c0ecf1359 Fixed few UI bugs in titlebarless windows 2018-05-31 21:55:28 +03:00
pelya
2024e456fa Small refactoring 2018-05-31 21:55:28 +03:00
pelya
0f91382c7b Hide title bars for all windows when 'title bars' option is de-selected 2018-05-31 21:55:28 +03:00
frosch
b4b98e5165 (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) 2017-08-13 18:38:42 +00:00
peter1138
efe201d1df (svn r27831) -Fix (r24577): Misaligned resize icon (due to widget bounds being inclusive) 2017-03-26 19:07:08 +00:00
peter1138
bcc5c9f81d (svn r27821) -Change: Draw images in centre of buttons (inspired by Juanjo) 2017-03-23 22:00:00 +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
frosch
d1c64315cd (svn r27713) -Fix [FS#6527]: Setup clipping areas for individual widgets when drawing. (adf88) 2016-12-25 17:57:47 +00:00
frosch
f882a5aa00 (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
michi_cc
2b8bb12d62 (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
4830497f0b (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
97d7ad8914 (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
frosch
2639b84316 (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
e811fa1718 (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