And another one's gone...

This commit is contained in:
2025-08-09 12:01:00 -04:00
parent 73df5edac6
commit 04232a17c1
2 changed files with 11 additions and 19 deletions

View File

@ -53,8 +53,7 @@ private:
Fl_Scrollbar *vscrollbar, *hscrollbar;
GadgetOrientation gadgetOrientation[4];
lout::container::typed::List <lout::object::TypedPointer < Fl_Widget> >
*gadgets;
std::list< std::unique_ptr < Fl_Widget > > gadgets;
void adjustScrollbarsAndGadgetsAllocation ();
void adjustScrollbarValues ();
@ -104,7 +103,7 @@ public:
void setGadgetOrientation (bool hscrollbarVisible, bool vscrollbarVisible,
GadgetOrientation gadgetOrientation);
void setDragScroll (bool enable) { hasDragScroll = enable ? 1 : 0; }
void addGadget (Fl_Widget *gadget);
void addGadget( std::unique_ptr< Fl_Widget > gadget );
void setScrollbarOnLeft (bool enable);
void setScrollbarPageMode(bool enable);
void setPageOverlap(int overlap);