Aros/Developer/ZuneMCC
Appearance
< Aros
Introduction
[edit | edit source]Here is an example how a private class is defined:
extern struct MUI_CustomClass *FPEditor_CLASS; /*** Macros *****************************************************************/ #define FPEditorObject BOOPSIOBJMACRO_START(FPEditor_CLASS->mcc_Class)
Mui Custom Classes (MCC) some of which are closed sources.
Examples of open sources
- Betterstring 11.15
- Date.mcc
- HTMLview 13.4
- Mailtext 19.9
- NList 20.121
- NListtree 18.28.
- NListview 19.76.
- NBitmap 15.6.
- NBalance 15.2.
- Speedbar 19.4.
- SpeedCFG 11.0.
- SpeedbarVirt 19.4.
- Speedbutton 19.4.
- TextEditor 15.27.
- TheBar 26.2.
- TheBarVirt 26.2.
- TheButton 26.2.
- TWFmultiLED.mcc 12.8
- URLText 19.7.
Typical MCC
[edit | edit source]#include "system.h" #include "MCCname_mcc.h" #include "MCCname_mcp.h" #include <proto/date.h> #include <proto/utility.h> #include <proto/intuition.h> #include <dos/dos.h> #include <proto/dos.h> #include <libraries/locale.h> #include <proto/locale.h> #include <libraries/mui.h> #include <proto/muimaster.h> #define CLASS MUIC_? #define SUPERCLASS MUIC_? #define VERSION number #define REVISION 0 #define VERSIONSTR "number" #define AUTHOR "name" #define COPYRIGHT "year" #define EXPORT_IMPORT_VERSION 1 /* further defines if needed */