File: libemx.h

package info (click to toggle)
crawl 1%3A4.0.0beta23-2woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,264 kB
  • ctags: 5,033
  • sloc: cpp: 100,977; perl: 233; makefile: 63; sh: 11
file content (38 lines) | stat: -rw-r--r-- 775 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef LIBEMX_H
#define LIBEMX_H
#ifndef __LIBEMX_C__


#include <stdlib.h>
#include <conio.h>

#define itoa _itoa


#define _NORMALCURSOR 1
#define _NOCURSOR 0


void init_emx();
void deinit_emx();
void _setcursortype(int curstype);
void clrscr();
void gotoxy(int x, int y);
void textcolor(int c);
void cprintf (const char *format, ...);

void puttext(int x, int y, int lx, int ly, const char *buf);
void puttext(int x, int y, int lx, int ly, unsigned const char *buf);
void gettext(int x, int y, int lx, int ly, char *buf);
void gettext(int x, int y, int lx, int ly, unsigned char *buf);
void window(int x, int y, int lx, int ly);
int wherex();
int wherey();
void putch(char c);
int kbhit();
void delay(int ms);
void textbackground(int c);


#endif // __LIBEMX_C__
#endif