Run the following to watch src/*.coffee for changes and automatically build to lib/
toaster -w
Right now I'm working on putting together the basic architecture of Mod. Also, I'm going to make a final decision about whether "mod" is a valid name. it seems like it should be fine. "mod" doesn't appear to be reserved in coffeescript or javascript. Whatever.
So I'm thinking something like the following:
Has two important array properties, plugins and toolbars. These hold on to corresponding instances of each. Classes in the Mod namespace include:
Handles loading up all the plugins and putting them into the plugins array.
Represents the HTML portion of the UI, a list of buttons which defaults to simple activators for each of the plugins, grouped by type. A toolbar can be configured to exclude activators for plugins, or only have a specific set.
This is an abstract class which holds functionality for UI elements which are drawn into the actual canvas element. It holds onto the instance of said canvas element and does some other stuff which is not yet clear. These classes inherit from EmbeddedUI:
Graph
Selection
Object
Polygon
Point