Paul Chote
67254e0b39
Rename Fluent *GetString methods to GetMessage.
2024-11-03 16:52:47 +02:00
Paul Chote
b29b685058
Rename Fluent-related code to be more precise.
2024-10-04 15:11:27 +03:00
Matthias Mailänder
4e5556dccc
Expose player names to localization.
2024-08-05 12:55:59 +03:00
Matthias Mailänder
b8756c4737
Move CachedTransform to OpenRA.Primitives.
2024-08-03 11:56:43 +03:00
RoosterDragon
0649f3dc32
RCS0056 - roslynator_max_line_length = 160
2024-07-29 21:56:36 +02:00
RoosterDragon
023d80b94d
Fix IDE0057
2023-04-08 16:51:51 +03:00
RoosterDragon
10def52ad9
Fix IDE0033
2023-02-24 22:00:25 +02:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
Paul Chote
2ba52f1b94
Implement state prediction for lobby checkboxes.
2022-12-23 16:33:21 +02:00
Gustas
c041ea7d39
Crash on image/panel not found and add TryGet functions for searching
2022-10-20 19:28:02 +02:00
Gustas
686f158117
Refactor BindButtonIcon
2022-10-19 18:26:24 +02:00
Gustas
ba763ac0f0
Add highlighted state to GetCachedStatefulImage
2022-10-01 16:52:04 +03:00
Gustas
08dbfe0cbd
Refactor ScrollItemWidget to use stateful image names
2022-08-29 13:45:38 +03:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Ivaylo Draganov
9e92340ea7
Rework chat line templates and logic
...
- Extract chat line templates and logic so they can be reused across widgets
- Make text notification styling entirely template driven (by removing chat color configuration and making color optional for `TextNotification`)
- Add a new TextNotificationsDisplay widget (based on and replacing ChatDisplayWidget)
- Add timestamp support to text notifications
2021-10-29 20:55:41 +02:00
Paul Chote
70892a6661
Change DrawSprite calls to provide scales instead of sizes.
...
This allows us to remove a hacky workaround for calculating
depth offsets when sprites have size.Z == 0.
2021-07-25 00:32:17 +02:00
Paul Chote
8e94e1d5ec
Rework WidgetUtil sprite rendering helpers.
2021-07-25 00:32:17 +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
Ivaylo Draganov
9fa5dcc055
Remove unused method in WidgetUtils
2021-06-11 10:16:34 -05:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Ivaylo Draganov
39ccac4022
Refactor command bar buttons to use unified widget state names
2020-07-05 11:50:45 +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
Ivaylo Draganov
31a965b29a
Add suffix to player name in shroud selector
2020-06-06 14:40:48 +01:00
Ivaylo Draganov
7a213338a2
Add helper method to add suffix to player name label
2020-06-06 14:40:48 +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
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
f3d7bf403e
Rework chrome.yaml format and panel rendering.
2019-12-28 19:15:36 +01:00
Ivaylo Draganov
86c8dfe96e
Add a tooltip text to overflowing ButtonWidget in hotkey settings panel
2019-07-20 17:39:07 +02:00
Ivaylo Draganov
1fee50be2e
Add TruncateLabelWithTooltip helper function
...
* Move GetContrastColor helper to SpriteFont
* Move WidgetUtils from OpenRA.Game.Widgets to OpenRA.Mods.Common.Widgets
2019-05-27 17:28:47 +02:00