Functions | |
static Evas_Object * | _entrance_user_icon_load (Evas_Object *o, char *file) |
_entrance_user_icon_load : It says this is the filename, gimme an evas object for it, I don't care what type. | |
void | user_selected_cb (void *data, Evas_Object *o, const char *emission, const char *source) |
Executed when a Session is selected. | |
void | user_unselected_cb (void *data, Evas_Object *o, const char *emission, const char *source) |
Executed when a Session is unselected. | |
Entrance_User * | entrance_user_new (char *user, char *icon, char *session) |
entrance_user_new - given a user, icon, and session, create a new Entrance_User instance. | |
void | entrance_user_auto_login_set (Entrance_User *e, int allow) |
entrance_user_auto_login_set : allow this user to auto login, currently not used | |
void | entrance_user_free (Entrance_User *e) |
entrance_user_free: free this Entrance_User | |
Evas_Object * | entrance_user_edje_get (Entrance_User *e, Evas_Object *edje, const char *file) |
entrance_user_edje_get : get the Evas_Object(edje||image) that is specified in config db. |
static Evas_Object * _entrance_user_icon_load | ( | Evas_Object * | o, | |
char * | file | |||
) | [static] |
_entrance_user_icon_load : It says this is the filename, gimme an evas object for it, I don't care what type.
:)
o | - another object in the Canvas | |
file | - the filename on disk, might be an edje, might be an image |
void entrance_user_auto_login_set | ( | Entrance_User * | e, | |
int | allow | |||
) |
entrance_user_auto_login_set : allow this user to auto login, currently not used
e | - the Entrance_User the request is for | |
allow | - true(1) to allow, false(0) to disallow |
Evas_Object* entrance_user_edje_get | ( | Entrance_User * | e, | |
Evas_Object * | edje, | |||
const char * | file | |||
) |
entrance_user_edje_get : get the Evas_Object(edje||image) that is specified in config db.
Their "entrance.user.avatar"
e | - the Entrance_User to get the edje for | |
edje | - a pointer to the main edje in entrance |
FIXME: perhaps go so far as to do Gecos type stuff
void entrance_user_free | ( | Entrance_User * | e | ) |
entrance_user_free: free this Entrance_User
e | - the Entrance_User to free |
Entrance_User* entrance_user_new | ( | char * | user, | |
char * | icon, | |||
char * | session | |||
) |
entrance_user_new - given a user, icon, and session, create a new Entrance_User instance.
We don't copy the pointers here, simply use them, it allows for us to pass in NULL, and easily use ecore_config supplied data w/o having to free it.
user | - the user's user id on the system | |
icon | - the user's "face" icon, an edje or eet | |
session | - the key into the session hash that this user considers their "default" |
void user_selected_cb | ( | void * | data, | |
Evas_Object * | o, | |||
const char * | emission, | |||
const char * | source | |||
) |
Executed when a Session is selected.
data | - the data passed when the callback was added | |
o | - the evas object(Edje) that created the signal | |
emission | - the signal "type" that was emitted | |
source | - the signal originated from this "part" Attempt to set the Part named "entrance.time" to the results of localtime. This way the interval is configurable via a program in the theme and not statically bound to a value. |
void user_unselected_cb | ( | void * | data, | |
Evas_Object * | o, | |||
const char * | emission, | |||
const char * | source | |||
) |
Executed when a Session is unselected.
data | - the data passed when the callback was added | |
o | - the evas object(Edje) that created the signal | |
emission | - the signal "type" that was emitted | |
source | - the signal originated from this "part" Set the current EntranceFace part back to nothing |