Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: r-tea on September 08, 2006, 11:50:12 AM

Title: [MUI] used classes
Post by: r-tea on September 08, 2006, 11:50:12 AM
There is a new attribute called MUIA_Application_UsedClasses in the new alpha/beta MUI V20.
Its argument is a pointer to structure of string arrays that are in fact names of mcc's used in program.
I wonder if does it make sense to put there BetterBallance.mcc while it has no settings provided for end user.
Also in main MUI prefs, after clicking on "Show MCC's" it don't list it.
Title: Re: [MUI] used classes
Post by: tboeckel on September 08, 2006, 12:04:17 PM
It's a NULL-terminated array of string pointers.

Take a look at YAM's source code (src/classes/YAM.c (http://svn.sourceforge.net/viewvc/yamos/trunk/src/classes/YAM.c?view=markup)) on how to use that attribute.
Title: Re: [MUI] used classes
Post by: r-tea on September 08, 2006, 12:52:23 PM
I know how to use it.
Here's another exampleclick (http://www.freelists.org/archives/texteditor_mcc/07-2005/msg00017.html)
I asked if it does sense to put BetterBallance.mcc into this array while it has no end user settings and it's not listed in MUI prefs after clicking "Show MCC's" button even in case if it's included in this array.
Title: Re: [MUI] used classes
Post by: itix on September 08, 2006, 12:57:46 PM
Including BetterBalance.mcc doesnt hurt. Maybe someone implements BetterBalance.mcp (cough) some day. Better have it included, just in case.