New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface refactor #16

Merged
merged 12 commits into from Aug 18, 2016

Fix spacing in docs

  • Loading branch information...
ReeceStevens committed Aug 9, 2016
commit 640085ea75a13f2b3855a2e0e9373744289efb74
View
@@ -13,10 +13,13 @@ Screen (top level)
## `Screen`
`Screen` has three primary methods:
1. `add(const ScreenElement& e)` adds a `ScreenElement` object to the
`Screen`'s Vector of display elements.
2. `initalDraw()` renders the initial view for the screen by calling the `draw`
method on each element
3. `update()` redraws any `ScreenElement` objects that have dynamically
changing data by calling the `update` method on each element
@@ -25,7 +28,9 @@ Screen (top level)
displayed on the screen. All `ScreenElement` objects have a complete set of
coordinates describing their location on the screen in relative and absolute
coordinates. In addition, they have two methods:
1. `virtual void draw(void)` performs the initial render for the object
1. `virtual void draw(void)` performs the initial render for the objectj
2. `virtual void update(void)` performs any update tasks that may be required
By default, both `draw` and `update` are simply empty functions. Any derived
ProTip! Use n and p to navigate between commits in a pull request.