diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-21 21:04:54 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-21 21:04:54 +1300 |
commit | b4438b2fbe895694be98e6e8426103deefc51448 (patch) | |
tree | 760d86cd7c06420a91dad102cc9546aee73146fc /body/c_fl_screen.h | |
parent | a4703a65b015140cd4a7a985db66264875ade734 (diff) |
Split public API and private implementation files into different directories
Diffstat (limited to 'body/c_fl_screen.h')
-rw-r--r-- | body/c_fl_screen.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/body/c_fl_screen.h b/body/c_fl_screen.h new file mode 100644 index 0000000..9b4d4ec --- /dev/null +++ b/body/c_fl_screen.h @@ -0,0 +1,38 @@ + + +// Programmed by Jedidiah Barber +// Released into the public domain + + +#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); + + +extern "C" int fl_screen_num(int x, int y); +extern "C" int fl_screen_num2(int x, int y, int w, int h); + + +extern "C" void fl_screen_work_area(int &x, int &y, int &w, int &h, int px, int py); +extern "C" void fl_screen_work_area2(int &x, int &y, int &w, int &h, int n); +extern "C" void fl_screen_work_area3(int &x, int &y, int &w, int &h); + + +extern "C" void fl_screen_xywh(int &x, int &y, int &w, int &h, int px, int py); +extern "C" void fl_screen_xywh2(int &x, int &y, int &w, int &h, int n); +extern "C" void fl_screen_xywh3(int &x, int &y, int &w, int &h); +extern "C" void fl_screen_xywh4(int &x, int &y, int &w, int &h, int px, int py, int pw, int ph); + + +#endif + + |