minuit

DrawerComponent

A sheet that slides in from an edge, for filters, details or settings.

Java

Inside a PanelComponent constructor. The same call draws in every family and chroma.

Java
add(new ButtonComponent(at(new Box("more", 10, 10, 90, 20)), words.get("mymod.more"), () -> details.open(this)));
// Last, so that it is drawn on top and offered every input first.
details = add(new DrawerComponent(bounds(), SurfaceSide.RIGHT, 150).title(words.get("mymod.details")).message(about));

Right

DrawerComponent, right