From 229b6b74e7c9cc09ce5c49023afb0eb745ac9db1 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 30 Jul 2017 18:47:37 +1000 Subject: Forgot to add the c++ side of the screen functions... --- src/c_fl_screen.cpp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/c_fl_screen.cpp (limited to 'src/c_fl_screen.cpp') diff --git a/src/c_fl_screen.cpp b/src/c_fl_screen.cpp new file mode 100644 index 0000000..4b13602 --- /dev/null +++ b/src/c_fl_screen.cpp @@ -0,0 +1,33 @@ + + +#include +#include "c_fl_screen.h" + + +int fl_screen_x() { + return Fl::x(); +} + +int fl_screen_y() { + return Fl::y(); +} + +int fl_screen_w() { + return Fl::w(); +} + +int fl_screen_h() { + return Fl::h(); +} + + + + +int fl_screen_count() { + return Fl::screen_count(); +} + +void fl_screen_dpi(float &h, float &v, int n) { + Fl::screen_dpi(h, v, n); +} + -- cgit