summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_draw_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2006-11-15 16:44:34 +0000
committerCarsten Haitzler <raster@rasterman.com>2006-11-15 16:44:34 +0000
commitccc60306a007d12245411720dd057216768533b1 (patch)
treec5e44df9586302a930c90b1f98df28cecc6c08b2 /legacy/evas/src/lib/engines/common/evas_draw_main.c
parent2ecb8da51f7f7a56ccf0273c5dacf56cbd18fc5f (diff)
sli is possible- but not optimal.
SVN revision: 27129
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_draw_main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_draw_main.c b/legacy/evas/src/lib/engines/common/evas_draw_main.c
index 0516d61db0..e67ddd02b0 100644
--- a/legacy/evas/src/lib/engines/common/evas_draw_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_draw_main.c
@@ -36,6 +36,7 @@ evas_common_draw_context_new(void)
36 RGBA_Draw_Context *dc; 36 RGBA_Draw_Context *dc;
37 37
38 dc = calloc(1, sizeof(RGBA_Draw_Context)); 38 dc = calloc(1, sizeof(RGBA_Draw_Context));
39 dc->sli.h = 1;
39 return dc; 40 return dc;
40} 41}
41 42
@@ -543,3 +544,10 @@ evas_common_draw_context_set_render_op(RGBA_Draw_Context *dc , int op)
543{ 544{
544 dc->render_op = op; 545 dc->render_op = op;
545} 546}
547
548EAPI void
549evas_common_draw_context_set_sli(RGBA_Draw_Context *dc, int y, int h)
550{
551 dc->sli.y = y;
552 dc->sli.h = h;
553}