[][src]Module pushrod::widget

Widget library used for on-screen UI interaction. This is a core set of Widget objects that are used to allow users to interact with an application. Contains a core set of widgets that can be extended.

Currently contains:

  • Base Widget (for drawing a plain background)
  • Box Widget (for drawing a plain background with a box and a colored border)
  • Text Widget (for drawing text)
  • Timer Widget (for performing timer operations)
  • Image Widget (for drawing images)

Modules

box_widget

Box component: draws a box on the screen with adjustable border color and width.

config

Configurable definition, used by Widget objects to store configuration settings.

image_widget
text_widget

Text component: draws text on the screen with an adjustable text, font size, color, and font name.

timer_widget

Timer component: triggers a callback after a certain amount of time.

widget

Base component and UI Components (Widget) library. These components are used for on-screen interactions between the user and the application.