diff options
author | Ole Loots <ole@monochrom.net> | 2011-12-04 12:53:03 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2011-12-04 12:53:03 +0000 |
commit | 7d4a0be284d72a3cf15c2a7dec38590f7fe474e4 (patch) | |
tree | 986b0a6dbed6fe7cdd40e3563a14ee77bdcf7352 /atari/plot/plotter.h | |
parent | 905b3c26410e0232e063cd0e8a7a17ad830e3d80 (diff) | |
download | netsurf-7d4a0be284d72a3cf15c2a7dec38590f7fe474e4.tar.gz netsurf-7d4a0be284d72a3cf15c2a7dec38590f7fe474e4.tar.bz2 |
Fixed header, made different font plotters optional.
svn path=/trunk/netsurf/; revision=13230
Diffstat (limited to 'atari/plot/plotter.h')
-rwxr-xr-x | atari/plot/plotter.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/atari/plot/plotter.h b/atari/plot/plotter.h index fe0d4c048..0c0f17f40 100755 --- a/atari/plot/plotter.h +++ b/atari/plot/plotter.h @@ -64,17 +64,8 @@ /* Error codes: */
#define ERR_BUFFERSIZE_EXCEEDS_SCREEN 1 /* The buffer allocated is larger than the screen */
-#define ERR_NO_MEM 2 /* Not enough memory for requested operation */
-#define ERR_PLOTTER_NOT_AVAILABLE 3 /* invalid plotter driver name passed */
-
-/* Error code translations: */
-static const char * plot_error_codes[] =
-{
- "None",
- "ERR_BUFFERSIZE_EXCEEDS_SCREEN",
- "ERR_NO_MEM",
- "ERR_PLOTTER_NOT_AVAILABLE"
-};
+#define ERR_NO_MEM 2 /* Not enough memory for requested operation */
+#define ERR_PLOTTER_NOT_AVAILABLE 3 /* invalid plotter driver name passed */
/* Grapics & Font Plotter "Objects": */
typedef struct s_font_plotter * FONT_PLOTTER;
@@ -247,9 +238,6 @@ struct s_font_driver_table_entry typedef struct s_driver_table_entry * PLOTTER_INFO;
typedef struct s_font_driver_table_entry * FONT_PLOTTER_INFO;
-/* get index to driver in driver list by name */
-static int drvrname_idx( char * name );
-
/* get s_driver_table_entry from driver table */
struct s_driver_table_entry * get_screen_driver_entry(char * name);
|