Audio (340) Datatype (50) Demo (203) Development (592) Document (22) Driver (100) Emulation (146) Game (984) Graphics (491) Library (112) Network (230) Office (65) Utility (907) Video (68)
Total files: 4310
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
ChocolateCastle 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. Originaly generated code is directly
compilable under MorphOS , but in port necessary changes done for AmigaOS4. 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.
|