summaryrefslogtreecommitdiff
path: root/c_fl_group.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-07-18 15:58:30 +1000
committerJed Barber <jjbarber@y7mail.com>2016-07-18 15:58:30 +1000
commit6aa9475d598065081866913bb86a049a6d2d0c1a (patch)
treefd2074432185ed1d9f9dd8b3e9ae8e2344cbe7c5 /c_fl_group.cpp
parentf419b275ee91792e08f211a588d891c4aa6bedac (diff)
Decided on widget init problem, started on rudimentary editor appearance
Diffstat (limited to 'c_fl_group.cpp')
-rw-r--r--c_fl_group.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/c_fl_group.cpp b/c_fl_group.cpp
index c227169..58cb6f3 100644
--- a/c_fl_group.cpp
+++ b/c_fl_group.cpp
@@ -17,11 +17,15 @@ void free_fl_group(GROUP g) {
}
+
+
void fl_group_end(GROUP g) {
reinterpret_cast<Fl_Group*>(g)->end();
}
+
+
void fl_group_add(GROUP g, WIDGET item) {
reinterpret_cast<Fl_Group*>(g)->add(reinterpret_cast<Fl_Widget*>(item));
}
@@ -32,11 +36,6 @@ void fl_group_clear(GROUP g) {
}
-int fl_group_find(GROUP g, WIDGET item) {
- return reinterpret_cast<Fl_Group*>(g)->find(reinterpret_cast<Fl_Widget*>(item));
-}
-
-
void fl_group_insert(GROUP g, WIDGET item, int place) {
reinterpret_cast<Fl_Group*>(g)->insert(*(reinterpret_cast<Fl_Widget*>(item)), place);
}