56a4833a49
further panel performance improvements
2023-11-11 13:09:34 +01:00
a233477b1e
cleaned up element ui addition order ( 0fab7fe
)
2023-11-11 12:15:21 +01:00
0fab7fe859
Don't unnecessarily set areas dirty when removing a root element from the ui
2023-11-11 12:06:28 +01:00
0293ea435e
Added UiControls.NavType, which stores the most recently used type of ui navigation
2023-11-08 10:31:36 +01:00
2463c27a5d
Remove all elements from a UiSystem when it is disposed
2023-05-22 11:29:41 +02:00
eb8a8568e1
Some ui system improvements
...
- Allow initializing a ui system's text formatter without default codes and macros
- Fixed UiStyle.LinkColor not being applied to the ui system when changed
2023-01-08 11:21:20 +01:00
14d0b24aa9
cleaned up preprocessor instructions
2022-12-13 13:11:36 +01:00
e5cfebef3b
cleaned up element addition/removal code
2022-11-24 19:46:20 +01:00
d0c805cf18
Fixed Element.OnChildAdded and Element.OnChildRemoved being called for grandchildren when a child is added
2022-09-13 15:44:12 +02:00
55735b4c64
Added Element.OnAddedToUi and Element.OnRemovedFromUi
2022-09-13 14:27:49 +02:00
0a696941dc
cleaned up code
2022-08-20 11:39:28 +02:00
08e28cb95b
Allow manually setting a RootElement as CanBeActive
2022-07-18 15:53:26 +02:00
42a87471fc
fixed UiSystem AutoScaleReferenceSize default value
2022-06-24 15:21:08 +02:00
5d7d238630
added MLEM.FNA
2022-06-24 14:01:26 +02:00
aabb1ed5df
added .editorconfig
2022-06-17 18:23:47 +02:00
6393d879d9
added SpriteBatchContext
2022-04-25 15:25:58 +02:00
94dec34470
render panel's render target in the Draw method
2022-03-26 21:13:05 +01:00
6a3c797eba
Fixed UiMetrics.ForceAreaUpdateTime being inaccurate for nested elements
2022-03-26 20:06:59 +01:00
4aff5a2875
Fixed RootElement.CanSelectContent returning incorrect results when CanBeSelected changes in children
2022-03-17 20:36:30 +01:00
d5ec0b8001
Allow setting a default color for clickable links in UiStyle
2022-03-07 12:00:33 +01:00
ad2784a67e
Automatically update all elements when changing a ui system's viewport
2022-02-06 21:16:35 +01:00
c880c3e011
Update elements less aggressively when changing a ui system's style
2022-01-30 16:56:07 +01:00
a143aef67c
Revert scissor rectangle change since it doesn't support panels with complex transformations
...
Revert "Use a scissor rectangle for panels in favor of a render target, and marked UiSystem.DrawEarly and Element.DrawEarly as obsolete"
This reverts commit 3c4567e4a1
.
Revert "cleaned up DrawEarly documentation references"
This reverts commit dc6c472b84
.
2022-01-30 16:35:10 +01:00
dc6c472b84
cleaned up DrawEarly documentation references
2022-01-30 12:20:32 +01:00
3c4567e4a1
Use a scissor rectangle for panels in favor of a render target, and marked UiSystem.DrawEarly and Element.DrawEarly as obsolete
2022-01-30 01:13:59 +01:00
faa400c4e6
Added Element.OnStyleInit event
2022-01-22 23:05:29 +01:00
29bbd61f8b
reformat and cleanup
2021-12-28 14:56:11 +01:00
60dfbb1ec5
Added UiMetrics
2021-12-12 12:32:09 +01:00
28a928ec2c
Revert "Added PreventSiblingSpill to Element"
...
This reverts commit 3c74cc4845
.
2021-12-11 01:04:35 +01:00
3c74cc4845
Added PreventSiblingSpill to Element
2021-12-11 00:36:50 +01:00
53b93a34f8
Made TextFormatter string size based on the currently active font and added a formatting code to allow for inline font changes
2021-11-27 22:45:37 +01:00
84e2544dc8
Allow setting a custom effect and depth stencil state for ui drawing
2021-11-22 17:42:08 +01:00
ae559adf26
remove "see href" from xml docs since some IDEs can't display that
2021-11-06 23:42:23 +01:00
abac738123
Removed LINQ Any and All usage in various methods to improve memory usage
2021-07-18 22:18:46 +02:00
cca02b5396
organized UiSystem constructor
2021-06-09 00:37:44 +02:00
a02334a34c
turned some non-event events into events and added Disposing event to ui elements
2021-06-09 00:27:50 +02:00
2cc77f42cd
added events for when a root element is added or removed from a ui
2021-06-08 21:36:42 +02:00
b48ed479a0
streamlined TextInputWrapper into MlemPlatform and included link opening
2021-04-23 00:17:46 +02:00
e6243b831c
remove unnecessary references to GraphicsDevice from UiSystem
2021-03-29 02:26:44 +02:00
28eafffa32
allow setting a custom viewport for ui systems
2021-03-29 02:15:17 +02:00
01b6168259
fixed the input handler querying input when the window is inactive
2021-02-18 18:36:29 +01:00
106102adf6
clean up unused using statements
2020-12-14 21:51:27 +01:00
028e322d2f
ensure opening links in uis works correctly on .net core
2020-11-25 18:41:53 +01:00
aaeda825e0
fixed some documentation issues
2020-10-06 20:14:57 +02:00
Ellpeck
02cd074a3c
cleaned up changes from f1d686f0c0
2020-07-16 15:55:55 +02:00
Ellpeck
f1d686f0c0
move CustomDrawGroup behavior into Element, allowing any element to inherit it
2020-07-15 23:21:52 +02:00
Ellpeck
ca4c8731bc
only throw an exception in TextInputWrapper if it is required
2020-06-24 16:54:23 +02:00
Ellpeck
096131ce15
Drop SoundEffectInstance (mis)usage in favor of new SoundEffectInfo
2020-06-22 13:59:33 +02:00
Ellpeck
deec553b22
code cleanup
2020-06-18 17:24:35 +02:00
Ellpeck
f2c544dc65
modified link behavior for paragraphs to be easier to modify
2020-06-09 18:56:01 +02:00