summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas_private.h
diff options
context:
space:
mode:
authorGwanglim Lee <gl77.lee@samsung.com>2012-12-05 06:48:46 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-12-05 06:48:46 +0000
commit74cdf85ea9a1931e508703ddd1cfb1c9ce68f3c1 (patch)
tree642d82752f5aef6f25a56dab07629a32c25bd30b /src/lib/ecore_evas/ecore_evas_private.h
parent25ea899dfae39b155f7f0f2b7cafc456cfd1f1d8 (diff)
From: Gwanglim Lee <gl77.lee@samsung.com>
Subject: Re: Re: Re: [E-devel] [RFC] Virtual desktop window profile I've attached 4th patch. May the 4th be with you. ecore patch has been merged with efl and all files are based on r80123. Thanks & Regards, Gwanglim ------- Original Message ------- Sender : Daniel Juyung Seo<seojuyung2@gmail.com> Date : 2012-12-04 01:55 (GMT+09:00) Title : Re: Re: [E-devel] [RFC] Virtual desktop window profile It looks ok to me. Sorry but can you re-generate the patch according to the recent ecore merge to efl single tree? Daniel Juyung Seo (SeoZ) On Thu, Nov 29, 2012 at 12:29 AM, Gwanglim Lee <gl77.lee@samsung.com> wrote: Dear Raster and Daniel Juyung Seo, I've attached 3rd patches and test_config according to your reviews. These are based on r79782. [elementary & ecore] 1. "profile,set" -> "profile,changed" - done 2. spaces after EINA_LIST_FOREACH - done 3. variable type - keep 4. author - done 5. removing deprecated marking in patch - done 6. add elm_win_available_profiles_get to test_config for the debugging purpose - done 7. check whether a given profile is present in an available profiles. otherwise window profile will be one of the item in available profiles. - newly added thing to the elm_win 8. merge with EO - done. :( Any comments would be appreciated. SVN revision: 80214
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas_private.h')
-rw-r--r--src/lib/ecore_evas/ecore_evas_private.h29
1 files changed, 27 insertions, 2 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_private.h b/src/lib/ecore_evas/ecore_evas_private.h
index 0c7b03043d..2d9cb016b8 100644
--- a/src/lib/ecore_evas/ecore_evas_private.h
+++ b/src/lib/ecore_evas/ecore_evas_private.h
@@ -163,7 +163,8 @@ struct _Ecore_Evas_Engine_Func
163 void (*fn_ignore_events_set) (Ecore_Evas *ee, int ignore); 163 void (*fn_ignore_events_set) (Ecore_Evas *ee, int ignore);
164 void (*fn_alpha_set) (Ecore_Evas *ee, int alpha); 164 void (*fn_alpha_set) (Ecore_Evas *ee, int alpha);
165 void (*fn_transparent_set) (Ecore_Evas *ee, int transparent); 165 void (*fn_transparent_set) (Ecore_Evas *ee, int transparent);
166 void (*fn_profiles_set) (Ecore_Evas *ee, const char **profiles, int num_profiles); 166 void (*fn_profiles_set) (Ecore_Evas *ee, const char **profiles, int count);
167 void (*fn_profile_set) (Ecore_Evas *ee, const char *profile);
167 168
168 void (*fn_window_group_set) (Ecore_Evas *ee, const Ecore_Evas *ee_group); 169 void (*fn_window_group_set) (Ecore_Evas *ee, const Ecore_Evas *ee_group);
169 void (*fn_aspect_set) (Ecore_Evas *ee, double aspect); 170 void (*fn_aspect_set) (Ecore_Evas *ee, double aspect);
@@ -218,6 +219,11 @@ struct _Ecore_Evas_Engine
218 unsigned char above : 1; 219 unsigned char above : 1;
219 unsigned char below : 1; 220 unsigned char below : 1;
220 } state; 221 } state;
222 struct {
223 unsigned char available : 1; // need to setup available profiles in a window
224 unsigned char change : 1; // need to send change event to the WM
225 unsigned char done : 1; // need to send change done event to the WM
226 } profile;
221 Ecore_X_Window win_shaped_input; 227 Ecore_X_Window win_shaped_input;
222 } x; 228 } x;
223#endif 229#endif
@@ -310,7 +316,11 @@ struct _Ecore_Evas
310 char *title; 316 char *title;
311 char *name; 317 char *name;
312 char *clas; 318 char *clas;
313 char *profile; 319 struct {
320 char *name;
321 char **available_list;
322 int count;
323 } profile;
314 struct { 324 struct {
315 int w, h; 325 int w, h;
316 } min, 326 } min,
@@ -378,6 +388,7 @@ struct _Ecore_Evas
378 unsigned char semi_sync : 1; 388 unsigned char semi_sync : 1;
379 unsigned char deleted : 1; 389 unsigned char deleted : 1;
380 int gl_sync_draw_done; // added by gl77.lee 390 int gl_sync_draw_done; // added by gl77.lee
391 unsigned char profile_supported : 1;
381}; 392};
382 393
383void _ecore_evas_ref(Ecore_Evas *ee); 394void _ecore_evas_ref(Ecore_Evas *ee);
@@ -487,4 +498,18 @@ extern Eina_Bool _ecore_evas_app_comp_sync;
487void _ecore_evas_extn_init(void); 498void _ecore_evas_extn_init(void);
488void _ecore_evas_extn_shutdown(void); 499void _ecore_evas_extn_shutdown(void);
489 500
501/**
502 * @brief Free the string of the window profile.
503 *
504 * This is a helper function to free window profile.
505 */
506void _ecore_evas_window_profile_free(Ecore_Evas *ee);
507
508/**
509 * @brief Free the string array of available window profiles.
510 *
511 * This is a helper function to free available window profiles.
512 */
513void _ecore_evas_window_available_profiles_free(Ecore_Evas *ee);
514
490#endif 515#endif