The OpenD Programming Language

ScrollableContainerWidget

A widget meant to contain other widgets that may need to scroll.

Currently buggy.

class ScrollableContainerWidget : ContainerWidget {
HorizontalScrollbar hsb;
VerticalScrollbar vsb;
ContainerWidget container;
}

Constructors

this
this(Widget parent)

Members

Functions

setViewableArea
void setViewableArea(int width, int height)

Meta

History

Added July 1, 2021 (dub v10.2)

On January 3, 2022, I tried to use it in a few other cases and found it only worked well in the original test case. Since it still sucks, I think I'm going to rewrite it again.