summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-01-23 14:17:10 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-10-05 12:50:20 +0200
commit71f1a899a530dde987917816c0707b2dd27981eb (patch)
treee2e809ba1740f90a16dde87b9a04d7513396c8e8
parent178e7e6ac9419742d1bbe583fd252fc6536e5649 (diff)
theme: added a new ctxpopup style
a style where no arrows are shown arround the widget.
-rw-r--r--data/themes/edc/elm/ctxpopup.edc20
-rw-r--r--src/lib/elc_ctxpopup.h4
2 files changed, 23 insertions, 1 deletions
diff --git a/data/themes/edc/elm/ctxpopup.edc b/data/themes/edc/elm/ctxpopup.edc
index c7e8553af..6adda1196 100644
--- a/data/themes/edc/elm/ctxpopup.edc
+++ b/data/themes/edc/elm/ctxpopup.edc
@@ -199,7 +199,25 @@ group { name: "elm/ctxpopup/base/default";
199 199
200 } 200 }
201} 201}
202 202group { name: "elm/ctxpopup/base/clean";
203 inherit: "elm/ctxpopup/base/default";
204 parts {
205 part{ name: "elm.swallow.arrow_down";
206 description { state: "default" 0.0;
207 visible:0;
208 }
209 }
210 part{ name: "elm.swallow.arrow_up";
211 inherit: "elm.swallow.arrow_down";
212 }
213 part{ name: "elm.swallow.arrow_right";
214 inherit: "elm.swallow.arrow_down";
215 }
216 part{ name: "elm.swallow.arrow_left";
217 inherit: "elm.swallow.arrow_down";
218 }
219 }
220}
203group { name: "elm/ctxpopup/arrow/default"; 221group { name: "elm/ctxpopup/arrow/default";
204 images.image: "tooltip-edge-left-tip.png" COMP; 222 images.image: "tooltip-edge-left-tip.png" COMP;
205 images.image: "tooltip-edge-right-tip.png" COMP; 223 images.image: "tooltip-edge-right-tip.png" COMP;
diff --git a/src/lib/elc_ctxpopup.h b/src/lib/elc_ctxpopup.h
index 67cebb150..23da93e47 100644
--- a/src/lib/elc_ctxpopup.h
+++ b/src/lib/elc_ctxpopup.h
@@ -56,6 +56,10 @@
56 * @li @ref elm_object_item_focus_set 56 * @li @ref elm_object_item_focus_set
57 * @li @ref elm_object_item_focus_get 57 * @li @ref elm_object_item_focus_get
58 * 58 *
59 * Supported Styles:
60 * @li clean - No arrows at the borders of the ctxpopup
61 * @li default - The default ctxpopup
62 *
59 * @ref tutorial_ctxpopup shows the usage of a good deal of the API. 63 * @ref tutorial_ctxpopup shows the usage of a good deal of the API.
60 * @{ 64 * @{
61 */ 65 */