summaryrefslogtreecommitdiff
path: root/legacy/elementary/data
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-01-14 04:12:45 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-01-14 04:12:45 +0000
commit06010704037707c840eadf295183e6911f4cd54b (patch)
tree14f5e3ab012eef350378106bafd5d8ddfc3bd53a /legacy/elementary/data
parentbce3f159375654012a2a113037d5c54ce4f85564 (diff)
add elm_frame_collapse_go() to trigger frame animations, elm_frame_collapse_set() now bypasses them
SVN revision: 67207
Diffstat (limited to 'legacy/elementary/data')
-rw-r--r--legacy/elementary/data/themes/widgets/frame.edc13
1 files changed, 13 insertions, 0 deletions
diff --git a/legacy/elementary/data/themes/widgets/frame.edc b/legacy/elementary/data/themes/widgets/frame.edc
index a3bf544..07937fb 100644
--- a/legacy/elementary/data/themes/widgets/frame.edc
+++ b/legacy/elementary/data/themes/widgets/frame.edc
@@ -145,6 +145,19 @@ group { name: "elm/frame/base/default";
145 run_program(PROGRAM:"expand"); 145 run_program(PROGRAM:"expand");
146 } 146 }
147 } 147 }
148 program { name: "switch";
149 signal: "elm,action,switch";
150 source: "elm";
151 script {
152 new st[31];
153 new Float:vl;
154 get_state(PART:"elm.swallow.content", st, 30, vl);
155 if (!strcmp(st, "default"))
156 set_state(PART:"elm.swallow.content", "collapsed", 0.0);
157 else
158 set_state(PART:"elm.swallow.content", "default", 0.0);
159 }
160 }
148 program { name: "signal"; 161 program { name: "signal";
149 action: SIGNAL_EMIT "elm,anim,done" "elm"; 162 action: SIGNAL_EMIT "elm,anim,done" "elm";
150 } 163 }