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
Ellpeck
6b1e5f8dd9
better implementation of the touch mousing from yesterday
2020-06-04 20:52:21 +02:00
Ellpeck
81ed3d3bee
Revert "made elements also show their mouse over graphic when they're being touched"
...
This reverts commit d7f43617
2020-06-03 17:01:58 +02:00
Ellpeck
d7f43617c6
made elements also show their mouse over graphic when they're being touched
2020-06-03 15:58:08 +02:00
Ellpeck
b0309c9707
added ScaleOrigin to RootElement
2020-06-02 16:15:41 +02:00
Ellpeck
f12284169e
full xml documentation for MLEM.Ui
2020-05-22 17:02:24 +02:00
Ellpeck
b836b486a2
fixed style changes not forcing ui elements to update
2020-05-20 21:22:02 +02:00
Ellpeck
979dce510e
modify link regex to allow for no destination to be specified
2020-05-20 01:02:18 +02:00
Ellpeck
037ed43410
streamline ui text formatting and paragraph links
2020-05-17 00:10:29 +02:00
Ellpeck
c16c2ef693
fixed android screen sizes being incorrect
2020-04-19 14:04:44 +02:00
Ellpeck
5e3fdbb8ef
made controls independent of ui systems to allow for multiple controls for one ui
2020-03-17 15:04:36 +01:00
Ellpeck
e96b155f99
fixed selected element looking bad with smooth scrolling
2020-03-16 15:44:53 +01:00
Ellpeck
9df1b05bee
allow changing auto nav mode value
2020-03-16 15:33:25 +01:00
Ellpeck
08c4281da1
added a new text input system
2020-02-24 14:03:53 +01:00
Ellpeck
d823064979
added HasValue() to styleprop
2020-02-06 17:36:51 +01:00
Ellpeck
31e2b72197
organize ui stuff a bit better
2020-02-06 01:59:33 +01:00
Ellpeck
b3331834e1
I did not want to push this here
...
This reverts commit ee511137
2020-02-06 01:51:41 +01:00
Ellpeck
ee5111372b
part 1
2020-02-06 01:33:24 +01:00
Ellpeck
0904368151
Revert "changed text input style to work on all devices including web"
...
This reverts commit 053724e4
2020-02-01 21:16:10 +01:00
Ellpeck
053724e4f8
changed text input style to work on all devices including web
2020-02-01 20:50:42 +01:00