Added zone.absx and zone.absy to give position of a Lua widget on the screen
This commit is contained in:
committed by
Peter Feerick
parent
da36a56dff
commit
d4b8717575
@@ -342,6 +342,8 @@ class LuaWidgetFactory: public WidgetFactory
|
|||||||
l_pushtableint("y", 0);
|
l_pushtableint("y", 0);
|
||||||
l_pushtableint("w", rect.w);
|
l_pushtableint("w", rect.w);
|
||||||
l_pushtableint("h", rect.h);
|
l_pushtableint("h", rect.h);
|
||||||
|
l_pushtableint("xabs", rect.x);
|
||||||
|
l_pushtableint("yabs", rect.y);
|
||||||
|
|
||||||
lua_newtable(lsWidgets);
|
lua_newtable(lsWidgets);
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user