From 52bfbbc2fac6dd7555a777d38c4f8d8227b41008 Mon Sep 17 00:00:00 2001 From: silverduner Date: Sat, 12 Feb 2022 14:46:12 -0500 Subject: expose position(int, int), x(), y(), w() and h() from Fl_File_Chooser (#80) * expose position(int, int), x(), y(), w() and h() from Fl_File_Chooser for positioning * exposed size() and resize() in Fl_File_Chooser. --- src/Fl_File_Chooser.cxx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'src/Fl_File_Chooser.cxx') diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index fb7f39642..f295badd0 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -454,6 +454,34 @@ int Fl_File_Chooser::visible() { return window->visible(); } +void Fl_File_Chooser::position(int x, int y) { + window->position(x, y); +} + +int Fl_File_Chooser::x() const { + return window->x(); +} + +int Fl_File_Chooser::y() const { + return window->y(); +} + +int Fl_File_Chooser::w() const { + return window->w(); +} + +int Fl_File_Chooser::h() const { + return window->h(); +} + +void Fl_File_Chooser::size(int w, int h) { + window->size(w, h); +} + +void Fl_File_Chooser::resize(int x, int y, int w, int h) { + window->resize(x, y, w, h); +} + Fl_Widget* Fl_File_Chooser::add_extra(Fl_Widget* gr) { Fl_Widget* ret=ext_group; if (gr==ext_group) { -- cgit v1.2.3