Sergii Pylypenko
607d73f872
Merge tag '1.11.2' into 1.11
2021-05-07 21:53:27 +03:00
PeterN
c3eae71778
Fix: Incorrect vertical alignment of icon and text in DropDownListIconItem. ( #9133 )
...
This happens if the bounding dimensions are changed so that each item is the same size, as happens on the railtype/roadtype dropdown lists, as the vertical offset was calculated before this dimension is changed.
2021-05-03 19:33:42 +01:00
pelya
aeba8778d4
Fixed a crash in dropdown finger scrolling code
2021-02-03 18:49:54 +02:00
pelya
3a82c97aa1
Merge remote-tracking branch 'upstream/master'
2021-01-25 00:50:42 +02:00
Charles Pigott
9b800a96ed
Codechange: Remove min/max functions in favour of STL variants ( #8502 )
2021-01-08 11:16:18 +01:00
Michael Lutz
a49fdb7ebb
Codechange: Store base set related texts in std::strings.
2020-05-21 20:02:34 +02:00
pelya
77ecfa35fe
Fixed 'Build rail' dropdown menu
2020-03-24 23:24:49 +02:00
pelya
1764671302
Fixed compilation
2020-03-20 22:55:45 +02:00
pelya
798fbc3466
Merge branch 'origin/master' commit 'a499e9acdd385b57dd43caf88af3a6f7f53716ba'
2020-03-20 00:10:46 +02:00
Sergii Pylypenko
070f1ddf4f
Fixed dropdown list missing items
2020-03-19 21:39:20 +02:00
Sergii Pylypenko
31d0ceb39e
Drag-scrolling for long dropdown menus
2020-03-19 21:39:20 +02:00
Sergii Pylypenko
dd3af9bfb2
Fixed combobox dropdown lists
2020-03-19 21:39:20 +02:00
Sergii Pylypenko
b82dd5d0c2
Do not open dropdown menu scrolled to the bottom
2020-03-19 21:39:20 +02:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00: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
glx22
3b4f224c0b
Fix #7494 : std::sort() and qsort() use different comparators ( #7495 )
2019-04-10 20:55:53 +02:00
Michael Lutz
c7b9987d08
Codechange: Switch DropDownList to directly use std::vector, thus making AutoDeleteSmallVector obsolete.
...
DropDownListItem are strongly managed using std::unique_ptr to ensure leak-free handling. Appropriate use
of move-semantics make intent a lot clearer than parameter comments and allows the compiler to generate
copy-free code for most situations.
2019-04-09 22:45:15 +02:00
glx22
66dd7c3879
Fix: MSVC warnings ( #7423 )
2019-03-28 00:09:33 +01:00
Henry Wilson
ab711e6942
Codechange: Replaced SmallVector::[Begin|End]() with std alternatives
2019-03-26 20:15:57 +00:00
Henry Wilson
a0f36a50e6
Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()
2019-03-26 20:15:57 +00:00
Henry Wilson
a690936ed7
Codechange: Replace SmallVector::Length() with std::vector::size()
2019-03-26 20:15:57 +00:00
peter1138
b56ea5ca27
Add: Generic drop down list string item with icon.
2019-03-10 10:31:37 +00:00
peter1138
811bf22620
Codechange: Use Colours type instead of byte.
2019-03-10 09:20:11 +00:00
J0an Josep
628af2fabc
Fix #6060 : When opening a scrollable dropdown above a widget, scroll it to its very bottom.
...
This "prevents" the fast movement towards the bottom when holding down the mouse button.
2019-01-20 21:43:00 +00:00
Juanjo
226dbcb422
Codechange #6060 : Allow drawing dropdown lists with scrollbars above the widgets
2019-01-20 21:43:00 +00:00
PeterN
5ff0c24993
Fix #6780 : Some windows didn't get updated from OnTick() ( #7048 )
2019-01-12 23:23:23 +00:00
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
2018-10-31 12:35:54 +01:00
Sergii Pylypenko
3ccbe7cd71
Fixed dropdown scrollbar
2018-05-31 22:09:16 +03:00
Sergii Pylypenko
1dd775e31c
Fixed compilation
2018-05-31 22:08:42 +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
393d4da59e
Fixed combobox popups not reaching the top of the screen
2018-05-31 21:55:29 +03:00
peter1138
902663176d
(svn r27820) -Fix: Allow dropdown to be drawn above origin widget even with scrollbar (Juanjo)
2017-03-23 20:07:59 +00:00
pelya
a137088a80
Fixed dropdown box not putting droplist above the widget
2016-03-27 22:45:58 +03:00
pelya
400065fa43
Fixed compilatin, reverted several of my changes
...
Conflicts:
src/gfx.cpp
src/widget.cpp
src/widget_type.h
src/window.cpp
src/window_func.h
2016-03-27 22:41:43 +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
Sergii Pylypenko
eb6626d247
Tap anywhere to close popup dropdown menu
2015-03-29 20:23:39 +03:00
pelya
5b874adee8
Do not auto-close main toolbar menus, disabled autoscroll for dropdown lists
2015-03-29 20:23:35 +03:00
frosch
18a1131e9f
(svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus.
2015-02-01 12:23:39 +00:00
frosch
c9114af706
(svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus.
2015-02-01 12:23:39 +00:00
Sergii Pylypenko
2603e6b5e3
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/os/unix/unix.cpp
src/widgets/dropdown.cpp
2014-08-19 19:21:47 +03:00
pelya
17f0f3d650
Slower scrolling for dropdown lists and scrollbars
2014-08-19 19:12:01 +03:00
frosch
a7987ade44
(svn r26691) -Codechange: Simplify ShowDropDownListAt (Juanjo)
2014-07-16 20:38:36 +00:00
frosch
925fb7bd37
(svn r26691) -Codechange: Simplify ShowDropDownListAt (Juanjo)
2014-07-16 20:38:36 +00:00
frosch
8e99615c7e
(svn r26680) -Codechange: Simplify dropdown height computation. (Juanjo)
2014-07-08 20:07:50 +00:00
frosch
d7736e3797
(svn r26680) -Codechange: Simplify dropdown height computation. (Juanjo)
2014-07-08 20:07:50 +00:00
pelya
d3e9368f34
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/autoreplace_gui.cpp
2014-06-15 22:32:06 +03:00
frosch
f8def6184b
(svn r26629) -Fix [FS#6012]: If the video driver fails to supply a list of resolutions, display an error message.
2014-06-05 17:14:16 +00:00