1 /***************************************************************************
3 NBalance.mcc - New Balance MUI Custom Class
4 Copyright (C) 2008-2013 by NList Open Source Team
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 NList classes Support Site: http://www.sf.net/projects/nlist-classes
20 ***************************************************************************/
26 #include <clib/alib_protos.h>
27 #include <proto/exec.h>
28 #include <proto/intuition.h>
29 #include <proto/muimaster.h>
30 #include <proto/graphics.h>
31 #include <proto/utility.h>
32 #include <proto/locale.h>
39 DISPATCHER(_Dispatcher
)
48 result
= mNew(cl
, obj
, (struct opSet
*)msg
);
52 result
= mSet(cl
, obj
, msg
);
56 result
= mGet(cl
, obj
, msg
);
60 result
= mSetup(cl
, obj
, (struct MUI_RenderInfo
*)msg
);
64 result
= mCleanup(cl
, obj
, msg
);
68 result
= mHide(cl
, obj
, msg
);
71 case MUIM_HandleEvent
:
72 result
= mHandleEvent(cl
, obj
, (struct MUIP_HandleEvent
*)msg
);
76 result
= mExport(cl
, obj
, (struct MUIP_Export
*)msg
);
80 result
= mImport(cl
, obj
, (struct MUIP_Import
*)msg
);
84 result
= DoSuperMethodA(cl
, obj
, msg
);