[][src]Module pushrod::core

Main module containing the run loop for the UI components, containers for windows and Widget trait objects, and so on. Contains the core elements required to build a UI.

Modules

callbacks

This is a per-widget event store that is used to call an event handler when an event is triggered.

drawing_texture

This provides a 3D drawing texture that is offloaded onto the GPU for graphics processing. It is used internally by the drawing loop.

horizontal_layout_manager

This provides a HorizontalLayoutManager object, which accepts Widget objects, and resizes and repositions them according to the width of the manager. Widgets are repositioned in the HorizontalLayoutManager's top level widget equally.

layout_manager

This provides a layout manager to the WidgetStore, which contains a list of known widgets by ID and their point offsets within the layouts.

main

Main module for Pushrod, contains the run loop code responsible for translating OS-level events to well known structures, maintaining a list of active windows and their widgets, and propagating events where appropriate.

point

Contains geometric shape representations: Point and Size, representing a point on the screen within a window, and the size of an object. (This may change to Piston's representations.)

vertical_layout_manager

This provides a VerticalLayoutManager object, which accepts Widget objects, and resizes and repositions them according to the height of the manager. Widgets are repositioned in the VerticalLayoutManager's top level widget equally.

widget_store

This is a cache that is used to store Widget objects for a Pushrod run loop. Each Pushrod object that is created contains its own set of Widget objects, stored here.