Added zone.absx and zone.absy to give position of a Lua widget on the screen

This commit is contained in:
jfrickmann
2021-11-27 18:18:44 +10:00
committed by Peter Feerick
parent da36a56dff
commit d4b8717575
+2
View File
@@ -342,6 +342,8 @@ class LuaWidgetFactory: public WidgetFactory
l_pushtableint("y", 0);
l_pushtableint("w", rect.w);
l_pushtableint("h", rect.h);
l_pushtableint("xabs", rect.x);
l_pushtableint("yabs", rect.y);
lua_newtable(lsWidgets);
int i = 0;