picotk_Terminal_st Struct Reference

Terminal structure. More...

#include <picotk.h>

Collaboration diagram for picotk_Terminal_st:

Collaboration graph
[legend]

Data Fields

int cursor_x
 cursor pos x, 0.
int cursor_y
 cursor pos y, 0.
int w
 window width in pixels (e.g.
int h
 window height in pixels (e.g.
int wc
 window width in chars (e.g.
int hc
 window height in chars (e.g.
int cw
 single char width (e.g.
int ch
 single char height (e.g.
unsigned int fgc
 default foreground color
unsigned int bgc
 default background color
wchar_t bgc_wide
 UL version of background buffer user for memset.
bool transparentBackground
 if BG is transparent
int esc_state
 used for escape seq handling
picotk_Fontfont
 The font to use.
char esc_buf [5]
int esc_len
unsigned short * data
 used to contain the circular terminal buffer
int dataSize
int dataOffset
int bytesPerLine
picotk_Pixmap pixmap

Detailed Description

Terminal structure.


Field Documentation

unsigned int picotk_Terminal_st::bgc

default background color

wchar_t picotk_Terminal_st::bgc_wide

UL version of background buffer user for memset.

int picotk_Terminal_st::bytesPerLine

int picotk_Terminal_st::ch

single char height (e.g.

13)

int picotk_Terminal_st::cursor_x

cursor pos x, 0.

.wc-1

int picotk_Terminal_st::cursor_y

cursor pos y, 0.

.hc-1

int picotk_Terminal_st::cw

single char width (e.g.

8)

unsigned short* picotk_Terminal_st::data

used to contain the circular terminal buffer

int picotk_Terminal_st::dataOffset

int picotk_Terminal_st::dataSize

char picotk_Terminal_st::esc_buf[5]

int picotk_Terminal_st::esc_len

int picotk_Terminal_st::esc_state

used for escape seq handling

unsigned int picotk_Terminal_st::fgc

default foreground color

picotk_Font* picotk_Terminal_st::font

The font to use.

int picotk_Terminal_st::h

window height in pixels (e.g.

480)

int picotk_Terminal_st::hc

window height in chars (e.g.

24)

picotk_Pixmap picotk_Terminal_st::pixmap

bool picotk_Terminal_st::transparentBackground

if BG is transparent

int picotk_Terminal_st::w

window width in pixels (e.g.

640)

int picotk_Terminal_st::wc

window width in chars (e.g.

80)


The documentation for this struct was generated from the following file:
Generated on 3 Mar 2014 for PAL bare-c Library by  doxygen 1.4.7