Subject: Add feature for showing/hiding indicator
Hi, raster.
As we discussed about indicator, i added feature for indicator.
Please check attached patch files.
1. elementary
i added enumeration to Elm_Illume_Command as below.
- ELM_ILLUME_COMMAND_INDICATOR_SHOW
- ELM_ILLUME_COMMAND_INDICATOR_HIDE
2. ecore
i added atoms/enumerations/APIs as below.
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_ON;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF;
typedef enum _Ecore_X_Illume_Indicator_State
{
ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN = 0,
ECORE_X_ILLUME_INDICATOR_STATE_OFF,
ECORE_X_ILLUME_INDICATOR_STATE_ON
} Ecore_X_Illume_Indicator_State;
EAPI void ecore_x_e_illume_indicator_state_set(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);
EAPI Ecore_X_Illume_Indicator_State
ecore_x_e_illume_indicator_state_get(Ecore_X_Window win);
EAPI void ecore_x_e_illume_indicator_state_send(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68410
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
Hyunsil Park <hyunsil.park@samsung.com>
Goun Lee <gouni.lee@samsung.com>
Mikael Sans <sans.mikael@gmail.com>
+Doyoun Kang <doyoun.kang@samsung.com>
case ELM_ILLUME_COMMAND_CLOSE:
ecore_x_e_illume_close_send(win->xwin);
break;
+ case ELM_ILLUME_COMMAND_INDICATOR_SHOW:
+ ecore_x_e_illume_indicator_state_set
+ (win->xwin, ECORE_X_ILLUME_INDICATOR_STATE_ON);
+ break;
+ case ELM_ILLUME_COMMAND_INDICATOR_HIDE:
+ ecore_x_e_illume_indicator_state_set
+ (win->xwin, ECORE_X_ILLUME_INDICATOR_STATE_OFF);
+ break;
default:
break;
}
ELM_ILLUME_COMMAND_FOCUS_BACK, /**< Reverts focus to the previous window */
ELM_ILLUME_COMMAND_FOCUS_FORWARD, /**< Sends focus to the next window in the list */
ELM_ILLUME_COMMAND_FOCUS_HOME, /**< Hides all windows to show the Home screen */
- ELM_ILLUME_COMMAND_CLOSE /**< Closes the currently active window */
+ ELM_ILLUME_COMMAND_CLOSE, /**< Closes the currently active window */
+ ELM_ILLUME_COMMAND_INDICATOR_SHOW, /**< Shows the indicator */
+ ELM_ILLUME_COMMAND_INDICATOR_HIDE /**< Hides the indicator */
} Elm_Illume_Command;
/**