Defines | |
#define | WINW 800 |
#define | WINH 600 |
Functions | |
Ecore_Evas * | setup_ecore_evas (int wx, int wy, int ww, int wh, int fullscreen) |
static int | idler_before_cb (void *data) |
static int | idler_after_cb (void *data) |
static char * | get_my_hostname (void) |
get the hostname of the machine, surrounded by the before and after strings the config specifies | |
static int | screensaver_notify_cb (void *data, int ev_type, void *ev) |
Called when the screensaver starts/stops. | |
static int | exit_cb (void *data, int ev_type, void *ev) |
what to do if we SIGINT(^c) it | |
static void | window_del_cb (Ecore_Evas *ee) |
what to do when we receive a window delete event | |
static void | window_resize_cb (Ecore_Evas *ee) |
handle when the ecore_evas needs to be resized | |
static void | focus_swap (Evas_Object *o, int selecto) |
swap key input focus between the password and user entries | |
static void | interp_return_key (void *data, const char *str) |
when Enter is hit on the keyboard we end up here | |
static void | focus (void *data, Evas_Object *o, const char *emission, const char *source) |
an edje signal emission | |
static void | set_date (void *data, Evas_Object *o, const char *emission, const char *source) |
Set the "entrance.date" part's text. | |
static void | set_time (void *data, Evas_Object *o, const char *emission, const char *source) |
Set the "entrance.time" part's text. | |
static void | done_cb (void *data, Evas_Object *o, const char *emission, const char *source) |
Executed when an EntranceAuthSuccessDone signal is emitted. | |
void | session_item_selected_cb (void *data, Evas_Object *o, const char *emission, const char *source) |
Executed when a Session is selected. | |
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. | |
static void | reboot_cb (void *data, Evas_Object *o, const char *emission, const char *source) |
Executed when an EntranceSystemReboot signal is emitted. | |
static void | shutdown_cb (void *data, Evas_Object *o, const char *emission, const char *source) |
Executed when an EntranceSystemHalt signal is emitted. | |
static void | _user_session_set (void *data, Evas_Object *o, const char *emission, const char *source) |
Executed when an SessionDefaultSet signal is emitted. | |
static void | _container_scroll (void *data, Evas_Object *o, const char *emission, const char *source) |
static void | entrance_help (char **argv) |
print the "Help" associated with the app, shows cli args etc | |
int | timer_cb (void *data) |
we handle this iteration outside of the theme, update date and time | |
static void | screen_switch_cb (void *data, Evas_Object *obj, const char *signal, const char *source) |
When the pointer switches screens, this moves the widgets to the new screen. | |
int | main (int argc, char *argv[]) |
main - where it all starts ! | |
Variables | |
static Entrance_Session * | session = NULL |
#define WINH 600 |
#define WINW 800 |
static void _container_scroll | ( | void * | data, | |
Evas_Object * | o, | |||
const char * | emission, | |||
const char * | source | |||
) | [static] |
static void _user_session_set | ( | void * | data, | |
Evas_Object * | o, | |||
const char * | emission, | |||
const char * | source | |||
) | [static] |
Executed when an SessionDefaultSet signal is emitted.
data | - the Entrance_Session in context | |
o | - the evas object(Edje) that created the signal | |
emission | - the signal "type" that was emitted | |
source | - the signal originated from this "part" Save out the current Entrance_Session's EntranceSession as the user's new default session to be executed when they log in. |
static void done_cb | ( | void * | data, | |
Evas_Object * | o, | |||
const char * | emission, | |||
const char * | source | |||
) | [static] |
Executed when an EntranceAuthSuccessDone signal is emitted.
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" Ensure that the session is authed, and quit the main ecore_loop |
static void entrance_help | ( | char ** | argv | ) | [static] |
print the "Help" associated with the app, shows cli args etc
argv | the argv that was passed from the application |
static int exit_cb | ( | void * | data, | |
int | ev_type, | |||
void * | ev | |||
) | [static] |
what to do if we SIGINT(^c) it
data | - no clue | |
ev_type | - kill event ? | |
ev | - event data |
static void focus | ( | void * | data, | |
Evas_Object * | o, | |||
const char * | emission, | |||
const char * | source | |||
) | [static] |
an edje signal emission
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" |
static void focus_swap | ( | Evas_Object * | o, | |
int | selecto | |||
) | [static] |
swap key input focus between the password and user entries
o | - the object we want to swap focus with | |
selecto | - whether to focus on o, or the other entry |
static char* get_my_hostname | ( | void | ) | [static] |
get the hostname of the machine, surrounded by the before and after strings the config specifies
static int idler_after_cb | ( | void * | data | ) | [static] |
static int idler_before_cb | ( | void * | data | ) | [static] |
static void interp_return_key | ( | void * | data, | |
const char * | str | |||
) | [static] |
when Enter is hit on the keyboard we end up here
data | - The smart object that is this Entry | |
str | - The string that was in the buffer when Enter was pressed |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
main - where it all starts !
argc | - the number of arguments entrance was called with | |
argv | - the args entrance was called with |
static void reboot_cb | ( | void * | data, | |
Evas_Object * | o, | |||
const char * | emission, | |||
const char * | source | |||
) | [static] |
Executed when an EntranceSystemReboot signal is emitted.
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" |
static void screen_switch_cb | ( | void * | data, | |
Evas_Object * | obj, | |||
const char * | signal, | |||
const char * | source | |||
) | [static] |
When the pointer switches screens, this moves the widgets to the new screen.
data | the integer value of the new screen |
static int screensaver_notify_cb | ( | void * | data, | |
int | ev_type, | |||
void * | ev | |||
) | [static] |
Called when the screensaver starts/stops.
void session_item_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. |
static void set_date | ( | void * | data, | |
Evas_Object * | o, | |||
const char * | emission, | |||
const char * | source | |||
) | [static] |
Set the "entrance.date" part's text.
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.date" to the results of localtime. This way the interval is configurable via a program in the theme and not statically bound to a value. |
static void set_time | ( | void * | data, | |
Evas_Object * | o, | |||
const char * | emission, | |||
const char * | source | |||
) | [static] |
Set the "entrance.time" part's text.
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. |
Ecore_Evas * setup_ecore_evas | ( | int | wx, | |
int | wy, | |||
int | ww, | |||
int | wh, | |||
int | fullscreen | |||
) |
static void shutdown_cb | ( | void * | data, | |
Evas_Object * | o, | |||
const char * | emission, | |||
const char * | source | |||
) | [static] |
Executed when an EntranceSystemHalt signal is emitted.
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" |
int timer_cb | ( | void * | data | ) |
we handle this iteration outside of the theme, update date and time
data | a pointer to the main edje in entrance |
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 |
static void window_del_cb | ( | Ecore_Evas * | ee | ) | [static] |
what to do when we receive a window delete event
ee | - the Ecore_Evas that received the event |
static void window_resize_cb | ( | Ecore_Evas * | ee | ) | [static] |
handle when the ecore_evas needs to be resized
ee | - The Ecore_Evas we're resizing |
Entrance_Session* session = NULL [static] |