mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
CLuaInstance: Add various CComponentsText fuctions
- Added: new, paint, hide, scroll
This commit is contained in:
@@ -134,6 +134,14 @@ class CLuaSignalBox
|
||||
~CLuaSignalBox() { delete s; }
|
||||
};
|
||||
|
||||
class CLuaComponentsText
|
||||
{
|
||||
public:
|
||||
CComponentsText *ct;
|
||||
CLuaComponentsText() { ct = NULL; }
|
||||
~CLuaComponentsText() { delete ct; }
|
||||
};
|
||||
|
||||
|
||||
/* inspired by Steve Kemp http://www.steve.org.uk/ */
|
||||
class CLuaInstance
|
||||
@@ -198,6 +206,14 @@ private:
|
||||
static int SignalBoxPaint(lua_State *L);
|
||||
static int SignalBoxDelete(lua_State *L);
|
||||
|
||||
static CLuaComponentsText *ComponentsTextCheck(lua_State *L, int n);
|
||||
static void ComponentsTextRegister(lua_State *L);
|
||||
static int ComponentsTextNew(lua_State *L);
|
||||
static int ComponentsTextPaint(lua_State *L);
|
||||
static int ComponentsTextHide(lua_State *L);
|
||||
static int ComponentsTextScroll(lua_State *L);
|
||||
static int ComponentsTextDelete(lua_State *L);
|
||||
|
||||
static bool tableLookup(lua_State*, const char*, std::string&);
|
||||
static bool tableLookup(lua_State*, const char*, int&);
|
||||
};
|
||||
|
Reference in New Issue
Block a user