RetroArch
consol.h
Go to the documentation of this file.
1 #ifndef __CONSOL_H__
2 #define __CONSOL_H__
3 
10 #include "gx_struct.h"
11 
12 /* macros to support old function names */
13 #define console_init CON_Init
14 #define SYS_ConsoleInit CON_InitEx
15 
16 #ifdef __cplusplus
17  extern "C" {
18 #endif
19 
31 void CON_Init(void *framebuffer,int xstart,int ystart,int xres,int yres,int stride);
32 
44 s32 CON_InitEx(GXRModeObj *rmode, s32 conXOrigin,s32 conYOrigin,s32 conWidth,s32 conHeight);
45 
54 void CON_GetMetrics(int *cols, int *rows);
55 
64 void CON_GetPosition(int *cols, int *rows);
65 
75 void CON_EnableGecko(int channel,int safe);
76 
77 #ifdef __cplusplus
78  }
79 #endif
80 
81 #endif
int32_t s32
32bit signed integer
Definition: gctypes.h:24
void CON_GetMetrics(int *cols, int *rows)
retrieve the columns and rows of the current console
Definition: console.c:610
Definition: gx_struct.h:58
support header
void CON_GetPosition(int *cols, int *rows)
retrieve the current cursor position of the current console
Definition: console.c:618
void CON_EnableGecko(int channel, int safe)
Enable or disable the USB gecko console.
Definition: console.c:626
void CON_Init(void *framebuffer, int xstart, int ystart, int xres, int yres, int stride)
Initializes the console subsystem with given parameters.
Definition: console.c:591
s32 CON_InitEx(GXRModeObj *rmode, s32 conXOrigin, s32 conYOrigin, s32 conWidth, s32 conHeight)
Initialize stdout console.
Definition: console.c:596
Definition: ibxm.c:40
GLuint framebuffer
Definition: glext.h:7662
GLsizei stride
Definition: glext.h:6488