677230ce28
Moved extension methods into matching namespaces to avoid unexpected suggestions
2024-07-19 20:02:28 +02:00
764b29e120
Text input improvements:
...
- Allow using control and arrow keys to move the visible area of a text input
- Don't reset the caret position of a text field when selecting or deselecting it
2023-12-02 19:28:59 +01:00
04050b9144
Added TextField.EnterReceiver
2023-06-21 00:10:52 +02:00
230f2e954c
Fixed TextInput and Slider still reacting to input when they are selected, but not part of the active root
2023-04-24 11:15:16 +02:00
73abfb2dc3
Added TextField.OnCopyPasteException to allow handling exceptions thrown by TextCopy
2022-12-22 11:39:07 +01:00
14d0b24aa9
cleaned up preprocessor instructions
2022-12-13 13:11:36 +01:00
48735c3d36
Multi-target net452, making MLEM compatible with MonoGame for consoles
2022-09-14 21:17:43 +02:00
0a696941dc
cleaned up code
2022-08-20 11:39:28 +02:00
5fcdda80dc
fixed multiline text inputs not working on FNA
2022-06-24 14:10:24 +02:00
5d7d238630
added MLEM.FNA
2022-06-24 14:01:26 +02:00
aff61508c4
Added TextInput class, which is an isolated version of MLEM.Ui's TextField logic
2022-06-19 18:17:46 +02:00
aabb1ed5df
added .editorconfig
2022-06-17 18:23:47 +02:00
59af00c89a
Code cleanup, and marked AStar.InfiniteCost as obsolete
2022-06-15 11:38:11 +02:00
bc0f9d5c0c
consume other UI inputs too
2022-04-30 12:26:40 +02:00
6393d879d9
added SpriteBatchContext
2022-04-25 15:25:58 +02:00
c060d78010
put StringBuilder overloads to use
2021-12-22 13:03:40 +01:00
dae511e455
Made StyleProp immutable
2021-12-21 11:54:32 +01:00
3541b8d3e1
Automatically set area dirty when changing child padding or paragraph fonts
2021-12-21 00:01:57 +01:00
84e2544dc8
Allow setting a custom effect and depth stencil state for ui drawing
2021-11-22 17:42:08 +01:00
0809cd0218
Added style properties for a lot of hardcoded default element styles
2021-10-29 23:33:15 +02:00
45f970e0f2
added vertical movement to multiline text fields
2021-10-13 17:13:56 +02:00
5f2eb1845f
Fixed text not being pasted into a text field at all if it contains characters that don't match the input rule
2021-10-12 19:58:31 +02:00
a47318c0a2
improved text field multi line handling
2021-10-12 18:28:06 +02:00
1d462b0252
fixed some multiline editing issues
2021-10-12 02:46:24 +02:00
11dd939009
Added a multiline editing mode to TextField
2021-10-12 02:16:09 +02:00
8f5d3083b5
Allow specifying a maximum amount of characters for a TextField
2021-10-11 23:35:50 +02:00
1067055bb5
code cleanup
2021-07-19 23:49:16 +02:00
abac738123
Removed LINQ Any and All usage in various methods to improve memory usage
2021-07-18 22:18:46 +02:00
bb189261d7
Added a masking character to text fields
2021-07-08 18:17:39 +02:00
b48ed479a0
streamlined TextInputWrapper into MlemPlatform and included link opening
2021-04-23 00:17:46 +02:00
338cf383f4
removed RequiresOnScreenKeyboard
2021-04-22 19:40:14 +02:00
cf9bcc7ae4
updated to MonoGame 8 and added support for opening the on-screen keyboard to TextInputWrapper
2021-04-22 19:26:07 +02:00
2055c3a6ef
convert tests to use graphics
2021-04-02 17:12:27 +02:00
e7fd026a33
added some UI tests
2021-04-01 19:36:56 +02:00
3384f48623
fixed up android demo, updated some dependencies and added icons to templates
2021-03-14 01:03:17 +01:00
8b29903444
Replace ImageCode and TextField character ToString usage with ToCachedString for memory performace
2020-09-28 20:43:37 +02:00
7e89efec69
added text field input rules for file and path names
2020-09-13 18:05:55 +02:00
Ellpeck
ca4c8731bc
only throw an exception in TextInputWrapper if it is required
2020-06-24 16:54:23 +02:00
Ellpeck
90e0ff55d1
use a custom character for image codes rather than trying to calculate spaces
2020-06-20 01:18:27 +02:00
Ellpeck
0ad3b2a305
Downgrade TextCopy since the new version causes issues on some devices
2020-06-16 22:48:13 +02:00
Ellpeck
0ea22435c2
updated dependencies
2020-06-13 03:19:20 +02:00
Ellpeck
f12284169e
full xml documentation for MLEM.Ui
2020-05-22 17:02:24 +02:00
Ellpeck
80f36c78bd
a lot of font cleanup
2020-03-28 22:25:06 +01:00
Ellpeck
df418c2087
made the text field caret an actual caret finally
2020-03-19 03:27:21 +01:00
Ellpeck
c92e4e0fd1
fixed text field crash when pasting an empty clipboard
2020-03-02 09:40:07 +01:00
Ellpeck
ae0fc22de3
added text copying and pasting to mlem.ui
2020-02-27 17:51:44 +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
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