summaryrefslogtreecommitdiff
path: root/src/testWidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testWidget.c')
-rw-r--r--src/testWidget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testWidget.c b/src/testWidget.c
index a8eaf8e..24f89a0 100644
--- a/src/testWidget.c
+++ b/src/testWidget.c
@@ -10,6 +10,8 @@ int init (BDMWidget * widget)
texts = malloc(sizeof(BDMText));
mywidget = widget;
+ images->attrib = malloc(sizeof(BDMPaintAttribs));
+
images->attrib->x = 100;
images->attrib->y = 100;
images->attrib->alpha = 1.0f;
@@ -56,4 +58,4 @@ BDMText * getTexts(void)
int handleEvent(BDMEvent * event)
{
return 1;
-} \ No newline at end of file
+}