LibUIGL  3.17.5
Todo Estructuras de Datos Archivos Funciones typedefs Enumeraciones Grupos Páginas
Estructuras de datos | defines | typedefs | Enumeraciones | Funciones
Referencia del Archivo LibUIGL.h

Ir al código fuente de este archivo.

Estructuras de datos

union  Color
 
struct  Rect
 
struct  GUIEVT
 
struct  CTRLDATA
 

defines

#define CWF_BORDER   0x01
 
#define CWF_RESIZE   0x02
 
#define CWF_HIDDEN   0x04
 
#define CWF_NOESCAPE   0x08
 

typedefs

typedef struct gui_t * GUI
 
typedef struct item_t * Item
 
typedef struct image_t * Image
 
typedef struct font_t * FontFace
 
typedef struct control_t * Control
 
typedef struct style_t * Style
 
typedef struct timeline_t * Timeline
 
typedef struct scene_t * Scene
 
typedef struct scene_t * Overlay
 
typedef struct language_t * Language
 
typedef struct transition_t * Transition
 
typedef void(* cbEventFunc) (GUIEVT *)
 

Enumeraciones

enum  EVTYPE
 
enum  ControlState
 

Funciones

bool GUI_Init (void)
 
void GUI_Deinit (void)
 
bool GUI_GetDisplayResolution (int index, Rect *rect)
 
GUI GUI_CreateWindow (int width, int height, const char *title, int monitor, GUI share, uint8_t flags)
 
bool GUI_DeleteWindow (GUI gui)
 
void GUI_SetPhysicalSize (int width_mm, int height_mm)
 
bool GUI_Load (const char *filename)
 
Image GUI_GetImage (const char *name)
 
Item GUI_GetItem (const char *name)
 
const char * GUI_GetItemName (Item item)
 
void GUI_SetWindowTitle (const char *title)
 
void GUI_SelectWindow (GUI gui)
 
GUI GUI_GetActiveWindow (void)
 
void GUI_ShowWindow (bool mode)
 
void GUI_SetWindowPosition (int x, int y)
 
Timeline GUI_SetAnimation (Timeline timeline, Control control)
 
void GUI_EndAnimation (Timeline, bool set_final)
 
Scene GUI_SetScene (const char *name)
 
void GUI_SetTransition (Transition transition)
 
bool GUI_Tasks (void)
 Tareas de mantenimiento interno de la ventana. Más...
 
void GUI_Redraw (void)
 Fuerza repintado de la ventana activa. Más...
 
bool GUI_GetEvent (GUIEVT *user)
 
bool GUI_GetTouchState (void)
 
void GUI_GetSize (int *width, int *height)
 
void * GUI_GetHWND (void)
 
Scene GUI_GetScene (void)
 
void GUI_Scale (int oldw, int oldh, int neww, int newh)
 
void GUI_TransformPoint (int *x, int *y)
 
void GUI_AddEventListener (cbEventFunc func)
 
void GUI_RemoveEventListener (cbEventFunc func)
 
void GUI_SetRect (Rect *rect, int xLeft, int yTop, int xRight, int yBottom)
 
void GUI_OffsetRect (Rect *rect, int dx, int dy)
 
Overlay GUI_CreateOverlay (const char *name, cbEventFunc callback)
 
void GUI_DeleteOverlay (Overlay overlay)
 
void GUI_ShowOverlay (Overlay overlay, bool show)
 
Control SceneGetControl (Scene sc, const char *name)
 
void ControlSetStatus (Control ob, ControlState status)
 
void ControlSetText (Control ob, const char *text,...)
 
void ControlSetPicture (Control control, Image image)
 
void ControlSetPosition (Control control, int x, int y)
 
void ControlSetSize (Control control, int width, int height)
 
void ControlGetData (Control ob, CTRLDATA *data)
 
void ControlApplyStyle (Control control, Style style)
 
void ControlEnableFontStyles (Control control, bool enable)
 
void ControlBindDataBool (Control control, bool *data)
 
void ControlBindDataInt (Control control, int *data)
 
void ControlBindDataFloat (Control control, float *data)
 
void ControlBindDataString (Control control, char *data)
 
void ControlUnbindData (Control control)
 
void ControlSetDataFormat (Control control, const char *format)
 
Image ImageLoad (const char *name, const char *filename)
 
void ImageDraw (Image image, int x, int y)
 
void ImageDrawScaling (Image image, Rect *dstrect)
 
void ImageDrawSection (Image image, Rect *srcrect, int x, int y)
 
void ImageDelete (Image image)
 
char * GetStringRESX (const char *name)
 
char * GetStringTXT (int Id)
 
Language LangGet (void)
 
void LangSet (Language lang)
 
void SetPath (const char *path)
 
char * GetLocalPath (void)
 
char * GetFullPath (const char *file)
 

Descripción detallada

API pública LibUIGL

Documentación de los 'typedefs'

◆ GUI

typedef struct gui_t* GUI

Manejador de ventana

◆ Item

typedef struct item_t* Item

Encapsula cualquier elemento de la UI

◆ Image

typedef struct image_t* Image

Encapsula un elemento <image>

◆ FontFace

typedef struct font_t* FontFace

Encapsula un elemento <font>

◆ Control

typedef struct control_t* Control

Encapsula un elemento <control>

◆ Style

typedef struct style_t* Style

Encapsula un elemento <style> o <class>

◆ Timeline

typedef struct timeline_t* Timeline

Encapsula un elemento <timeline>

◆ Scene

typedef struct scene_t* Scene

Encapsula un elemento <scene>

◆ Overlay

typedef struct scene_t* Overlay

Encapsula un elemento <overlay>

◆ Language

typedef struct language_t* Language

Encapsula un elemento <language>

◆ Transition

typedef struct transition_t* Transition

Encapsula un elemento <transition>