Debian Codegraph @

terps/tads/glk/osnoban.c

raw symbols SCIP
1 /******************************************************************************
2 * *
3 * Copyright (C) 2006-2009 by Tor Andersson. *
4 * *
5 * This file is part of Gargoyle. *
6 * *
7 * Gargoyle is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. *
11 * *
12 * Gargoyle is distributed in the hope that it will be useful, *
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15 * GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU General Public License *
18 * along with Gargoyle; if not, write to the Free Software *
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
20 * *
21 *****************************************************************************/
22
23 /* osansi4.c -- dummy banner interface */
24
25 #include "os.h"
26
27 void *os_banner_create(void *parent, int where, void *other, int wintype,
28 int align, int siz, int siz_units,
29 unsigned long style)
30 {
31 return 0;
32 }
33
34 int os_banner_get_charwidth(void *banner_handle) { return 80; }
35 int os_banner_get_charheight(void *banner_handle) { return 1; }
36
37 int os_banner_getinfo(void *banner_handle, os_banner_info_t *info)
38 {
39 info->align = OS_BANNER_ALIGN_TOP;
40 info->style = 0;
41 info->rows = 80;
42 info->columns = 1;
43 info->pix_width = 0;
44 info->pix_height = 0;
45 info->os_line_wrap = 1;
46 return 1;
47 }
48
49 void os_banner_delete(void *banner_handle) {}
50 void os_banner_orphan(void *banner_handle) {}
51 void os_banner_clear(void *banner_handle) {}
52 void os_banner_disp(void *banner_handle, const char *txt, size_t len) {}
53 void os_banner_set_attr(void *banner_handle, int attr) {}
54 void os_banner_set_color(void *banner_handle, os_color_t fg, os_color_t bg) {}
55 void os_banner_set_screen_color(void *banner_handle, os_color_t color) {}
56 void os_banner_flush(void *banner_handle) {}
57 void os_banner_set_size(void *banner_handle, int siz, int siz_units, int is_advisory) {}
58 void os_banner_size_to_contents(void *banner_handle) {}
59 void os_banner_start_html(void *banner_handle) {}
60 void os_banner_end_html(void *banner_handle) {}
61 void os_banner_goto(void *banner_handle, int row, int col) {}
62 void os_banners_redraw(void) {}
63