|
|
1.1 root 1: /* $Id: win32cio.h,v 1.10 2005/10/21 23:08:12 deuce Exp $ */
2:
3: /****************************************************************************
4: * @format.tab-size 4 (Plain Text/Source Code File Header) *
5: * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
6: * *
7: * Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html *
8: * *
9: * This library is free software; you can redistribute it and/or *
10: * modify it under the terms of the GNU Lesser General Public License *
11: * as published by the Free Software Foundation; either version 2 *
12: * of the License, or (at your option) any later version. *
13: * See the GNU Lesser General Public License for more details: lgpl.txt or *
14: * http://www.fsf.org/copyleft/lesser.html *
15: * *
16: * Anonymous FTP access to the most recent released source is available at *
17: * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net *
18: * *
19: * Anonymous CVS access to the development source and modification history *
20: * is available at cvs.synchro.net:/cvsroot/sbbs, example: *
21: * cvs -d :pserver:[email protected]:/cvsroot/sbbs login *
22: * (just hit return, no password is necessary) *
23: * cvs -d :pserver:[email protected]:/cvsroot/sbbs checkout src *
24: * *
25: * For Synchronet coding style and modification guidelines, see *
26: * http://www.synchro.net/source.html *
27: * *
28: * You are encouraged to submit any modifications (preferably in Unix diff *
29: * format) via e-mail to [email protected] *
30: * *
31: * Note: If this box doesn't appear square, then you need to fix your tabs. *
32: ****************************************************************************/
33:
34: #ifndef _WIN32CIO_H_
35: #define _WIN32CIO_H_
36:
37: #ifdef __cplusplus
38: extern "C" {
39: #endif
40: void win32_delay(long msec);
41: int win32_kbhit(void);
42: int win32_getch(void);
43: int win32_getche(void);
44: int win32_getmouse(struct cio_mouse_event *mevent);
45: int win32_hidemouse(void);
46: int win32_showmouse(void);
47:
48: int win32_gettext(int left, int top, int right, int bottom, void*);
49: void win32_gettextinfo(struct text_info*);
50: void win32_gotoxy(int x, int y);
51: void win32_highvideo(void);
52: void win32_lowvideo(void);
53: void win32_normvideo(void);
54: int win32_puttext(int left, int top, int right, int bottom, void*);
55: void win32_textattr(int newattr);
56: void win32_textbackground(int newcolor);
57: void win32_textcolor(int newcolor);
58: void win32_textmode(int newmode);
59: void win32_setcursortype(int);
60: int win32_getch(void);
61: int win32_getche(void);
62: int win32_kbhit(void);
63: int win32_putch(int);
64: int win32_wherex(void);
65: int win32_wherey(void);
66: void win32_settitle(const char *title);
67: int win32_initciolib(long inmode);
68: void win32_copytext(const char *text, size_t buflen);
69: char *win32_getcliptext(void);
70: void win32_suspend(void);
71: void win32_resume(void);
72:
73: #ifdef __cplusplus
74: }
75: #endif
76:
77: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.