Commit Graph

72 Commits (8cf431aeb2b80907e25d941ee6078da0236720e7)

Author SHA1 Message Date
Petr Mikheev c362b2efa6 Use LuaUtil::cast for casting sol::object to prevent crashing on type mismatch in Lua scripts. 2 years ago
uramer 38bceb653d Set Element layout to nil on destroy 2 years ago
Petr Mikheev eceeb15ee5 Fix bug in lua_ui/content.lua: getmetatable(ui.content{}) shouldn't return a global mutable table 2 years ago
Petr Mikheev 65885d994f Don't expose LuaUtil::Callback to lua 2 years ago
Petr Mikheev 71ba7b88e2 Move asyncpackage from apps/openmw/mwlua to components/lua 2 years ago
elsid c79c14da91
Fix -Wnon-virtual-dtor warnings 2 years ago
uramer e96681151c Get rid of the LuaUI::Content namespace 2 years ago
uramer d24c506b0e Move metatable protection asserts to tests 2 years ago
uramer 2a35bae655 Use range_error for invalid indexes 2 years ago
uramer fb0646dda1 Remove Ui Content counter in Lua profiler 2 years ago
uramer bbbef96087 Switch to loadInternalLib 2 years ago
uramer c7b0c0a406 Protecd UI Content's metatable 2 years ago
uramer 259f104311 Clean up 2 years ago
uramer 749c89e26e Add missing to_string 2 years ago
uramer 3618b3f409 Fix Content::View::remove 2 years ago
uramer fc1430af95 Move implementation of UI Content to Lua 2 years ago
Petr Mikheev d9e9db0983 Additional information in Lua profiler 2 years ago
elsid 843753da14
Remove unused includes 2 years ago
elsid 063fff7fa4
Fix and prevent -Wextra-semi warning 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
elsid cc8c7002ea
Cleanup components includes 2 years ago
elsid f99ed6f1db
Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
2 years ago
Andrei Kortunov 7cce341822 Fix initializer 3 years ago
Andrei Kortunov aa349f2ed9 Initialize some missing variables 3 years ago
uramer 591fa9b700 Add missing workaround for a MyGUI visibility bug 3 years ago
uramer 6d2dcaea50 Lua UI: Enable autoSize for single line text edit 3 years ago
uramer 6c9c832927 Lua UI: Support autosized multiline text 3 years ago
jvoisin 0cc304e659 Clean up MyGUI includes
This should improve incremental compilation.
3 years ago
uramer 9042f47f0a Use an anonymous namespace in element.cpp 3 years ago
uramer 5d7fc0ab17 Limit maximum Lua UI layout depth to prevent stack overflow 3 years ago
Petr Mikheev d16fa553c8 Fix LuaUtil::Callback 3 years ago
uramer 1766f89c4d Fix a typo 3 years ago
uramer 52d05be04b Styling for Settings 3 years ago
uramer e92c88a133 Make the documentation clearer, match the documentation when no buttons are pressed for an event 3 years ago
uramer 1f5e3b78d4 Use Flex, don't force re-renders on layout table changes 3 years ago
uramer aea2c019de Fix content names for layouts inserted with :add() 3 years ago
uramer 03659bef86 MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594) 3 years ago
uramer 02bbd226b8 Less primary/secondary coordinate boilerplate in Flex 3 years ago
uramer 3c74a20335 Refactor horizontal/vertical cases in Flex 3 years ago
uramer 788745e004 Make coordinate calculation more robust, implement Flex widget type 3 years ago
Petr Mikheev fbc84465c5 Merge branch 'futureproof_layers' into 'master'
Add layer size, make layers API more flexible

See merge request OpenMW/openmw!1724
3 years ago
uramer 5d1fe6c2bc Add layer size, make layers API more flexible 3 years ago
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
3 years ago
Cody Glassman b3e0275e89 Lua UI API: Let image manager handle missing textures 3 years ago
glassmancody.info 26c7e308ed mygui bindings for color and alpha 3 years ago
uramer 8e81b6c645 Fix updating UI image resource 3 years ago
uramer 36c46ada6f Pass unhandled Lua UI events to the parent 3 years ago
uramer 67879bac55 MR feedack 3 years ago
uramer a7bb87d8a1 Use StringUtils::format 3 years ago
uramer e7ed709e5e Fix Lua TextEdit skin 3 years ago