projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
002b202
)
[label] adding sliding mode get function
author
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Mon, 4 Oct 2010 02:40:11 +0000
(11:40 +0900)
committer
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Mon, 4 Oct 2010 02:40:11 +0000
(11:40 +0900)
src/lib/elm_label.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_label.c
b/src/lib/elm_label.c
index
6fe20f6
..
9e0847d
100644
(file)
--- a/
src/lib/elm_label.c
+++ b/
src/lib/elm_label.c
@@
-894,3
+894,20
@@
elm_label_slide_set(Evas_Object *obj, Eina_Bool slide)
wd->changed = 1;
_sizing_eval(obj);
}
+
+/**
+ * get the text slide mode of the label
+ *
+ * @param obj The label object
+ * @return slide set flag value
+ * @ingroup Label
+ */
+EAPI Eina_Bool
+elm_label_slide_get(Evas_Object *obj)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype);
+ Widget_Data *wd = elm_widget_data_get(obj);
+ if (!wd) return EINA_FALSE;
+
+ return wd->slidingmode;
+}