Last updated at 8:57 am UTC on 21 February 2017
This page overviews the architecture of morphic. It's a great place to start before getting into details.
There are three main classes users should know about:
- Morph - common messages
- HandMorph (the cursor)
- PasteUpMorph which uses When are the deferred UI messages processed?
Other Useful Classes
These three classes are enough to understand Morphic. To build practical applications, though, you need to know a few other morphs too.
- A TwoWayScrollPane implements a toplevel window that can contain other morphs, typically PluggableMorphs.
- To implement menus, you don't need morphic but you can use the PopupMenu class and its friends.
- AlignmentMorph can be used to layout other morphs; many will prefer to use the builtin layout support in SystemWindows.