From: raster Date: Wed, 7 Mar 2012 14:27:36 +0000 (+0000) Subject: From: myoungwoon kim X-Git-Tag: REL_F_I9500_20120323_1~17^2~207 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eab09fff9e18476a91865a83f4eeda0f9cecf93e;p=framework%2Fuifw%2Felementary.git From: myoungwoon kim Subject: [E-devel] [Patch] Ecore, Elementary: Supporting indicator opacity mode This is Myoungwoon Roy Kim. This patches are for supporting the indicator's opacity mode and made by Jeonhoon Park(jh1979.park@samsung.com) who is responsible for Indicator application. Requirements: - In mobile device, Indicator area should be displayed as Opacity, Transparency, or sometimes Translucency according to the UX requirements. This requirement can be applied in case of fullscreen based menu and fullscreen applications like video player etc. Functional requirements: 1. User can set indicator's opacity mode as opacity, transparency, and translucency 2. User can get the current indicator's opacity mode. Currently there are no APIs for supporting the upper functional requirements. Thus, he added support for indicator's opacity mode. It is designed for EFL developers easily to set the indicator's opacity like the existing indicator's mode. He added a Elm_Win_Indicator_Opacity_Mode structure variable into Elm_Win structure. Meanwhile, new two APIs are implemented independently from the existing source code. Anybody please review this and apply it to upstream code. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68959 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index 146a09b..56ac20f 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -62,6 +62,9 @@ widgets/entry.edc \ widgets/map.edc \ widgets/scroller.edc \ widgets/pointer.edc \ +widgets/datetime.edc \ +widgets/dayselector.edc \ +widgets/popup.edc \ ews.edc \ arrow_down.png \ arrow_up.png \ diff --git a/doc/widgets/Makefile.am b/doc/widgets/Makefile.am index 90fe3ec..f1583bd 100644 --- a/doc/widgets/Makefile.am +++ b/doc/widgets/Makefile.am @@ -102,8 +102,6 @@ endif EXTRA_DIST = \ widget_preview_actionslider.c \ - widget_preview_anchorblock.c \ - widget_preview_anchorview.c \ widget_preview_bg.c \ widget_preview_bubble1.c \ widget_preview_bubble2.c \ diff --git a/po/ar.po b/po/ar.po index 4c30f68..1cfd004 100644 --- a/po/ar.po +++ b/po/ar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -39,7 +39,7 @@ msgid "Clicked" msgstr "" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "" @@ -101,19 +101,19 @@ msgstr "" msgid "OFF" msgstr "" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 msgid "Selected" msgstr "" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "" diff --git a/po/az_IR.po b/po/az_IR.po index aea4f53..0751735 100644 --- a/po/az_IR.po +++ b/po/az_IR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -38,7 +38,7 @@ msgid "Clicked" msgstr "" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "" @@ -100,19 +100,19 @@ msgstr "" msgid "OFF" msgstr "" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 msgid "Selected" msgstr "" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "" diff --git a/po/cs.po b/po/cs.po index 69ba0ca..9ccfd94 100644 --- a/po/cs.po +++ b/po/cs.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2011-10-23 01:31+0100\n" "Last-Translator: Daniel Kolesa \n" "Language-Team: Czech \n" @@ -38,7 +38,7 @@ msgid "Clicked" msgstr "Kliknuto" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "Stav: Zakázáno" @@ -100,19 +100,19 @@ msgstr "ZAPNUTO" msgid "OFF" msgstr "VYPNUTO" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 msgid "Selected" msgstr "Vybrané" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "Oddělovač" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "Stav: Vybráno" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "Má nabídku" diff --git a/po/de.po b/po/de.po index a95f8af..39a55a9 100644 --- a/po/de.po +++ b/po/de.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: elementary 0.7.0.57309\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2011-02-25 20:22+0100\n" "Last-Translator: Fabian Nowak \n" "Language-Team: German\n" @@ -40,7 +40,7 @@ msgid "Clicked" msgstr "" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "" @@ -102,20 +102,20 @@ msgstr "" msgid "OFF" msgstr "" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 #, fuzzy msgid "Selected" msgstr "Auswählen" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "" diff --git a/po/fa.po b/po/fa.po index aea4f53..0751735 100644 --- a/po/fa.po +++ b/po/fa.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -38,7 +38,7 @@ msgid "Clicked" msgstr "" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "" @@ -100,19 +100,19 @@ msgstr "" msgid "OFF" msgstr "" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 msgid "Selected" msgstr "" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "" diff --git a/po/fr.po b/po/fr.po index a540e77..4b25f21 100644 --- a/po/fr.po +++ b/po/fr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2011-11-08 07:57+0100\n" "Last-Translator: dazibao \n" "Language-Team: French \n" @@ -42,7 +42,7 @@ msgid "Clicked" msgstr "Cliqué" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "État : désactivé" @@ -104,19 +104,19 @@ msgstr "OUI" msgid "OFF" msgstr "NON" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 msgid "Selected" msgstr "Sélectionné" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "Séparateur" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "État : sélectionné" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "Possède un menu" diff --git a/po/he.po b/po/he.po index 4ecb5c1..30ae422 100644 --- a/po/he.po +++ b/po/he.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Aharon Hillel \n" "Language-Team: General\n" @@ -38,7 +38,7 @@ msgid "Clicked" msgstr "" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "" @@ -100,20 +100,20 @@ msgstr "" msgid "OFF" msgstr "" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 #, fuzzy msgid "Selected" msgstr "התחל בחירה" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "" diff --git a/po/it.po b/po/it.po index 633fa38..f80d531 100644 --- a/po/it.po +++ b/po/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2011-11-08 14:19+0100\n" "Last-Translator: Massimo Maiurana \n" "Language-Team: none\n" @@ -36,7 +36,7 @@ msgid "Clicked" msgstr "Cliccato" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "Stato: disabilitato" @@ -98,19 +98,19 @@ msgstr "Attivo" msgid "OFF" msgstr "Non attivo" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 msgid "Selected" msgstr "Selezionato" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "Separatore" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "Stato: selezionato" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "Include menù" diff --git a/po/ko_KR.po b/po/ko_KR.po index 743e7aa..5be66d4 100644 --- a/po/ko_KR.po +++ b/po/ko_KR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2011-02-22 09:09-0800\n" "Last-Translator: Daniel Juyung Seo \n" "Language-Team: General\n" @@ -38,7 +38,7 @@ msgid "Clicked" msgstr "" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "" @@ -100,20 +100,20 @@ msgstr "" msgid "OFF" msgstr "" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 #, fuzzy msgid "Selected" msgstr "선택" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "" diff --git a/po/nl.po b/po/nl.po index 0745f16..3f7b6c7 100644 --- a/po/nl.po +++ b/po/nl.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: elementary 0.7.0.57309\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2011-06-19 16:41+0100\n" "Last-Translator: Heimen Stoffels \n" "Language-Team: Dutch \n" @@ -42,7 +42,7 @@ msgid "Clicked" msgstr "" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "" @@ -104,20 +104,20 @@ msgstr "" msgid "OFF" msgstr "" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 #, fuzzy msgid "Selected" msgstr "Selecteren" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "" diff --git a/po/ps.po b/po/ps.po index 383009d..a480b93 100644 --- a/po/ps.po +++ b/po/ps.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -37,7 +37,7 @@ msgid "Clicked" msgstr "" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "" @@ -99,19 +99,19 @@ msgstr "" msgid "OFF" msgstr "" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 msgid "Selected" msgstr "" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "" diff --git a/po/pt.po b/po/pt.po index ee76a70..7b4fc7a 100644 --- a/po/pt.po +++ b/po/pt.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2011-11-17 12:25-0000\n" "Last-Translator: Sérgio Marques \n" "Language-Team: \n" @@ -38,7 +38,7 @@ msgid "Clicked" msgstr "Clicado" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "Estado: inativo" @@ -100,19 +100,19 @@ msgstr "Ligar" msgid "OFF" msgstr "Desligar" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 msgid "Selected" msgstr "Selecionado" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "Separador" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "Estado: selecionado" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "Tem menu" diff --git a/po/ur.po b/po/ur.po index 383009d..a480b93 100644 --- a/po/ur.po +++ b/po/ur.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -37,7 +37,7 @@ msgid "Clicked" msgstr "" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "" @@ -99,19 +99,19 @@ msgstr "" msgid "OFF" msgstr "" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 msgid "Selected" msgstr "" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "" diff --git a/po/yi.po b/po/yi.po index 383009d..a480b93 100644 --- a/po/yi.po +++ b/po/yi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-03-07 14:19+0900\n" +"POT-Creation-Date: 2012-03-07 23:02+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -37,7 +37,7 @@ msgid "Clicked" msgstr "" #: src/lib/elm_button.c:408 src/lib/elm_check.c:394 src/lib/elm_radio.c:295 -#: src/lib/elm_toolbar.c:887 +#: src/lib/elm_toolbar.c:886 msgid "State: Disabled" msgstr "" @@ -99,19 +99,19 @@ msgstr "" msgid "OFF" msgstr "" -#: src/lib/elm_toolbar.c:803 +#: src/lib/elm_toolbar.c:802 msgid "Selected" msgstr "" -#: src/lib/elm_toolbar.c:885 +#: src/lib/elm_toolbar.c:884 msgid "Separator" msgstr "" -#: src/lib/elm_toolbar.c:889 +#: src/lib/elm_toolbar.c:888 msgid "State: Selected" msgstr "" -#: src/lib/elm_toolbar.c:891 +#: src/lib/elm_toolbar.c:890 msgid "Has menu" msgstr "" diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 3fac920..822162e 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -19,6 +19,7 @@ struct _Elm_Win Elm_Win_Type type; Elm_Win_Keyboard_Mode kbdmode; Elm_Win_Indicator_Mode indmode; + Elm_Win_Indicator_Opacity_Mode ind_o_mode; struct { const char *info; Ecore_Timer *timer; @@ -2830,6 +2831,43 @@ elm_win_indicator_mode_get(const Evas_Object *obj) } EAPI void +elm_win_indicator_opacity_set(Evas_Object *obj, Elm_Win_Indicator_Opacity_Mode mode) +{ + Elm_Win *win; + ELM_CHECK_WIDTYPE(obj, widtype); + win = elm_widget_data_get(obj); + if (!win) return; + if (mode == win->ind_o_mode) return; + win->ind_o_mode = mode; +#ifdef HAVE_ELEMENTARY_X + _elm_win_xwindow_get(win); + if (win->xwin) + { + if (win->ind_o_mode == ELM_WIN_INDICATOR_OPAQUE) + ecore_x_e_illume_indicator_opacity_set + (win->xwin, ECORE_X_ILLUME_INDICATOR_OPAQUE); + else if (win->ind_o_mode == ELM_WIN_INDICATOR_TRANSLUCENT) + ecore_x_e_illume_indicator_opacity_set + (win->xwin, ECORE_X_ILLUME_INDICATOR_TRANSLUCENT); + else if (win->ind_o_mode == ELM_WIN_INDICATOR_TRANSPARENT) + ecore_x_e_illume_indicator_opacity_set + (win->xwin, ECORE_X_ILLUME_INDICATOR_TRANSPARENT); + + } +#endif +} + +EAPI Elm_Win_Indicator_Opacity_Mode +elm_win_indicator_opacity_get(const Evas_Object *obj) +{ + Elm_Win *win; + ELM_CHECK_WIDTYPE(obj, widtype) ELM_WIN_INDICATOR_OPACITY_UNKNOWN; + win = elm_widget_data_get(obj); + if (!win) return ELM_WIN_INDICATOR_OPACITY_UNKNOWN; + return win->ind_o_mode; +} + +EAPI void elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y) { Elm_Win *win; diff --git a/src/lib/elm_win.h b/src/lib/elm_win.h index e6e7fcd..e79c6a4 100644 --- a/src/lib/elm_win.h +++ b/src/lib/elm_win.h @@ -193,6 +193,18 @@ typedef enum } Elm_Win_Indicator_Mode; /** + * Defines the opacity modes of indicator that can be shown + */ + +typedef enum +{ + ELM_WIN_INDICATOR_OPACITY_UNKNOWN, /**< Unknown indicator opacity mode */ + ELM_WIN_INDICATOR_OPAQUE, /**< Opacifies the indicator */ + ELM_WIN_INDICATOR_TRANSLUCENT, /**< Be translucent the indicator */ + ELM_WIN_INDICATOR_TRANSPARENT /**< Transparentizes the indicator */ +} Elm_Win_Indicator_Opacity_Mode; + +/** * Available commands that can be sent to the Illume manager. * * When running under an Illume session, a window may send commands to the @@ -1023,6 +1035,22 @@ EAPI void elm_win_indicator_mode_set(Evas_Object *obj, Elm_Win_ EAPI Elm_Win_Indicator_Mode elm_win_indicator_mode_get(const Evas_Object *obj); /** + * Sets the indicator opacity mode of the window. + * + * @param obj The window object + * @param mode The mode to set, one of #Elm_Win_Indicator_Opacity_Mode + */ +EAPI void elm_win_indicator_opacity_set(Evas_Object *obj, Elm_Win_Indicator_Opacity_Mode mode); + +/** + * Gets the indicator opacity mode of the window. + * + * @param obj The window object + * @return The mode, one of #Elm_Win_Indicator_Opacity_Mode + */ +EAPI Elm_Win_Indicator_Opacity_Mode elm_win_indicator_opacity_get(const Evas_Object *obj); + +/** * Get the screen position of a window. * * @param obj The window object