Commit Graph

573 Commits

Author SHA1 Message Date
pelya 2bc0595127 Fixed Android compilation and warnings 2021-01-25 21:31:09 +02:00
pelya 3a82c97aa1 Merge remote-tracking branch 'upstream/master' 2021-01-25 00:50:42 +02:00
Patric Stout af22a4f2cd Add: show in the tooltip of disabled toolbar buttons why they are disabled 2021-01-08 16:43:51 +01:00
Charles Pigott 9b800a96ed Codechange: Remove min/max functions in favour of STL variants (#8502) 2021-01-08 11:16:18 +01:00
TechGeekNZ a10013dd00 Codechange: Spell 'Viewport' consistently
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
2020-07-27 17:31:29 +01:00
TechGeekNZ 8652a4db76 Cleanup: Give SetDirtyBlocks a more descriptive name. 2020-06-09 13:15:47 +01:00
pelya 798fbc3466 Merge branch 'origin/master' commit 'a499e9acdd385b57dd43caf88af3a6f7f53716ba' 2020-03-20 00:10:46 +02:00
Sergii Pylypenko 17ee6fa299 Scroll most lists by finger dragging list contents 2020-03-19 21:39:20 +02:00
Sergii Pylypenko aa4b5de6e1 Fixed compilaiton in window and widget code 2020-03-19 21:23:50 +02:00
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
glx 1f418555a1 Fix #7742, 66dd7c3: widget position can be negative 2019-09-17 20:11:34 +02:00
Niels Martin Hansen 62dec9f174 Fix: Scale all min size and padding by UI scale 2019-04-24 23:04:55 +02:00
Sergii Pylypenko 3ba683874b Merge remote-tracking branch 'origin/master' into HEAD 2019-04-23 18:16:24 +03:00
Henry Wilson 7c8e7c6b6e Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02: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