repo.or.cz
/
NXEngine.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
NXEngine v1.0.0.5
[NXEngine.git]
/
graphics
/
safemode.h
blob
12e4b338ffc2692e1cb312216a87074c6a687d67
1
2
#ifndef _SAFEMODE_H
3
#define _SAFEMODE_H
4
5
enum
// special Y positioning arguments for moveto
6
{
7
SM_UPPER_THIRD
= -
1
,
8
SM_CENTER
= -
2
,
9
SM_LOWER_THIRD
= -
3
,
10
SM_NONE
= -
4
,
11
SM_MIDUPPER_Y
= -
5
12
};
13
14
namespace
safemode
15
{
16
bool
init
();
17
void
close
();
18
19
void
moveto
(
int
y
);
20
bool
print
(
const char
*
fmt
, ...);
21
void
clear
();
22
23
void
status
(
const char
*
fmt
, ...);
24
void
clearstatus
();
25
26
int
run_until_key
(
bool
delay
=
true
);
27
};
28
29
#endif