Annotation of sbbs/src/conio/x_cio.h, revision 1.1.1.2

1.1.1.2 ! root        1: /* $Id: x_cio.h,v 1.18 2008/01/21 07:37:45 deuce Exp $ */
1.1       root        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: #ifdef __unix__
                     35: #if (defined CIOLIB_IMPORTS)
                     36:  #undef CIOLIB_IMPORTS
                     37: #endif
                     38: #if (defined CIOLIB_EXPORTS)
                     39:  #undef CIOLIB_EXPORTS
                     40: #endif
                     41: 
                     42: #include "ciolib.h"
1.1.1.2 ! root       43: #include "x_events.h"
1.1       root       44: 
                     45: #ifdef __cplusplus
                     46: extern "C" {
                     47: #endif
                     48: int x_puttext(int sx, int sy, int ex, int ey, void *fill);
                     49: int x_gettext(int sx, int sy, int ex, int ey, void *fill);
                     50: void x_textattr(int attr);
                     51: int x_kbhit(void);
                     52: void x_delay(long msec);
                     53: int x_wherey(void);
                     54: int x_wherex(void);
                     55: int x_putch(int ch);
                     56: void x_gotoxy(int x, int y);
1.1.1.2 ! root       57: int x_init(void);
1.1       root       58: void x_initciolib(long inmode);
                     59: void x_gettextinfo(struct text_info *info);
                     60: void x_setcursortype(int type);
                     61: int x_getch(void);
                     62: int x_getche(void);
                     63: int x_beep(void);
                     64: void x_textmode(int mode);
                     65: void x_setname(const char *name);
                     66: void x_settitle(const char *title);
                     67: void x_copytext(const char *text, size_t buflen);
                     68: char *x_getcliptext(void);
                     69: int x_setfont(int font, int force);
                     70: int x_getfont(void);
                     71: int x_loadfont(char *filename);
1.1.1.2 ! root       72: int x_get_window_info(int *width, int *height, int *xpos, int *ypos);
        !            73: void x11_drawrect(int xoffset,int yoffset,int width,int height,unsigned char *data);
        !            74: void x11_flush(void);
1.1       root       75: #ifdef __cplusplus
                     76: }
                     77: #endif
                     78: 
                     79: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.