the MUI custom class code generator for MorphOS
is an application making task of creating MUI classes and applications
easier. Programmers using this system often avoid writing custom
classes, being discouraged by a lot of boring and schematical typing. This is
bad, because subclassing is the essence of the object oriented programmimg. It
allows to get the best from MUI. That is why ChocolateCastle has
been created. A significant part of a typical custom class may be generated
automatically. This is usually 2 to 5 kB of source code. Automating this work
speeds programmimg up and helps avoiding simple typing errors.
The current version of ChocolateCastle is able to generate internal (contained in an application source)
MUI class. Generated code is directly compilable under MorphOS. A programmer
gets a ready skeleton of class, containing definition of class base, functions for class creation and
disposition, Hook and EmulLibEntry structures for dispatcher, complete dispatcher code, OM_SET and OM_GET
skeletons and empty functions for declared methods. A header file is generated as well, containing
extern class base definition, prototypes for class creation and disposition functions and basic includes.
The work can be saved to a project file, which can be loaded later. With incoming ability to edit methods
code in-place (built-in editor based on TextEditor
MUI class), ChocolateCastle will become a small integrated environment for programming MUI classes. The future
plan is to expand ChocolateCastle functionality to building complete MUI applications compiling out of the box.
ChocolateCastle 0.3 MorphOS (63 kB).
ChocolateCastle 0.2 MorphOS (67 kB).
ChocolateCastle 0.1 MorphOS (64 kB).