summaryrefslogtreecommitdiff
path: root/src/c_fl_graphics_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_graphics_driver.h')
-rw-r--r--src/c_fl_graphics_driver.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/src/c_fl_graphics_driver.h b/src/c_fl_graphics_driver.h
index f68ad1f..e070235 100644
--- a/src/c_fl_graphics_driver.h
+++ b/src/c_fl_graphics_driver.h
@@ -8,27 +8,25 @@
#define FL_GRAPHICS_DRIVER_GUARD
+typedef void* GRAPHICSDRIVER;
-typedef void* GRAPHICS_DRIVER;
+extern "C" unsigned int fl_graphics_driver_color(GRAPHICSDRIVER g);
+extern "C" int fl_graphics_driver_descent(GRAPHICSDRIVER g);
+extern "C" int fl_graphics_driver_height(GRAPHICSDRIVER g);
+extern "C" double fl_graphics_driver_width(GRAPHICSDRIVER g, unsigned int c);
+extern "C" double fl_graphics_driver_width2(GRAPHICSDRIVER g, const char * s, int l);
+extern "C" int fl_graphics_driver_get_font(GRAPHICSDRIVER g);
+extern "C" int fl_graphics_driver_size(GRAPHICSDRIVER g);
+extern "C" void fl_graphics_driver_set_font(GRAPHICSDRIVER g, int f, int s);
-extern "C" unsigned int fl_graphics_driver_color(GRAPHICS_DRIVER g);
-
-
-extern "C" int fl_graphics_driver_descent(GRAPHICS_DRIVER g);
-extern "C" int fl_graphics_driver_height(GRAPHICS_DRIVER g);
-extern "C" double fl_graphics_driver_width(GRAPHICS_DRIVER g, unsigned int c);
-extern "C" double fl_graphics_driver_width2(GRAPHICS_DRIVER g, const char * s, int l);
-extern "C" int fl_graphics_driver_get_font(GRAPHICS_DRIVER g);
-extern "C" int fl_graphics_driver_size(GRAPHICS_DRIVER g);
-extern "C" void fl_graphics_driver_set_font(GRAPHICS_DRIVER g, int f, int s);
-
-
-extern "C" void fl_graphics_driver_draw_scaled(GRAPHICS_DRIVER g, void * i, int x, int y, int w, int h);
+extern "C" void fl_graphics_driver_draw_scaled(GRAPHICSDRIVER g, void * i,
+ int x, int y, int w, int h);
#endif
+