rust-pushrod-render

Crates.iorust-pushrod-render
lib.rsrust-pushrod-render
version0.1.9
sourcesrc
created_at2019-09-30 07:01:11.852484
updated_at2019-10-28 05:06:34.740877
descriptionPushrod Rendering Library
homepage
repositoryhttps://www.github.com/KenSuenobu/rust-pushrod-render/
max_upload_size
id168761
size67,829
Ken Suenobu (KenSuenobu)

documentation

http://docs.rs/crate/rust-pushrod-render/

README

rust-pushrod-render

Pushrod Rendering Engine

docs.rs for rust-pushrod-render

Purpose

This is the rendering system that is used by the Pushrod library. This library is intended to be used with the rust-pushrod library, which contains the Widget library and so much more.

Status

  • Create Widget Skeleton library
    • Create BaseWidget that draws a border with a color and fills the background
    • Create WidgetConfig that stores Widget configuration data
    • Create CallbackRegistry to store Widget callback actions on Events
    • Modify widget macro to return CallbackRegistry automatically
  • Create Widget Cache
    • Add draw function to handle drawing of widgets in the cache
    • Implement ability to hide/show widgets
    • Implement ability to enable/disable widgets
    • When Widget is hidden, do not process events for that Widget.
    • When Widget is disabled, do not process mouse events for that Widget, but allow drawing.
    • Modify draw so that it walks the Widget tree
    • Add ability to look up widgets by ID and name
  • Add sample widgets to demo
    • Demo should use BaseWidget with mouse over, exit, move, and click
  • Documentation

Prerequisites for pushrod-render

Library Version
SDL2 0.32
Commit count: 0

cargo fmt