mirror of
https://github.com/edubart/otclient.git
synced 2025-10-21 23:05:54 +02:00
doc and luabinder changes
This commit is contained in:
@@ -58,6 +58,7 @@ private:
|
||||
bool m_updated;
|
||||
};
|
||||
|
||||
// @bindclass
|
||||
class UIAnchorLayout : public UILayout
|
||||
{
|
||||
public:
|
||||
|
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "uilayout.h"
|
||||
|
||||
// @bindclass
|
||||
class UIBoxLayout : public UILayout
|
||||
{
|
||||
public:
|
||||
|
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <framework/ui/uilayout.h>
|
||||
|
||||
// @bindclass
|
||||
class UIGridLayout : public UILayout
|
||||
{
|
||||
public:
|
||||
|
@@ -27,6 +27,7 @@
|
||||
#include <framework/luascript/luaobject.h>
|
||||
#include <framework/otml/otml.h>
|
||||
|
||||
// @bindclass
|
||||
class UILayout : public LuaObject
|
||||
{
|
||||
public:
|
||||
|
@@ -27,6 +27,7 @@
|
||||
#include <framework/core/inputevent.h>
|
||||
#include <framework/otml/declarations.h>
|
||||
|
||||
//@bindsingleton g_ui
|
||||
class UIManager
|
||||
{
|
||||
public:
|
||||
|
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "uiwidget.h"
|
||||
|
||||
// @bindclass
|
||||
class UITextEdit : public UIWidget
|
||||
{
|
||||
public:
|
||||
|
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "uiboxlayout.h"
|
||||
|
||||
// @bindclass
|
||||
class UIVerticalLayout : public UIBoxLayout
|
||||
{
|
||||
public:
|
||||
|
@@ -41,9 +41,7 @@ struct EdgeGroup {
|
||||
T left;
|
||||
};
|
||||
|
||||
// generate lua bindings for this class running:
|
||||
// ./tools/lua-binding-generator/generate_lua_bindings.lua src/framework/ui/uiwidget.h
|
||||
|
||||
// @bindclass
|
||||
class UIWidget : public LuaObject
|
||||
{
|
||||
// widget core
|
||||
|
Reference in New Issue
Block a user