summaryrefslogtreecommitdiff
path: root/src/c_fl_screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_screen.h')
-rw-r--r--src/c_fl_screen.h29
1 files changed, 23 insertions, 6 deletions
diff --git a/src/c_fl_screen.h b/src/c_fl_screen.h
index 287f170..fd92e5d 100644
--- a/src/c_fl_screen.h
+++ b/src/c_fl_screen.h
@@ -4,14 +4,31 @@
#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);
+extern "C" inline int fl_screen_x();
+extern "C" inline int fl_screen_y();
+extern "C" inline int fl_screen_w();
+extern "C" inline int fl_screen_h();
+
+
+extern "C" inline int fl_screen_count();
+extern "C" inline void fl_screen_dpi(float &h, float &v, int n);
+
+
+extern "C" inline int fl_screen_num(int x, int y);
+extern "C" inline int fl_screen_num2(int x, int y, int w, int h);
+
+
+extern "C" inline void fl_screen_work_area(int &x, int &y, int &w, int &h, int px, int py);
+extern "C" inline void fl_screen_work_area2(int &x, int &y, int &w, int &h, int n);
+extern "C" inline void fl_screen_work_area3(int &x, int &y, int &w, int &h);
+
+
+extern "C" inline void fl_screen_xywh(int &x, int &y, int &w, int &h, int px, int py);
+extern "C" inline void fl_screen_xywh2(int &x, int &y, int &w, int &h, int n);
+extern "C" inline void fl_screen_xywh3(int &x, int &y, int &w, int &h);
+extern "C" inline void fl_screen_xywh4(int &x, int &y, int &w, int &h, int px, int py, int pw, int ph);
#endif