diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2024-12-29 23:51:07 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2024-12-29 23:51:07 +1300 |
commit | b870f2a1e8fcb956ce316e6a600d7d0625604830 (patch) | |
tree | 1baa64b41151cdd956666c37eeabc9867b69b47c /src/c_fl_paged_device.h | |
parent | 42fff9f52462823b3cb315476fd9d67d4e7fc075 (diff) |
Revised FLTK.Devices.Surface subhierarchy
Diffstat (limited to 'src/c_fl_paged_device.h')
-rw-r--r-- | src/c_fl_paged_device.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/c_fl_paged_device.h b/src/c_fl_paged_device.h index ebdc3a8..aef50c1 100644 --- a/src/c_fl_paged_device.h +++ b/src/c_fl_paged_device.h @@ -8,21 +8,26 @@ #define FL_PAGED_DEVICE_GUARD +extern "C" const int fl_page_format_media; +extern "C" const int fl_page_layout_portrait; +extern "C" const int fl_page_layout_landscape; +extern "C" const int fl_page_layout_reversed; +extern "C" const int fl_page_layout_orientation; +extern "C" const int fl_no_page_formats; -typedef void* PAGED_DEVICE; +extern "C" void fl_paged_device_get_page_format(int i, const char ** n, int * w, int * h); +typedef void* PAGED_DEVICE; extern "C" PAGED_DEVICE new_fl_paged_device(void); extern "C" void free_fl_paged_device(PAGED_DEVICE p); - - extern "C" int fl_paged_device_start_job(PAGED_DEVICE p, int c); -extern "C" int fl_paged_device_start_job2(PAGED_DEVICE p, int c, int f, int t); +extern "C" int fl_paged_device_start_job2(PAGED_DEVICE p, int c, int * f, int * t); extern "C" void fl_paged_device_end_job(PAGED_DEVICE p); extern "C" int fl_paged_device_start_page(PAGED_DEVICE p); extern "C" int fl_paged_device_end_page(PAGED_DEVICE p); @@ -40,8 +45,10 @@ extern "C" void fl_paged_device_untranslate(PAGED_DEVICE p); extern "C" void fl_paged_device_print_widget(PAGED_DEVICE p, void * i, int dx, int dy); extern "C" void fl_paged_device_print_window(PAGED_DEVICE p, void * i, int dx, int dy); -extern "C" void fl_paged_device_print_window_part(PAGED_DEVICE p, void * i, int x, int y, int w, int h, int dx, int dy); +extern "C" void fl_paged_device_print_window_part(PAGED_DEVICE p, void * i, int x, int y, + int w, int h, int dx, int dy); #endif + |