NetSurf
plotters.h
Go to the documentation of this file.
1/*
2 * Copyright 2008 François Revol <mmu_man@users.sourceforge.net>
3 * Copyright 2005 James Bursa <bursa@users.sourceforge.net>
4 *
5 * This file is part of NetSurf, http://www.netsurf-browser.org/
6 *
7 * NetSurf 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; version 2 of the License.
10 *
11 * NetSurf is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20/** \file
21 * Target independent plotting (BeOS interface).
22 */
23
24#ifndef NETSURF_BEOS_PLOTTERS_H
25#define NETSURF_BEOS_PLOTTERS_H 1
26
27extern "C" {
28
29struct plotter_table;
30
31extern const struct plotter_table nsbeos_plotters;
32
33}
34
35#include <View.h>
36
37extern BView *current_view;
38
39extern BView *nsbeos_current_gc(void);
40extern BView *nsbeos_current_gc_lock(void);
41extern void nsbeos_current_gc_unlock(void);
42extern void nsbeos_current_gc_set(BView *view);
43
44rgb_color nsbeos_rgb_colour(colour c);
46void nsbeos_plot_caret(int x, int y, int h);
47
48#endif /* NETSURF_GTK_PLOTTERS_H */
static struct s_view view
Definition: plot.c:199
BView * nsbeos_current_gc_lock(void)
Definition: plotters.cpp:76
const struct plotter_table nsbeos_plotters
beos plotter operation table
Definition: plotters.cpp:739
rgb_color nsbeos_rgb_colour(colour c)
Definition: plotters.cpp:169
void nsbeos_current_gc_set(BView *view)
Definition: plotters.cpp:93
BView * current_view
Definition: plotters.cpp:47
void nsbeos_plot_caret(int x, int y, int h)
Plot a caret.
Definition: plotters.cpp:194
void nsbeos_set_colour(colour c)
Definition: plotters.cpp:181
void nsbeos_current_gc_unlock(void)
Definition: plotters.cpp:85
BView * nsbeos_current_gc(void)
Definition: plotters.cpp:70
Plotter operations table.
Definition: plotters.h:102
uint32_t colour
Colour type: XBGR.
Definition: types.h:35