OS4 DepotLogo by Alkaron 
(anonymous IP:,2182) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (595)
   o Document (22)
   o Driver (97)
   o Emulation (146)
   o Game (995)
   o Graphics (497)
   o Library (114)
   o Network (232)
   o Office (66)
   o Utility (919)
   o Video (69)

Total files: 4349

Full index file
Recent index file



Support the site

 Readme for:  Library » Mui » chocolatecastle.lha


Description: the MUI custom class code generator
Download: chocolatecastle.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 156kb
Version: 0.8
Date: 11 Jan 2018
Author: Krashan, aos4 port kas1e
Submitter: kas1e
Email: kas1e/yandex ru
Homepage: https://github.com/kas1e/mui_ports_to_os4
Requirements: mui
Category: library/mui
License: Other
Distribute: yes
Min OS Version: 4.1
FileID: 10450
Comments: 0
Snapshots: 1
Videos: 0
Downloads: 103  (Current version)
103  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
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.

Copyright © 2004-2024 by Björn Hagström All Rights Reserved