Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : apps/entrance
Dir : e17/apps/entrance/data/themes/taillights/embryo
Modified Files:
globals.edc
Log Message:
more embryo, still haven't fixed the fonts or the positioning of the current selected
session
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/entrance/data/themes/taillights/embryo/globals.edc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- globals.edc 25 Apr 2004 00:26:27 -0000 1.2
+++ globals.edc 25 Apr 2004 04:50:36 -0000 1.3
@@ -5,7 +5,7 @@
public login_area_align_x;
public login_area_shaking_direction;
- public animate_user_list_in_callback(val, Float: pos)
+ public animate_user_list_in(val, Float: pos)
{
new buf[100];
new Float:x = sin(3.14 * pos);
@@ -17,10 +17,10 @@
snprintf(buf, 100, "xdrag = %f, ydrag= %f", x, y);
emit(buf, "");
}
- public animate_user_list_out_callback(val, Float: pos)
+ public animate_user_list_out(val, Float: pos)
{
new buf[100];
- new Float:x = sin(3.14 * pos);
+ new Float:x = sin(3.14 * pos) / 2;
new Float:y = 0.85 - (pos * 0.85);
set_drag(PART:"user_list_border", x, y);
@@ -29,12 +29,36 @@
snprintf(buf, 100, "xdrag = %f, ydrag= %f", x, y);
emit(buf, "");
}
+ public animate_session_list_in(val, Float: pos)
+ {
+ new buf[100];
+ new Float:x = 1.0 - (sin(3.14 * pos) / 2);
+ new Float:y = 1.0 - (pos * 0.5);
+
+ set_drag(PART:"session_list_border", x, y);
+ snprintf(buf, 100, "val = %i, pos = %f", val, pos);
+ emit(buf, "");
+ snprintf(buf, 100, "xdrag = %f, ydrag= %f", x, y);
+ emit(buf, "");
+ }
+ public animate_session_list_out(val, Float: pos)
+ {
+ new buf[100];
+ new Float:x = 1.0 - (sin(3.14 * pos) / 2);
+ new Float:y = 1.0 - (pos * 0.5);
+
+ set_drag(PART:"session_list_border", x, y);
+ snprintf(buf, 100, "val = %i, pos = %f", val, pos);
+ emit(buf, "");
+ snprintf(buf, 100, "xdrag = %f, ydrag= %f", x, y);
+ emit(buf, "");
+ }
public shake_off_bad_user(val, Float: pos)
{
new buf[100];
new Float:x = get_float(login_area_align_x);
new Float:y = 0.5;
-
+
if(get_int(login_area_shaking_direction) == 0)
{
x += 0.05;
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs