From: raster Date: Fri, 24 Feb 2012 12:33:11 +0000 (+0000) Subject: From: Doyoun Kang X-Git-Tag: REL_F_I9500_20120323_1~17^2~535 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed8ae26d0f8cf931611cf30ad5141749b2c6b622;p=framework%2Fuifw%2Felementary.git From: Doyoun Kang 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 --- diff --git a/AUTHORS b/AUTHORS index 11b92ed..dab5202 100644 --- a/AUTHORS +++ b/AUTHORS @@ -52,3 +52,4 @@ Sanjeev BA Hyunsil Park Goun Lee Mikael Sans +Doyoun Kang diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 37ae0a0..96145d4 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -2673,6 +2673,14 @@ elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void * 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; } diff --git a/src/lib/elm_win.h b/src/lib/elm_win.h index 9391cb5..67f9485 100644 --- a/src/lib/elm_win.h +++ b/src/lib/elm_win.h @@ -179,7 +179,9 @@ typedef enum 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; /**