home *** CD-ROM | disk | FTP | other *** search
- char *GetStr(APTR obj);
- BOOL GetBool(APTR obj);
- int GetInt(APTR obj);
- LONG GetRadio(APTR obj);
- LONG GetCycle(APTR obj);
-
- #define SetNextStr(wnd, act, next) DoMethod (act, MUIM_Notify, MUIA_String_Acknowledge,\
- MUIV_EveryTime, wnd, 3, MUIM_Set, MUIA_Window_ActiveObject, next)
-
- #define SetButID(app, but, id) DoMethod(but, MUIM_Notify, MUIA_Pressed, FALSE, app, 2, MUIM_Application_ReturnID, id)
- #define SetStrID(app, str, id) DoMethod(str, MUIM_Notify, MUIA_String_Acknowledge, MUIV_EveryTime, app, 2, MUIM_Application_ReturnID, id)
- #define SetCycID(app, str, id) DoMethod(str, MUIM_Notify, MUIA_Cycle_Active, MUIV_EveryTime, app, 2, MUIM_Application_ReturnID, id)
- #define SetSliID(app, str, id) DoMethod(str, MUIM_Notify, MUIA_Slider_Level, MUIV_EveryTime, app, 2, MUIM_Application_ReturnID, id)
- #define SetChkID SetButID
- #define SetListID(app, str, id) DoMethod(str, MUIM_Notify, MUIA_List_Active, MUIV_EveryTime, app, 2, MUIM_Application_ReturnID, id)
-
- #define StrInt(contents)\
- StringObject,\
- StringFrame,\
- MUIA_String_Contents, contents,\
- MUIA_String_Accept, "0123456789-",\
- End
-
- #define Integer(contents)\
- StringObject,\
- StringFrame,\
- MUIA_String_Integer, contents,\
- MUIA_String_Accept, "0123456789-",\
- End
-
- #define KeyInteger(contents, key)\
- StringObject,\
- StringFrame,\
- MUIA_Text_HiChar , key,\
- MUIA_String_Integer, contents,\
- MUIA_String_Accept, "0123456789-",\
- End
-
- #define TextLabel(contents,align)\
- TextObject,\
- MUIA_Text_PreParse, align,\
- MUIA_Text_Contents, contents,\
- MUIA_InnerLeft, 0,\
- MUIA_InnerRight, 0,\
- MUIA_FramePhantomHoriz, TRUE,\
- StringFrame,\
- End
-
- #define TextLabelFrame(contents,align)\
- TextObject,\
- MUIA_Text_PreParse, align,\
- MUIA_Text_Contents, contents,\
- MUIA_InnerLeft, 0,\
- MUIA_InnerRight, 0,\
- ReadListFrame,\
- End
-
- #define TextLabelFrameNA(contents)\
- TextObject,\
- MUIA_Text_Contents, contents,\
- MUIA_InnerLeft, 0,\
- MUIA_InnerRight, 0,\
- ReadListFrame,\
- End
-
- #define KeyHButton(name,key,help)\
- TextObject,\
- ButtonFrame,\
- MUIA_Text_Contents, name,\
- MUIA_Text_PreParse, "\33c",\
- MUIA_Text_SetMax , FALSE,\
- MUIA_Text_HiChar , key,\
- MUIA_ControlChar , key,\
- MUIA_InputMode , MUIV_InputMode_RelVerify,\
- MUIA_Background , MUII_ButtonBack,\
- MUIA_HelpNode , help,\
- End
-
- #define PopupArg(ptr,obj,retimg,img,hook,arg)\
- HGroup, GroupSpacing(1),\
- Child, ptr=obj,\
- Child, retimg = ImageObject,\
- ImageButtonFrame,\
- MUIA_Image_Spec , img,\
- MUIA_Image_FontMatchWidth, TRUE,\
- MUIA_Image_FreeVert , TRUE,\
- MUIA_InputMode , MUIV_InputMode_RelVerify,\
- MUIA_Background , MUII_BACKGROUND,\
- End,\
- End
-
-
- #define ID_MUI_QUIT MUIV_Application_ReturnID_Quit
-