Commit Graph

8 Commits (41e1838549125f9488f4751f0c0b199e1c001c46)

Author SHA1 Message Date
Noah 41e1838549 Add JS + History to Shell, Add Main Scene
* The shell now supports an "eval" command, or "$" for short.
  * Runs it in an Otto JavaScript VM.
  * Some global variables are available, like `d` is the Doodle object
    itself, `log`, `RGBA()` and `Point()`
* The shell supports paging through input history using the arrow keys.
* Added an initial Main Scene
2018-07-25 19:38:54 -07:00
Noah 94c1df050b Add initial User Interface Toolkit
With Labels and Buttons so far.

* Labels are pretty much complete, they wrap a render.Text and have a
  Compute() method that returns their Width and Height when rendered
  onto an SDL Surface.
* Buttons wrap a Label widget and Compute() its size and takes that into
  consideration when rendering itself. Buttons render themselves from
  scratch in a "Windows 95" themed way, with configurable colors, border
  widths and outline.
2018-07-25 09:03:49 -07:00
Noah e13dd62309 Clean up old SDL refs in render package 2018-07-21 20:57:41 -07:00
Noah a4fc6ec231 Update README 2018-06-17 14:15:59 -07:00
Noah 407ef7f455 Milestone: Screenshot to PNG Test Feature 2018-06-17 07:56:51 -07:00
Noah b7751507e4 Stabilize frame rate, add debug overlay 2018-06-16 19:59:23 -07:00
Noah a8e82f4dd2 Initial milestone ideas 2017-10-26 19:32:07 -07:00
Noah 8c884d4cab Initial commit 2017-10-26 18:03:11 -07:00