Commit Graph

46 Commits

Author SHA1 Message Date
uramer 6c9c832927 Lua UI: Support autosized multiline text 2022-06-06 21:52:55 +00:00
jvoisin 0cc304e659 Clean up MyGUI includes
This should improve incremental compilation.
2022-06-04 15:26:36 +02:00
uramer 9042f47f0a Use an anonymous namespace in element.cpp 2022-05-19 16:10:49 +02:00
uramer 5d7fc0ab17 Limit maximum Lua UI layout depth to prevent stack overflow 2022-05-19 16:10:05 +02:00
Petr Mikheev d16fa553c8 Fix LuaUtil::Callback 2022-05-15 21:34:48 +02:00
uramer 1766f89c4d Fix a typo 2022-05-14 16:55:11 +02:00
uramer 52d05be04b Styling for Settings 2022-05-14 10:27:30 +00:00
uramer e92c88a133 Make the documentation clearer, match the documentation when no buttons are pressed for an event 2022-05-10 20:00:42 +02:00
uramer 1f5e3b78d4 Use Flex, don't force re-renders on layout table changes 2022-05-08 11:15:17 +02:00
uramer aea2c019de Fix content names for layouts inserted with :add() 2022-05-08 11:15:16 +02:00
uramer 03659bef86 MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594) 2022-05-03 17:36:49 +00:00
uramer 02bbd226b8 Less primary/secondary coordinate boilerplate in Flex 2022-04-06 23:36:44 +02:00
uramer 3c74a20335 Refactor horizontal/vertical cases in Flex 2022-04-05 17:51:04 +02:00
uramer 788745e004 Make coordinate calculation more robust, implement Flex widget type 2022-04-04 23:10:03 +02:00
Petr Mikheev fbc84465c5 Merge branch 'futureproof_layers' into 'master'
Add layer size, make layers API more flexible

See merge request OpenMW/openmw!1724
2022-03-29 20:11:11 +00:00
uramer 5d1fe6c2bc Add layer size, make layers API more flexible 2022-03-23 15:04:49 +01:00
psi29a d2f2393de8 Merge branch 'opacity_color_bindings' into 'master'
Bindings for image color and widget alpha (#6654)

Closes #6654

See merge request OpenMW/openmw!1723
2022-03-23 08:32:15 +00:00
Cody Glassman b3e0275e89 Lua UI API: Let image manager handle missing textures 2022-03-22 05:41:26 +00:00
glassmancody.info 26c7e308ed mygui bindings for color and alpha 2022-03-21 22:00:32 -07:00
uramer 8e81b6c645 Fix updating UI image resource 2022-03-19 21:26:02 +01:00
uramer 36c46ada6f Pass unhandled Lua UI events to the parent 2022-03-14 19:07:23 +00:00
uramer 67879bac55 MR feedack 2022-02-26 17:01:46 +01:00
uramer a7bb87d8a1 Use StringUtils::format 2022-02-25 18:18:27 +01:00
uramer e7ed709e5e Fix Lua TextEdit skin 2022-02-25 18:18:26 +01:00
uramer fc50724f5c Render text and images correctly in templates with slots 2022-02-25 18:18:26 +01:00
uramer e092ee2624 Document the Lua Image widget, add UI texture resources 2022-02-25 18:18:26 +01:00
uramer 581c3f4882 Update and document Lua Text and TextEdit widget types, fix some issues with Lua UI 2022-02-06 20:22:38 +00:00
uramer ef1e72dc17 Revert from settings description to searchHints 2022-02-01 19:50:03 +01:00
uramer 7f796d148e Clean up 2022-02-01 19:50:03 +01:00
uramer 67641dcdb7 Fix compile errors 2022-02-01 19:50:03 +01:00
uramer f07f05ddd3 Add Container widget type, use it to make Adapter code less hacky 2022-02-01 19:50:03 +01:00
uramer 086a7d9bc5 Wrap Lua settings widgets into an Adapter widget 2022-02-01 19:50:03 +01:00
uramer 1455aa3e02 Allow changing script settings pages after registering them 2022-02-01 19:50:02 +01:00
uramer 5f7ab49880 Implement script setting pages' descriptions 2022-02-01 19:50:02 +01:00
uramer a005f25c4b Use page terminology for script settings 2022-02-01 19:50:02 +01:00
uramer e78b8402fa Fix warnings 2022-02-01 19:50:02 +01:00
uramer a972a54ea9 Allow changing element root widget type, prevent use after free in script settings 2022-02-01 19:50:02 +01:00
uramer fba82eb1a7 Script settings tab 2022-02-01 19:50:02 +01:00
uramer 960dd1f708 Lua UI templates 2022-01-28 09:31:45 +00:00
uramer cc528d2e08 Dispose Lua UI elements correctly 2022-01-18 08:12:56 +00:00
uramer c865114b9b Lua UI Layers 2021-12-14 17:38:06 +00:00
uramer 15c7bddd57 Move SDL-MyGUI input mappings to components, map both ways 2021-12-04 12:16:38 +00:00
uramer e65c946452 Add a data field to Lua UI layouts 2021-12-02 21:52:29 +00:00
uramer e9f8c34372 Correctly set UI properties to defaults when passed nil 2021-11-28 11:31:34 +00:00
uramer eceed558be Fix coverity uninitialized variables 2021-11-19 18:05:43 +01:00
uramer 68963538ae Lua UI API 2021-11-18 15:19:54 +00:00