diff options
Diffstat (limited to 'libraries/ecore/src/lib/ecore_x/Ecore_X.h')
-rw-r--r-- | libraries/ecore/src/lib/ecore_x/Ecore_X.h | 91 |
1 files changed, 89 insertions, 2 deletions
diff --git a/libraries/ecore/src/lib/ecore_x/Ecore_X.h b/libraries/ecore/src/lib/ecore_x/Ecore_X.h index b5d2c3f..336b656 100644 --- a/libraries/ecore/src/lib/ecore_x/Ecore_X.h +++ b/libraries/ecore/src/lib/ecore_x/Ecore_X.h | |||
@@ -1104,6 +1104,28 @@ typedef enum _Ecore_X_Illume_Quickpanel_State | |||
1104 | ECORE_X_ILLUME_QUICKPANEL_STATE_ON | 1104 | ECORE_X_ILLUME_QUICKPANEL_STATE_ON |
1105 | } Ecore_X_Illume_Quickpanel_State; | 1105 | } Ecore_X_Illume_Quickpanel_State; |
1106 | 1106 | ||
1107 | typedef enum _Ecore_X_Illume_Indicator_State | ||
1108 | { | ||
1109 | ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN = 0, | ||
1110 | ECORE_X_ILLUME_INDICATOR_STATE_OFF, | ||
1111 | ECORE_X_ILLUME_INDICATOR_STATE_ON | ||
1112 | } Ecore_X_Illume_Indicator_State; | ||
1113 | |||
1114 | typedef enum _Ecore_X_Illume_Clipboard_State | ||
1115 | { | ||
1116 | ECORE_X_ILLUME_CLIPBOARD_STATE_UNKNOWN = 0, | ||
1117 | ECORE_X_ILLUME_CLIPBOARD_STATE_OFF, | ||
1118 | ECORE_X_ILLUME_CLIPBOARD_STATE_ON | ||
1119 | } Ecore_X_Illume_Clipboard_State; | ||
1120 | |||
1121 | typedef enum _Ecore_X_Illume_Indicator_Opacity_Mode | ||
1122 | { | ||
1123 | ECORE_X_ILLUME_INDICATOR_OPACITY_UNKNOWN = 0, | ||
1124 | ECORE_X_ILLUME_INDICATOR_OPAQUE, | ||
1125 | ECORE_X_ILLUME_INDICATOR_TRANSLUCENT, | ||
1126 | ECORE_X_ILLUME_INDICATOR_TRANSPARENT | ||
1127 | } Ecore_X_Illume_Indicator_Opacity_Mode; | ||
1128 | |||
1107 | /* Window layer constants */ | 1129 | /* Window layer constants */ |
1108 | #define ECORE_X_WINDOW_LAYER_BELOW 2 | 1130 | #define ECORE_X_WINDOW_LAYER_BELOW 2 |
1109 | #define ECORE_X_WINDOW_LAYER_NORMAL 4 | 1131 | #define ECORE_X_WINDOW_LAYER_NORMAL 4 |
@@ -2159,6 +2181,11 @@ ecore_x_netwm_strut_partial_get(Ecore_X_Window win, | |||
2159 | int *bottom_start_x, | 2181 | int *bottom_start_x, |
2160 | int *bottom_end_x); | 2182 | int *bottom_end_x); |
2161 | 2183 | ||
2184 | EAPI void | ||
2185 | ecore_x_netwm_icons_set(Ecore_X_Window win, | ||
2186 | Ecore_X_Icon *icon, | ||
2187 | int num); | ||
2188 | |||
2162 | EAPI Eina_Bool | 2189 | EAPI Eina_Bool |
2163 | ecore_x_netwm_icons_get(Ecore_X_Window win, | 2190 | ecore_x_netwm_icons_get(Ecore_X_Window win, |
2164 | Ecore_X_Icon **icon, | 2191 | Ecore_X_Icon **icon, |
@@ -2399,6 +2426,25 @@ EAPI void | |||
2399 | ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win); | 2426 | ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win); |
2400 | 2427 | ||
2401 | EAPI void | 2428 | EAPI void |
2429 | ecore_x_e_illume_clipboard_state_set(Ecore_X_Window win, | ||
2430 | Ecore_X_Illume_Clipboard_State state); | ||
2431 | |||
2432 | EAPI Ecore_X_Illume_Clipboard_State | ||
2433 | ecore_x_e_illume_clipboard_state_get(Ecore_X_Window win); | ||
2434 | |||
2435 | EAPI void | ||
2436 | ecore_x_e_illume_clipboard_geometry_set(Ecore_X_Window win, | ||
2437 | int x, | ||
2438 | int y, | ||
2439 | int w, | ||
2440 | int h); | ||
2441 | EAPI Eina_Bool | ||
2442 | ecore_x_e_illume_clipboard_geometry_get(Ecore_X_Window win, | ||
2443 | int *x, | ||
2444 | int *y, | ||
2445 | int *w, | ||
2446 | int *h); | ||
2447 | EAPI void | ||
2402 | ecore_x_e_comp_sync_counter_set(Ecore_X_Window win, | 2448 | ecore_x_e_comp_sync_counter_set(Ecore_X_Window win, |
2403 | Ecore_X_Sync_Counter counter); | 2449 | Ecore_X_Sync_Counter counter); |
2404 | EAPI Ecore_X_Sync_Counter | 2450 | EAPI Ecore_X_Sync_Counter |
@@ -2657,7 +2703,7 @@ ecore_x_xregion_rect_contain(Ecore_X_XRegion *region, | |||
2657 | /* The usage of 'Ecore_X_Randr_None' or 'Ecore_X_Randr_Unset' | 2703 | /* The usage of 'Ecore_X_Randr_None' or 'Ecore_X_Randr_Unset' |
2658 | * depends on the context. In most cases 'Ecore_X_Randr_Unset' | 2704 | * depends on the context. In most cases 'Ecore_X_Randr_Unset' |
2659 | * can be used, but in some cases -1 is a special value to | 2705 | * can be used, but in some cases -1 is a special value to |
2660 | * functions, thus 'Ecore_X_Randr_None' (=0) musst be used. | 2706 | * functions, thus 'Ecore_X_Randr_None' (=0) must be used. |
2661 | */ | 2707 | */ |
2662 | 2708 | ||
2663 | typedef short Ecore_X_Randr_Refresh_Rate; | 2709 | typedef short Ecore_X_Randr_Refresh_Rate; |
@@ -2749,6 +2795,11 @@ EAPI Eina_Bool | |||
2749 | EAPI Ecore_X_Randr_Mode_Info ** | 2795 | EAPI Ecore_X_Randr_Mode_Info ** |
2750 | ecore_x_randr_modes_info_get(Ecore_X_Window root, | 2796 | ecore_x_randr_modes_info_get(Ecore_X_Window root, |
2751 | int *num); | 2797 | int *num); |
2798 | EAPI Ecore_X_Randr_Mode | ||
2799 | ecore_x_randr_mode_info_add(Ecore_X_Window root, | ||
2800 | Ecore_X_Randr_Mode_Info *mode_info); | ||
2801 | EAPI void | ||
2802 | ecore_x_randr_mode_del(Ecore_X_Randr_Mode mode); | ||
2752 | EAPI Ecore_X_Randr_Mode_Info * | 2803 | EAPI Ecore_X_Randr_Mode_Info * |
2753 | ecore_x_randr_mode_info_get(Ecore_X_Window root, | 2804 | ecore_x_randr_mode_info_get(Ecore_X_Window root, |
2754 | Ecore_X_Randr_Mode mode); | 2805 | Ecore_X_Randr_Mode mode); |
@@ -2762,10 +2813,13 @@ EAPI Ecore_X_Randr_Output *ecore_x_randr_outputs_get(Ecore_X_Window root, | |||
2762 | EAPI Ecore_X_Randr_Output * | 2813 | EAPI Ecore_X_Randr_Output * |
2763 | ecore_x_randr_window_outputs_get(Ecore_X_Window window, | 2814 | ecore_x_randr_window_outputs_get(Ecore_X_Window window, |
2764 | int *num); | 2815 | int *num); |
2765 | EINA_DEPRECATED EAPI Ecore_X_Randr_Output * | 2816 | EAPI Ecore_X_Randr_Output * |
2766 | ecore_x_randr_current_output_get(Ecore_X_Window window, | 2817 | ecore_x_randr_current_output_get(Ecore_X_Window window, |
2767 | int *num); | 2818 | int *num); |
2768 | EAPI Ecore_X_Randr_Crtc * | 2819 | EAPI Ecore_X_Randr_Crtc * |
2820 | ecore_x_randr_window_crtcs_get(Ecore_X_Window window, | ||
2821 | int *num); | ||
2822 | EAPI Ecore_X_Randr_Crtc * | ||
2769 | ecore_x_randr_current_crtc_get(Ecore_X_Window window, | 2823 | ecore_x_randr_current_crtc_get(Ecore_X_Window window, |
2770 | int *num); | 2824 | int *num); |
2771 | EAPI Ecore_X_Randr_Output * | 2825 | EAPI Ecore_X_Randr_Output * |
@@ -2840,6 +2894,12 @@ ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root, | |||
2840 | Ecore_X_Randr_Crtc crtc_r2, | 2894 | Ecore_X_Randr_Crtc crtc_r2, |
2841 | Ecore_X_Randr_Output_Policy policy, | 2895 | Ecore_X_Randr_Output_Policy policy, |
2842 | Ecore_X_Randr_Relative_Alignment alignment); | 2896 | Ecore_X_Randr_Relative_Alignment alignment); |
2897 | EAPI Eina_Bool | ||
2898 | ecore_x_randr_output_mode_add(Ecore_X_Randr_Output output, | ||
2899 | Ecore_X_Randr_Mode mode); | ||
2900 | EAPI void | ||
2901 | ecore_x_randr_output_mode_del(Ecore_X_Randr_Output output, | ||
2902 | Ecore_X_Randr_Mode mode); | ||
2843 | EAPI Ecore_X_Randr_Mode * | 2903 | EAPI Ecore_X_Randr_Mode * |
2844 | ecore_x_randr_output_modes_get(Ecore_X_Window root, | 2904 | ecore_x_randr_output_modes_get(Ecore_X_Window root, |
2845 | Ecore_X_Randr_Output output, | 2905 | Ecore_X_Randr_Output output, |
@@ -3408,6 +3468,13 @@ EAPI Eina_Bool | |||
3408 | EAPI const char * | 3468 | EAPI const char * |
3409 | ecore_x_keysym_string_get(int keysym); | 3469 | ecore_x_keysym_string_get(int keysym); |
3410 | 3470 | ||
3471 | /** | ||
3472 | * Given a keyname, return the keycode representing that key | ||
3473 | * | ||
3474 | * @since 1.2.0 | ||
3475 | */ | ||
3476 | EAPI int ecore_x_keysym_keycode_get(const char *keyname); | ||
3477 | |||
3411 | typedef struct _Ecore_X_Image Ecore_X_Image; | 3478 | typedef struct _Ecore_X_Image Ecore_X_Image; |
3412 | 3479 | ||
3413 | EAPI Ecore_X_Image * | 3480 | EAPI Ecore_X_Image * |
@@ -3617,6 +3684,26 @@ ecore_x_gesture_event_ungrab(Ecore_X_Window win, | |||
3617 | Ecore_X_Gesture_Event_Type type, | 3684 | Ecore_X_Gesture_Event_Type type, |
3618 | int num_fingers); | 3685 | int num_fingers); |
3619 | 3686 | ||
3687 | EAPI void | ||
3688 | ecore_x_e_illume_indicator_state_set(Ecore_X_Window win, | ||
3689 | Ecore_X_Illume_Indicator_State state); | ||
3690 | EAPI Ecore_X_Illume_Indicator_State | ||
3691 | ecore_x_e_illume_indicator_state_get(Ecore_X_Window win); | ||
3692 | EAPI void | ||
3693 | ecore_x_e_illume_indicator_state_send(Ecore_X_Window win, | ||
3694 | Ecore_X_Illume_Indicator_State state); | ||
3695 | |||
3696 | EAPI void | ||
3697 | ecore_x_e_illume_indicator_opacity_set(Ecore_X_Window win, | ||
3698 | Ecore_X_Illume_Indicator_Opacity_Mode mode); | ||
3699 | |||
3700 | EAPI Ecore_X_Illume_Indicator_Opacity_Mode | ||
3701 | ecore_x_e_illume_indicator_opacity_get(Ecore_X_Window win); | ||
3702 | |||
3703 | EAPI void | ||
3704 | ecore_x_e_illume_indicator_opacity_send(Ecore_X_Window win, | ||
3705 | Ecore_X_Illume_Indicator_Opacity_Mode mode); | ||
3706 | |||
3620 | #ifdef __cplusplus | 3707 | #ifdef __cplusplus |
3621 | } | 3708 | } |
3622 | #endif // ifdef __cplusplus | 3709 | #endif // ifdef __cplusplus |