Redesign the library and related components.

This step is needed, since the current design is quite chaotic
and it would not be possible to finish the application.

There's still a lot to be done.

After this step, it's time to implement the rest of LdLua.
This commit is contained in:
2010-09-30 05:19:31 +02:00
parent 0c9b297e50
commit e0e63649dc
10 changed files with 138 additions and 84 deletions

View File

@@ -40,9 +40,6 @@ struct _LdSymbol
/*< private >*/
GObject parent_instance;
LdSymbolPrivate *priv;
/*< public >*/
gchar *name;
};
/**
@@ -60,13 +57,10 @@ struct _LdSymbolClass
GType ld_symbol_get_type (void) G_GNUC_CONST;
gchar *ld_symbol_build_identifier (LdSymbol *self);
void ld_symbol_draw (LdSymbol *self, cairo_t *cr);
/* TODO: An interface for symbol terminals etc. */
/* TODO: Store a pointer to the parent, probably as a property,
* using g_object_add_weak_pointer/remove_weak_pointer.
/* TODO: Interface for symbol terminals
* Interface + property for symbol name (will be used by _new)
*/