Skip to content

lyleunderwood/mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mod

Development

Run the following to watch src/*.coffee for changes and automatically build to lib/

toaster -w

Planning

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:

Mod

Has two important array properties, plugins and toolbars. These hold on to corresponding instances of each. Classes in the Mod namespace include:

PluginLoader

Handles loading up all the plugins and putting them into the plugins array.

Toolbar

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.

EmbeddedUI

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors