summaryrefslogtreecommitdiff
path: root/body/c_fl_screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'body/c_fl_screen.cpp')
-rw-r--r--body/c_fl_screen.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/body/c_fl_screen.cpp b/body/c_fl_screen.cpp
index d0e8019..7a5fc2f 100644
--- a/body/c_fl_screen.cpp
+++ b/body/c_fl_screen.cpp
@@ -10,10 +10,22 @@
+const int fl_enum_mode_rgb = FL_RGB;
+const int fl_enum_mode_rgb8 = FL_RGB8;
+const int fl_enum_mode_double = FL_DOUBLE;
+const int fl_enum_mode_index = FL_INDEX;
+
+
+
+
void fl_screen_display(const char * v) {
Fl::display(v);
}
+int fl_screen_visual(int mode) {
+ return Fl::visual(mode);
+}
+
@@ -91,3 +103,22 @@ void fl_screen_xywh4(int &x, int &y, int &w, int &h, int px, int py, int pw, int
}
+
+
+int fl_screen_get_damage() {
+ return Fl::damage();
+}
+
+void fl_screen_set_damage(int v) {
+ Fl::damage(v);
+}
+
+void fl_screen_flush() {
+ Fl::flush();
+}
+
+void fl_screen_redraw() {
+ Fl::redraw();
+}
+
+