NetSurf
statusbar.h
Go to the documentation of this file.
1/*
2 * Copyright 2010 Ole Loots <ole@monochrom.net>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef NS_ATARI_STATUSBAR
20#define NS_ATARI_STATUSBAR
21
22#define STATUSBAR_HEIGHT 16
23#define STATUSBAR_MAX_SLEN 255
24
26#ifdef WITH_COMPONENT_STATUSBAR
27 COMPONENT * comp;
28#endif
30 size_t textlen;
32 short aes_win;
33};
34
37void sb_set_text( CMP_STATUSBAR sb , const char * text );
38void sb_attach(CMP_STATUSBAR sb, struct gui_window * gw);
39
40#endif
void sb_set_text(CMP_STATUSBAR sb, const char *text)
Definition: statusbar.c:221
CMP_STATUSBAR sb_create(struct gui_window *gw)
Definition: statusbar.c:199
void sb_attach(CMP_STATUSBAR sb, struct gui_window *gw)
Definition: statusbar.c:215
#define STATUSBAR_MAX_SLEN
Definition: statusbar.h:23
void sb_destroy(CMP_STATUSBAR s)
Definition: statusbar.c:207
first entry in window list
Definition: gui.c:298
short aes_win
Definition: statusbar.h:32
size_t textlen
Definition: statusbar.h:30
char text[STATUSBAR_MAX_SLEN+1]
Definition: statusbar.h:29
bool attached
Definition: statusbar.h:31
static nserror text(const struct redraw_context *ctx, const struct plot_font_style *fstyle, int x, int y, const char *text, size_t length)
Text plotting.
Definition: plot.c:978