RetroArch
wii
libogc
libogc
console.h
Go to the documentation of this file.
1
#ifndef __CONSOLE_H__
2
#define __CONSOLE_H__
3
4
5
#define FONT_XSIZE 8
6
#define FONT_YSIZE 16
7
#define FONT_XFACTOR 1
8
#define FONT_YFACTOR 1
9
#define FONT_XGAP 0
10
#define FONT_YGAP 0
11
#define TAB_SIZE 4
12
13
typedef
struct
_console_data_s
{
14
void
*
destbuffer
;
15
unsigned
char
*
font
;
16
int
con_xres
,
con_yres
,
con_stride
;
17
int
target_x
,
target_y
,
tgt_stride
;
18
int
cursor_row
,
cursor_col
;
19
int
saved_row
,
saved_col
;
20
int
con_rows
,
con_cols
;
21
22
unsigned
int
foreground
,
background
;
23
}
console_data_s
;
24
25
extern
int
__console_write
(
struct
_reent *
r
,
void
*fd,
const
char
*
ptr
,
size_t
len
);
26
extern
void
__console_init
(
void
*
framebuffer
,
int
xstart,
int
ystart,
int
xres,
int
yres,
int
stride
);
27
28
//extern const devoptab_t dotab_stdout;
29
30
#endif
_console_data_s::saved_row
int saved_row
Definition:
console.h:19
ptr
const GLvoid * ptr
Definition:
nx_glsym.h:242
__console_init
void __console_init(void *framebuffer, int xstart, int ystart, int xres, int yres, int stride)
Definition:
console.c:253
r
GLdouble GLdouble GLdouble r
Definition:
glext.h:6406
len
GLenum GLsizei len
Definition:
glext.h:7389
_console_data_s::target_x
int target_x
Definition:
console.h:17
_console_data_s::tgt_stride
int tgt_stride
Definition:
console.h:17
_console_data_s::con_xres
int con_xres
Definition:
console.h:16
__console_write
int __console_write(struct _reent *r, void *fd, const char *ptr, size_t len)
Definition:
console.c:501
_console_data_s
Definition:
console.h:13
_console_data_s::cursor_row
int cursor_row
Definition:
console.h:18
_console_data_s::con_cols
int con_cols
Definition:
console.h:20
_console_data_s::con_stride
int con_stride
Definition:
console.h:16
_console_data_s::cursor_col
int cursor_col
Definition:
console.h:18
_console_data_s::destbuffer
void * destbuffer
Definition:
console.h:14
_console_data_s::saved_col
int saved_col
Definition:
console.h:19
framebuffer
GLuint framebuffer
Definition:
glext.h:7662
_console_data_s::con_yres
int con_yres
Definition:
console.h:16
_console_data_s::con_rows
int con_rows
Definition:
console.h:20
stride
GLsizei stride
Definition:
glext.h:6488
_console_data_s::background
unsigned int background
Definition:
console.h:22
_console_data_s::font
unsigned char * font
Definition:
console.h:15
_console_data_s::foreground
unsigned int foreground
Definition:
console.h:22
_console_data_s::target_y
int target_y
Definition:
console.h:17
console_data_s
struct _console_data_s console_data_s
Generated by
1.8.15