rendering engine : _on_change_layout() called when pos/size changed

git-svn-id: http://tint2.googlecode.com/svn/trunk@565 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-09-25 21:18:47 +00:00
parent 4d2def5633
commit 60590bf1ac
7 changed files with 79 additions and 54 deletions

View File

@@ -85,8 +85,9 @@ typedef struct {
// update area's content and update size (width/heith).
// return '1' if size changed, '0' otherwise.
int (*_resize)(void *obj);
void (*_add_child)(void *obj);
int (*_remove_child)(void *obj);
// after pos/size changed, the rendering engine will call _on_change_layout(Area*)
int on_changed;
void (*_on_change_layout)(void *obj);
const char* (*_get_tooltip_text)(void *obj);
} Area;