aboutsummaryrefslogtreecommitdiff
path: root/tests/render_test.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-01-27 19:40:12 +0100
committerThomas White <taw@bitwiz.org.uk>2013-01-27 19:40:12 +0100
commitbdd8fab8bc3482c5629619ae3d89018c39e2a263 (patch)
tree5bbabdaa4c1eccbd5adf3ba1d16750a2a46f29b9 /tests/render_test.c
parent6b115264f47f86a61c7e2f38d7621a1d3f30c7a3 (diff)
Back to basics..
Diffstat (limited to 'tests/render_test.c')
-rw-r--r--tests/render_test.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/render_test.c b/tests/render_test.c
index 1d667a7..5fbb29d 100644
--- a/tests/render_test.c
+++ b/tests/render_test.c
@@ -87,6 +87,10 @@ int main(int argc, char *argv[])
sty1->lop.margin_r = 0.0;
sty1->lop.margin_t = 0.0;
sty1->lop.margin_b = 0.0;
+ sty1->lop.x = 0.0;
+ sty1->lop.y = 0.0;
+ sty1->lop.w = 100.0;
+ sty1->lop.h = 100.0;
sty1->name = strdup("Default");
sty2 = calloc(1, sizeof(struct style));
@@ -98,7 +102,10 @@ int main(int argc, char *argv[])
sty2->lop.margin_r = 5.0;
sty2->lop.margin_t = 5.0;
sty2->lop.margin_b = 5.0;
- sty2->lop.grav = DIR_UL;
+ sty2->lop.x = 0.0;
+ sty2->lop.y = 0.0;
+ sty2->lop.w = 100.0;
+ sty2->lop.h = 100.0;
sty2->name = strdup("Text frame");
fr2 = calloc(1, sizeof(struct frame));