diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-07-30 18:47:37 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-07-30 18:47:37 +1000 |
commit | 229b6b74e7c9cc09ce5c49023afb0eb745ac9db1 (patch) | |
tree | 80b79da37c30d65cdea00bb575c417a284c1547a /src/c_fl_screen.cpp | |
parent | dc8e0bf275d2b0cc044022b13e5139d1cbc6fd86 (diff) |
Forgot to add the c++ side of the screen functions...
Diffstat (limited to 'src/c_fl_screen.cpp')
-rw-r--r-- | src/c_fl_screen.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
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 <FL/Fl.H> +#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); +} + |