2005-12-20 01:50:23 +03:00
|
|
|
/*
|
2006-11-27 18:35:18 +03:00
|
|
|
* This file is part of NetSurf, http://netsurf-browser.org/
|
2005-12-20 01:50:23 +03:00
|
|
|
* Licensed under the GNU General Public License,
|
|
|
|
* http://www.opensource.org/licenses/gpl-license
|
|
|
|
* Copyright 2005 James Bursa <bursa@users.sourceforge.net>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
* Target independent plotting (GDK / GTK+ interface).
|
|
|
|
*/
|
|
|
|
|
2006-11-27 20:13:24 +03:00
|
|
|
#ifndef NETSURF_GTK_PLOTTERS_H
|
|
|
|
#define NETSURF_GTK_PLOTTERS_H 1
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
2005-12-20 01:50:23 +03:00
|
|
|
struct plotter_table;
|
|
|
|
|
2006-09-06 15:29:14 +04:00
|
|
|
extern const struct plotter_table nsgtk_plotters;
|
2005-12-20 01:50:23 +03:00
|
|
|
|
2006-11-27 20:13:24 +03:00
|
|
|
extern GtkWidget *current_widget;
|
|
|
|
extern GdkDrawable *current_drawable;
|
|
|
|
extern GdkGC *current_gc;
|
|
|
|
#ifdef CAIRO_VERSION
|
|
|
|
extern cairo_t *current_cr;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void nsgtk_plot_set_scale(float s);
|
|
|
|
float nsgtk_plot_get_scale(void);
|
|
|
|
void nsgtk_set_colour(colour c);
|
|
|
|
void nsgtk_plot_caret(int x, int y, int h);
|
|
|
|
|
|
|
|
#endif /* NETSURF_GTK_PLOTTERS_H */
|