aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/comp/e_mod_comp_update.h
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-01-11 08:43:24 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-01-11 08:43:24 +0000
commit9c7c66403426107d031a57bd3f687096fa0b7a8d (patch)
tree23ba0344cae738177f14bce393fe8c4c10fb04f2 /src/modules/comp/e_mod_comp_update.h
parent680e4d14e0534bb535059d0239b71d42317fe0b1 (diff)
downloadenlightenment-9c7c66403426107d031a57bd3f687096fa0b7a8d.tar.gz
enlightenment-9c7c66403426107d031a57bd3f687096fa0b7a8d.tar.xz
enlightenment-9c7c66403426107d031a57bd3f687096fa0b7a8d.zip
knock off some todo's
SVN revision: 45041
Diffstat (limited to 'src/modules/comp/e_mod_comp_update.h')
-rw-r--r--src/modules/comp/e_mod_comp_update.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/modules/comp/e_mod_comp_update.h b/src/modules/comp/e_mod_comp_update.h
index 6b2addfd9..17124ad48 100644
--- a/src/modules/comp/e_mod_comp_update.h
+++ b/src/modules/comp/e_mod_comp_update.h
@@ -5,18 +5,25 @@
typedef struct _Update Update;
typedef struct _Update_Rect Update_Rect;
+typedef enum _Update_Policy
+{
+ UPDATE_POLICY_RAW,
+ UPDATE_POLICY_HALF_WIDTH_OR_MORE_ROUND_UP_TO_FULL_WIDTH,
+} Update_Policy;
struct _Update_Rect
{
int x, y, w, h;
};
-Update *e_mod_comp_update_new (void);
-void e_mod_comp_update_free (Update *up);
-void e_mod_comp_update_resize (Update *up, int w, int h);
-void e_mod_comp_update_add (Update *up, int x, int y, int w, int h);
-Update_Rect *e_mod_comp_update_rects_get (Update *up);
-void e_mod_comp_update_clear (Update *up);
+Update *e_mod_comp_update_new (void);
+void e_mod_comp_update_free (Update *up);
+void e_mod_comp_update_policy_set (Update *up, Update_Policy pol);
+void e_mod_comp_update_tile_size_set (Update *up, int tsw, int tsh);
+void e_mod_comp_update_resize (Update *up, int w, int h);
+void e_mod_comp_update_add (Update *up, int x, int y, int w, int h);
+Update_Rect *e_mod_comp_update_rects_get (Update *up);
+void e_mod_comp_update_clear (Update *up);
#endif
#endif