My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
gui_manager.c File Reference
#include <gui_manager.h>
#include <sw_fb.h>
#include <color_manager.h>
#include <sw_string_functions.h>
#include <unused.h>

Functions

void set_orientation (s32int orient)
 
void assign_obj_values ()
 
void sw_window_init ()
 
void sw_window_exit ()
 
void sw_window_set_pixel (s32int offset, u32 colour)
 
void compute_button_width (u8 *str)
 
void compute_label_width (u8 *str)
 
void compute_textfield_width (u8 *str)
 
s32int check_space_for_object (u8 *str, s32int width, s32int height)
 
void set_window_values (s32int x1, s32int y1, s32int x2, s32int y2, s32int titlebar, u32 colour)
 
void set_object_values (u8 *id, u8 *str, s32int width, s32int height, u8 *type, u32 colour)
 
void set_object_values_given_coord (u8 *id, u8 *str, s32int x, s32int y, s32int width, s32int height, u8 *type, u32 colour)
 
void set_event_handler (u32 touch, u32 release)
 
void set_active_textbox_layout (s32int active_tf)
 
void set_inactive_textbox_layout (s32int active_tf)
 

Variables

s32int gui_open = 1
 
struct event event
 
struct gui_info gui_info
 
struct obj_values obj_val
 

Function Documentation

void assign_obj_values ( )
s32int check_space_for_object ( u8 *  str,
s32int  width,
s32int  height 
)
Parameters
str
width
height
Returns
void compute_button_width ( u8 *  str)
Parameters
str
void compute_label_width ( u8 *  str)
Parameters
str
void compute_textfield_width ( u8 *  str)
Parameters
str
void set_active_textbox_layout ( s32int  active_tf)
Parameters
active_tf
void set_event_handler ( u32  touch,
u32  release 
)
Parameters
touch
release
void set_inactive_textbox_layout ( s32int  active_tf)
Parameters
active_tf
void set_object_values ( u8 *  id,
u8 *  str,
s32int  width,
s32int  height,
u8 *  type,
u32  colour 
)
Parameters
id
str
width
height
type
colour
void set_object_values_given_coord ( u8 *  id,
u8 *  str,
s32int  x,
s32int  y,
s32int  width,
s32int  height,
u8 *  type,
u32  colour 
)
Parameters
id
str
x
y
width
height
type
colour
void set_orientation ( s32int  orient)
Parameters
orient
void set_window_values ( s32int  x1,
s32int  y1,
s32int  x2,
s32int  y2,
s32int  titlebar,
u32  colour 
)
Parameters
x1
y1
x2
y2
titlebar
colour
void sw_window_exit ( void  )
void sw_window_init ( void  )
void sw_window_set_pixel ( s32int  offset,
u32  colour 
)
Parameters
offset
colour

Variable Documentation

struct event event
s32int gui_open = 1
struct obj_values obj_val