1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-10 16:49:09 +01:00
Commit graph

36 commits

Author SHA1 Message Date
Ell
ca89d03ca4 Some more ui style improvements 2021-10-30 15:33:38 +02:00
Ell
0809cd0218 Added style properties for a lot of hardcoded default element styles 2021-10-29 23:33:15 +02:00
Ell
9890c4895c Fixed tooltips not displaying correctly with auto-hiding paragraphs 2021-09-09 16:53:12 +02:00
Ell
bb9b322580 Fixed tooltips with custom text scale not snapping to the mouse correctly in their first displayed frame 2021-07-22 04:27:57 +02:00
Ell
1067055bb5 code cleanup 2021-07-19 23:49:16 +02:00
Ell
abac738123 Removed LINQ Any and All usage in various methods to improve memory usage 2021-07-18 22:18:46 +02:00
Ell
28eafffa32 allow setting a custom viewport for ui systems 2021-03-29 02:15:17 +02:00
Ell
602f19a2a8 some minor code style and format improvements 2021-03-24 22:44:39 +01:00
Ell
7619ac0dcf added an extension method for adding tooltip for elements 2021-02-18 04:16:17 +01:00
Ell
fc9b93b129 Fixed a NRE with tooltips 2021-01-20 06:41:52 +01:00
Ell
e783f4f769 added a Tooltip constructor that uses TextCallback for the paragraph 2021-01-11 00:09:29 +01:00
Ell
b963941b5c added methods for adding/removing tooltips easily 2020-12-05 22:42:10 +01:00
Ell
56db897c00 allow tooltips to appear later 2020-12-05 16:42:21 +01:00
Ell
c4114c73f8 fixed tooltip distance from the mouse changing with scale 2020-11-17 21:05:48 +01:00
Ell
1a2fc814aa initialize the tooltip color to white 2020-10-31 17:55:46 +01:00
Ell
e7f2c8eca4 added a separate style property for tooltip text color 2020-10-31 17:42:39 +01:00
Ell
eeedb0ae5c also don't display the tooltip if all o its children are hidden 2020-09-18 18:19:05 +02:00
Ell
fde243ed8b only display the tooltip if there is anything in it 2020-09-18 18:11:46 +02:00
Ellpeck
deec553b22 code cleanup 2020-06-18 17:24:35 +02:00
Ellpeck
f12284169e full xml documentation for MLEM.Ui 2020-05-22 17:02:24 +02: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
43b665642d made tooltips be panels and remove the weird paragraph background thing 2019-12-31 14:08:13 +01:00
Ellpeck
bbdb424cbe made all groups update their areas manually since they don't draw it 2019-12-29 15:25:33 +01:00
Ellpeck
31d805fc04 fixed elements sometimes not notifying their auto-adjusting parents 2019-12-29 15:18:49 +01:00
Ellpeck
73f9653ddc made tooltips groups so that more stuff can be added to them easily 2019-12-28 14:23:40 +01:00
Ellpeck
8d3afcf276 made CanSelectContent be set automatically by the root through adding more events 2019-12-08 21:49:15 +01:00
Ellpeck
ee35509f23 made ui styling a lot more user friendly 2019-10-14 21:28:12 +02:00
Ellpeck
36204e40cb turn some points into vectors for added precision 2019-09-26 22:16:21 +02:00
Ellpeck
e7c7a5bbc2 fixed tooltips removing themselves from a nonexistant system if an element gets removed 2019-09-15 02:21:42 +02:00
Ellpeck
353afdef6f started working on touch support for MLEM.Ui 2019-08-30 18:15:50 +02:00
Ellpeck
5c741a98e9 tabbing, part 1! 2019-08-28 18:27:17 +02:00
Ellpeck
cc66c453c5 more easily allow tooltips to show when hovering elements 2019-08-24 20:45:40 +02:00
Ellpeck
e1baacdb0d added text formatting 2019-08-24 00:07:54 +02:00
Ellpeck
5d8e010bad made tooltips not go off screen and fixed the ui system breaking clearing 2019-08-15 14:59:15 +02:00
Ellpeck
5d2f77e95c added a tooltip 2019-08-13 23:54:29 +02:00