mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-07 23:29:54 +03:00
feat(ui): add CGTooltip::GetScriptMetaTable
This commit is contained in:
2 files changed
+7
No files matched your search
@@ -31,3 +31,7 @@ void CGTooltip::RegisterScriptMethods(lua_State* L) {
|
||||
CGTooltip::CGTooltip(CSimpleFrame* parent) : CSimpleFrame(parent) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
int32_t CGTooltip::GetScriptMetaTable() {
|
||||
return CGTooltip::s_metatable;
|
||||
}
|
||||
@@ -18,6 +18,9 @@ class CGTooltip : public CSimpleFrame {
|
||||
// Member variables
|
||||
// TODO
|
||||
|
||||
// Virtual member functions
|
||||
virtual int32_t GetScriptMetaTable();
|
||||
|
||||
// Member functions
|
||||
CGTooltip(CSimpleFrame* parent);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user