Aros/Developer/ZuneMCC

From Wikibooks, open books for an open world
Jump to: navigation, search
Navbar for the Aros wikibook
Aros User Docs
Aros User Docs
Aros User FAQs
Aros User Applications
Aros User DOS Shell
Aros/User/AmigaLegacy
Aros Dev Docs
Aros Developer Docs
Porting Software from AmigaOS/SDL
For Zune Beginners
Zune .MUI Classes
For SDL Beginners
Aros Developer BuildSystem
Specific platforms
Aros x86 Complete System HCL
Aros x86 Audio/Video Support
Aros x86 Network Support
Aros Intel AMD x86 Installing
Aros Storage Support IDE SATA etc
Aros Poseidon USB Support
x86-64 Support
Motorola 68k Amiga Support
Linux and FreeBSD Support
Windows Mingw and MacOSX Support
Android Support
Arm Raspberry Pi Support
PPC Power Architecture
misc
Aros Public License


Introduction[edit]

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


Typical MCC[edit]

#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 */




Reference[edit]