|
Defines |
#define | CONSOLE_TOP 66 |
#define | CONSOLE_MARGIN 6 |
#define | STATUS_START 110 |
#define | STATUS_TOP 8 |
#define | STATUS_SPACE 4 |
#define | STATUS_WIDTH 48 |
#define | STATUS_HEIGHT 48 |
#define | MAIN_COLOR 0xffffff |
Enumerations |
enum | butstate {
CONS_DISCONNECTED = 0,
CONS_SELECTED,
CONS_IDLE,
CONS_HAS_DATA,
CONS_KERNEL,
CONS_DISCONNECTED_SEL,
CONS_LAST
} |
Functions |
static void | vp_switch (int vp) |
static int | vp_create (unsigned int x, unsigned int y, unsigned int width, unsigned int height) |
static void | clear (void) |
static void | set_style (int fgcolor, int bgcolor) |
static void | tran_putch (char c, int row, int col) |
static void | redraw_state (int consnum) |
void | gcons_change_console (int consnum) |
void | gcons_notify_char (int consnum) |
void | gcons_notify_disconnect (int consnum) |
void | gcons_notify_connect (int consnum) |
void | gcons_in_kernel (void) |
static int | limit (int a, int left, int right) |
void | gcons_mouse_move (int dx, int dy) |
static int | gcons_find_conbut (int x, int y) |
int | gcons_mouse_btn (int state) |
static void | draw_pixmap (char *logo, size_t size, int x, int y) |
static void | gcons_redraw_console (void) |
static int | make_pixmap (char *data, int size) |
static void | make_anim (void) |
void | gcons_init (int phone) |
Variables |
static int | use_gcons = 0 |
static ipcarg_t | xres |
static ipcarg_t | yres |
static int | console_vp |
static int | cstatus_vp [CONSOLE_COUNT] |
static enum butstate | console_state [CONSOLE_COUNT] |
static int | fbphone |
static int | ic_pixmaps [CONS_LAST] = {-1,-1,-1,-1,-1,-1} |
static int | animation = -1 |
static int | active_console = 0 |
int | mouse_x |
int | mouse_y |
int | btn_pressed |
int | btn_x |
int | btn_y |
char | _binary_helenos_ppm_start [0] |
int | _binary_helenos_ppm_size |
char | _binary_nameic_ppm_start [0] |
int | _binary_nameic_ppm_size |
char | _binary_anim_1_ppm_start [0] |
int | _binary_anim_1_ppm_size |
char | _binary_anim_2_ppm_start [0] |
int | _binary_anim_2_ppm_size |
char | _binary_anim_3_ppm_start [0] |
int | _binary_anim_3_ppm_size |
char | _binary_anim_4_ppm_start [0] |
int | _binary_anim_4_ppm_size |
char | _binary_cons_selected_ppm_start [0] |
int | _binary_cons_selected_ppm_size |
char | _binary_cons_idle_ppm_start [0] |
int | _binary_cons_idle_ppm_size |
char | _binary_cons_has_data_ppm_start [0] |
int | _binary_cons_has_data_ppm_size |
char | _binary_cons_kernel_ppm_start [0] |
int | _binary_cons_kernel_ppm_size |