summaryrefslogtreecommitdiff
path: root/src/c_fl_screen.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-07-30 18:47:37 +1000
committerJed Barber <jjbarber@y7mail.com>2017-07-30 18:47:37 +1000
commit229b6b74e7c9cc09ce5c49023afb0eb745ac9db1 (patch)
tree80b79da37c30d65cdea00bb575c417a284c1547a /src/c_fl_screen.h
parentdc8e0bf275d2b0cc044022b13e5139d1cbc6fd86 (diff)
Forgot to add the c++ side of the screen functions...
Diffstat (limited to 'src/c_fl_screen.h')
-rw-r--r--src/c_fl_screen.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/c_fl_screen.h b/src/c_fl_screen.h
new file mode 100644
index 0000000..287f170
--- /dev/null
+++ b/src/c_fl_screen.h
@@ -0,0 +1,18 @@
+
+
+#ifndef FL_SCREEN_GUARD
+#define FL_SCREEN_GUARD
+
+
+extern "C" int fl_screen_x();
+extern "C" int fl_screen_y();
+extern "C" int fl_screen_w();
+extern "C" int fl_screen_h();
+
+
+extern "C" int fl_screen_count();
+extern "C" void fl_screen_dpi(float &h, float &v, int n);
+
+
+#endif
+