AnsiContext Struct Reference
Collaboration diagram for AnsiContext:
Collaboration graph

Public Types

enum  { STATE_NORMAL = 0, STATE_ESCAPE, STATE_CODE, STATE_MUSIC_PREAMBLE }
 

Data Fields

AVFrameframe
 
int x
 x cursor position (pixels) More...
 
int y
 y cursor position (pixels) More...
 
int sx
 saved x cursor position (pixels) More...
 
int sy
 saved y cursor position (pixels) More...
 
const uint8_tfont
 font More...
 
int font_height
 font height More...
 
int attributes
 attribute flags More...
 
int fg
 foreground color More...
 
int bg
 background color More...
 
int first_frame
 
enum AnsiContext:: { ... }  state
 
int args [MAX_NB_ARGS]
 
int nb_args
 number of arguments (may exceed MAX_NB_ARGS) More...
 

Detailed Description

Definition at line 53 of file ansi.c.

Member Enumeration Documentation

anonymous enum
Enumerator
STATE_NORMAL 
STATE_ESCAPE 
STATE_CODE 
STATE_MUSIC_PREAMBLE 

Definition at line 67 of file ansi.c.

Field Documentation

int AnsiContext::args[MAX_NB_ARGS]
int AnsiContext::attributes

attribute flags

Definition at line 61 of file ansi.c.

Referenced by draw_char(), and execute_code().

int AnsiContext::bg

background color

Definition at line 63 of file ansi.c.

Referenced by decode_init(), draw_char(), and execute_code().

int AnsiContext::fg

foreground color

Definition at line 62 of file ansi.c.

Referenced by decode_init(), draw_char(), and execute_code().

int AnsiContext::first_frame

Definition at line 64 of file ansi.c.

Referenced by decode_frame().

const uint8_t* AnsiContext::font

font

Definition at line 59 of file ansi.c.

Referenced by decode_init(), draw_char(), and execute_code().

int AnsiContext::font_height

font height

Definition at line 60 of file ansi.c.

Referenced by decode_init(), draw_char(), erase_line(), execute_code(), and hscroll().

AVFrame* AnsiContext::frame
int AnsiContext::nb_args

number of arguments (may exceed MAX_NB_ARGS)

Definition at line 75 of file ansi.c.

Referenced by decode_frame(), and execute_code().

enum { ... } AnsiContext::state

Referenced by decode_frame().

int AnsiContext::sx

saved x cursor position (pixels)

Definition at line 57 of file ansi.c.

Referenced by execute_code().

int AnsiContext::sy

saved y cursor position (pixels)

Definition at line 58 of file ansi.c.

Referenced by execute_code().

int AnsiContext::x

x cursor position (pixels)

Definition at line 55 of file ansi.c.

Referenced by decode_frame(), draw_char(), erase_screen(), and execute_code().

int AnsiContext::y

y cursor position (pixels)

Definition at line 56 of file ansi.c.

Referenced by draw_char(), erase_line(), erase_screen(), execute_code(), and hscroll().


The documentation for this struct was generated from the following file: