aboutsummaryrefslogtreecommitdiff
path: root/tests/render_test_sc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/render_test_sc1.c')
-rw-r--r--tests/render_test_sc1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c
index 36f0690..b24b33d 100644
--- a/tests/render_test_sc1.c
+++ b/tests/render_test_sc1.c
@@ -87,6 +87,14 @@ 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.x = 0.0;
+ sty->lop.y = 0.0;
+ sty->lop.w = 200.0;
+ sty->lop.h = 200.0;
+ sty->lop.w = 1.0;
+ sty->lop.w_units = UNITS_FRAC;
+ sty->lop.h = 1.0;
+ sty->lop.h_units = UNITS_FRAC;
sty->name = strdup("Default");
sty2 = calloc(1, sizeof(struct style));
@@ -98,6 +106,10 @@ 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.w = 1.0;
+ sty2->lop.w_units = UNITS_FRAC;
+ sty2->lop.h = 1.0;
+ sty2->lop.h_units = UNITS_FRAC;
sty2->name = strdup("Subframe1");
fr->style = sty;