abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Ivaylo Draganov
eb4de47362
Add support for disabled click sound in scrollbar widget
2022-01-05 21:15:19 +01:00
Paul Chote
8e94e1d5ec
Rework WidgetUtil sprite rendering helpers.
2021-07-25 00:32:17 +02:00
Ivaylo Draganov
cbdf6c3747
Add faction suffix support to text fields and scroll panels
2021-07-06 10:13:43 +02:00
Ivaylo Draganov
ad4425d11e
Use cached transforms for images in widgets
2021-07-01 14:21:22 +01:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
d60c05eff3
Change to use pattern matching
2021-03-27 17:29:20 +01:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
teinarss
2cf6b74295
Refactoring on GetEventBounds in Widget
2020-09-01 17:56:12 +02: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
b2f7f67756
Fix and simplify ScrollPanelWidget thumb rect calculation.
2020-03-26 16:54:46 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
teinarss
f07fb57e98
Rework relative mouse events.
2019-06-27 23:34:16 +02:00
Paul Chote
dabc7ec8dd
Remove unnecessary this. references.
2019-06-08 13:19:27 +02:00
teinarss
b25d0694b8
Updated ScrollPanelWidget to handle Scrollbar alignment
2019-05-22 22:37:50 +01:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
Paul Chote
015316e909
Remove uses of state-mutating Rectangle.Offset and Intersect.
2019-03-04 18:26:42 +00:00
Paul Chote
0b641c20df
Remove unnecessary uses of System.Drawing primitives.
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
Paul Chote
d7c54d74ad
Evaluate smooth scrolling per-frame instead of per-tick.
2019-01-01 21:52:13 +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
Curtis Shmyr
33e1a6b2dd
Fix frame end task race condition in ScrollPanelWidget
2017-01-29 17:49:40 +00:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
67d6de91e3
Allow custom BorderWidths on ScrollPanelWidget.
2016-06-14 18:15:02 +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
Matthias Mailänder
fa4a177cd5
fix a NullReferenceException when the widget is unbound
2016-01-03 23:09:04 +01:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
deniz1a
a534290dc5
Removes spacing between dropdown menu items.
2015-08-22 03:51:07 +03:00
Paul Chote
710a32d1ce
Extract ScrollPanel tooltip workaround into common code.
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
Paul Chote
88221423b6
Only issue a MouseMove event if the scroll offset actually changed. Fixes #8098 .
2015-05-06 21:51:24 +01:00
Oliver Brakmann
536d80a7f3
Merge pull request #7917 from RoosterDragon/replay-browser-load-perf
...
Faster replay browser loading
2015-05-03 20:13:13 +02:00
Paul Chote
cd12dcc2ff
Update widget mouseover when scrolling panels.
2015-04-30 07:01:52 +12:00
RoosterDragon
087b407f46
Avoid ScrollPanelWidget drawing invisible child items.
...
If child items in a scroll panel will be outside the scissor area, then we can avoid drawing them at all. If a scroll panel has many items, this reduces to the draw cost closer to those visible in the panel, rather than costing for all the items.
2015-04-25 18:55:47 +01:00
Paul Chote
e5c03413cc
Move common widgets from Game to Mods.Common.
2015-03-21 11:53:53 +00:00