summaryrefslogtreecommitdiff
path: root/src/c_fl_window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_window.cpp')
-rw-r--r--src/c_fl_window.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/c_fl_window.cpp b/src/c_fl_window.cpp
index dba9ac1..fcaf6b0 100644
--- a/src/c_fl_window.cpp
+++ b/src/c_fl_window.cpp
@@ -96,6 +96,16 @@ void fl_window_hide(WINDOW n) {
}
+unsigned int fl_window_get_border(WINDOW n) {
+ return reinterpret_cast<Fl_Window*>(n)->border();
+}
+
+
+void fl_window_set_border(WINDOW n, int b) {
+ reinterpret_cast<Fl_Window*>(n)->border(b);
+}
+
+
void fl_window_set_label(WINDOW n, char* text) {
reinterpret_cast<Fl_Window*>(n)->copy_label(text);
}