Skip to content

Forms Library

Marq Watkin edited this page Jun 10, 2015 · 5 revisions

Introduction

The Forms library is a hierarchical UI library used in OpenApoc. The UI can be navigated by keyboard, so it does not require a mouse to be present.

Controls

Control

Control is the base class of all controls and contains the common functionality.
Details

Form

The Form class is a special top-level only Control. It is your primary start location for creating a Forms UI screen.
Details

CheckBox

CheckBox is a simple control for yes/no questions.
Details

Graphic

This control is used for hosting images on the form.
Details

GraphicButton

A button control that is completely rendered by images.
Details

HScrollBar

A Horizontal Scrollbar, for numeric scales and scrolling.
Details

Label

Text rendering control.
Details

List

Stacks child controls into a vertical list with scrolling capabilities.
Details

TextButton

A button control that has a standard graphic shape with text.
Details

TextEdit

Text editing control, for inputing user information.
Details

VScrollBar

A Vertical Scrollbar, for numeric scales and scrolling.
Details