Skip to content
This repository was archived by the owner on Oct 29, 2023. It is now read-only.

Standard controls

Simon edited this page Jan 1, 2021 · 5 revisions

Standard controls are controls which are implemented by defualt in the Fungal UI framework. Extra functionality and constrctor arguments are documented in the controls' respective header files.

  • button - utilizes the on_enter callback as a substitute to the on_click callback, present in more traditional UI frameworks.

  • buttonbox - contains standardized buttons such as "OK" or "Cancel". These are specified as flags in the BUTTON_TYPE enum.

  • checkbox - gets a boolean input from the user.

  • multiselect - gets multiple non-exclusive inputs from the user.

  • numselect - gets a numerical input from the user in a specified range through specified increments.

  • radioselect - gets a choice of one option out of a set of options from the user.

  • textfield - gets text input from the user. These also have the added functionality of password input through the hide flag in the constructor or by using the textfield::set_hidden function.

Clone this wiki locally