diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-01-27 19:40:12 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-01-27 19:40:12 +0100 |
commit | bdd8fab8bc3482c5629619ae3d89018c39e2a263 (patch) | |
tree | 5bbabdaa4c1eccbd5adf3ba1d16750a2a46f29b9 /tests | |
parent | 6b115264f47f86a61c7e2f38d7621a1d3f30c7a3 (diff) |
Back to basics..
Diffstat (limited to 'tests')
-rw-r--r-- | tests/render_test.c | 9 | ||||
-rw-r--r-- | tests/render_test_sc1.c | 2 |
2 files changed, 8 insertions, 3 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)); diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c index 67e8e14..36f0690 100644 --- a/tests/render_test_sc1.c +++ b/tests/render_test_sc1.c @@ -87,7 +87,6 @@ int main(int argc, char *argv[]) sty->lop.margin_r = 0.0; sty->lop.margin_t = 0.0; sty->lop.margin_b = 0.0; - sty->lop.grav = DIR_UL; sty->name = strdup("Default"); sty2 = calloc(1, sizeof(struct style)); @@ -99,7 +98,6 @@ int main(int argc, char *argv[]) sty2->lop.margin_r = 20.0; sty2->lop.margin_t = 20.0; sty2->lop.margin_b = 20.0; - sty2->lop.grav = DIR_UL; sty2->name = strdup("Subframe1"); fr->style = sty; |