Welcome, Guest. Please login or register.

Author Topic: [MUI] used classes  (Read 1388 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline r-teaTopic starter

  • Newbie
  • *
  • Join Date: Feb 2005
  • Posts: 26
    • Show only replies by r-tea
    • http://www.ppa.pl/paubase/showuser.php?id=136
[MUI] used classes
« 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.
/* Amiga Pegasos II PPC 750CXe @ 600 */
 

Offline tboeckel

  • Newbie
  • *
  • Join Date: Jun 2006
  • Posts: 9
    • Show only replies by tboeckel
Re: [MUI] used classes
« Reply #1 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) on how to use that attribute.
 

Offline r-teaTopic starter

  • Newbie
  • *
  • Join Date: Feb 2005
  • Posts: 26
    • Show only replies by r-tea
    • http://www.ppa.pl/paubase/showuser.php?id=136
Re: [MUI] used classes
« Reply #2 on: September 08, 2006, 12:52:23 PM »
I know how to use it.
Here's another exampleclick
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.
/* Amiga Pegasos II PPC 750CXe @ 600 */
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: [MUI] used classes
« Reply #3 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.
My Amigas: A500, Mac Mini and PowerBook