Implement part of LdLuaSymbol.

The "new" method requires to be passed a parameter that
makes it possible to call the appropriate render function.

Stub-plemented the "draw" method.
This commit is contained in:
2010-09-29 09:13:26 +02:00
parent 9fc354e066
commit 0c9b297e50
5 changed files with 41 additions and 14 deletions

View File

@@ -33,7 +33,6 @@ typedef struct _LdLuaSymbolClass LdLuaSymbolClass;
/**
* LdLuaSymbol:
* @name: The name of this symbol.
*/
struct _LdLuaSymbol
{
@@ -54,7 +53,7 @@ struct _LdLuaSymbolClass
GType ld_lua_symbol_get_type (void) G_GNUC_CONST;
LdSymbol *ld_lua_symbol_new (LdSymbolCategory *parent, LdLua *lua);
LdSymbol *ld_lua_symbol_new (LdLua *lua, const gchar *ident);
G_END_DECLS