[][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

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 performing callbacks for 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.

window

Stores a PistonWindow and accompanying Widget trait objects. Allows the main run loop to interact with widgets by signalling when a UI event triggers a callback that is appropriate for that widget. Also contains helper functions to determine which widget is at a specific point in the PistonWindow.