summaryrefslogtreecommitdiff
path: root/src/c_fl_screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_screen.cpp')
-rw-r--r--src/c_fl_screen.cpp33
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);
+}
+