teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
Ivaylo Draganov
7943f4deb6
Unify widget state image suffixes (disabled, pressed, hover, focus)
...
- Add a property for arrows image collection (in drop-downs, scrollbars
and production tabs)
- Add a property for separators image collection (in drop-downs)
- Add hover and disable states to the drop-down separator
- Unify button, textfield and checkbox state suffixes
2020-07-05 11:50:45 +01:00
Paul Chote
e6314a944c
Round dropdown arrow position to an integer pixel.
2020-03-01 14:41:17 +01:00
Paul Chote
de4a7cecf0
Rework multi-resolution sprite handling:
...
- Sprite.Bounds now refers to rectangles in the source image.
Use this when copying pixels, etc.
- Sprite.Size now refers to sizes in effective pixel coordinates.
Use this when rendering.
- Sheet.DPIScale has been removed.
- "Density" term is introduced to refer to the number of artwork
pixels per effective pixel.
2020-02-26 23:47:15 +01:00
Ivaylo Draganov
62af58c2e6
Calculate position of dropdown arrow glyph based on image width
2020-02-09 12:53:30 +01:00
Paul Chote
83732f299b
Add DropDownButtonWidget.PanelAlign.
2020-01-26 17:11:45 +01:00
Paul Chote
cc530649c7
Fix horizontal positioning of dropdown arrow glyph.
2020-01-25 21:56:02 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Ivaylo Draganov
3fb60740be
Add support for opening DropDownButtonWidget upwards if clipped by the viewport
2019-06-29 23:10:25 +02:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Andre Mohren
48248266a8
ClickSound and ClickDisabledSound and ChatLine are optional ui sounds.
2018-09-29 20:05:53 +02:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
69251d508b
Suppress scroll events from the DropDownWidget fullscreen mask.
2017-08-31 12:43:17 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Oliver Brakmann
fe6c4d8e5c
Merge pull request #10788 from pchote/widget-moddata
...
Remove Game.ModData references from Widget code.
2016-02-25 22:18:18 +01:00
Oliver Brakmann
07ec56fd22
Merge pull request #10821 from obrakmann/pr10559-squashed
...
Added mousewheel zooming
2016-02-24 22:37:00 +01:00
Philipp Schärer
ea74499ec2
Added mousewheel zooming
2016-02-24 22:22:32 +01:00
Paul Chote
a6c4eb330a
Remove modRules widget logic argument.
2016-02-23 23:34:36 +00:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Paul Chote
4ba78f65b9
Add Dispose support to widget logic objects.
2015-10-17 22:13:22 +01:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
Matthias Mailänder
987fdab042
unhardcode the chrome definition keys
2015-08-05 21:19:09 +02:00
Paul Chote
de4fbfd47a
Reset tooltips when dismissing a DropDownButtonWidget.
2015-08-05 09:11:19 +01:00
deniz1a
53329b7068
Makes dropdown menus auto-scroll to selected item.
2015-08-02 23:27:54 +03:00
penev92
c93c0488c3
Change DropDownButtonWidget separator to an image
2015-06-15 03:15:19 +03:00
Paul Chote
e5c03413cc
Move common widgets from Game to Mods.Common.
2015-03-21 11:53:53 +00:00