repo.or.cz
/
fbpad.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remap fb cmap after vt change
[fbpad.git]
/
pad.h
blob
adc566503c1a79cff325de6804d5a58127eead31
1
#define MAXCHARS 1 << 15
2
3
void
pad_init
(
void
);
4
void
pad_free
(
void
);
5
void
pad_fg
(
int
fg
);
6
void
pad_bg
(
int
bg
);
7
void
pad_put
(
int
ch
,
int
r
,
int
c
);
8
int
pad_row
(
void
);
9
int
pad_col
(
void
);
10
int
pad_rows
(
void
);
11
int
pad_cols
(
void
);
12
void
pad_scroll
(
int
sr
,
int
nr
,
int
n
);
13
void
pad_show
(
int
r
,
int
c
,
int
flags
);
14
void
pad_blank
(
void
);
15
16
struct
pad_state
{
17
int
fg
,
bg
;
18
struct
square
{
19
int
c
;
20
int
fg
;
21
int
bg
;
22
}
screen
[
MAXCHARS
];
23
};
24
void
pad_save
(
struct
pad_state
*
state
);
25
void
pad_load
(
struct
pad_state
*
state
);
26
void
pad_shown
(
void
);