projects
/
oftp
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[oftp]
/
src
/
main.c
1
#include <conio.h>
2
#include "tgfx.h"
3
4
int main(void)
5
{
6
tg_bgchar(' ');
7
tg_clear();
8
9
tg_bgcolor(1);
10
tg_rect("Remote", 0, 0, 40, 23, TGFX_FRAME);
11
tg_rect("Local", 40, 0, 40, 23, TGFX_FRAME);
12
13
tg_fgcolor(7);
14
tg_text(0, 24, "fooolalala bar");
15
/* tg_setcursor(2, 24);*/
16
17
while(getch() != 27);
18
19
tg_bgchar(' ');
20
tg_bgcolor(0);
21
tg_fgcolor(7);
22
tg_clear();
23
return 0;
24
}