home *** CD-ROM | disk | FTP | other *** search
- @DATABASE "pIntui/MClass.h"
- @MASTER "Work2:AD/IInc/pIntui/MClass.h"
- @REMARK This file was created by ADtoHT 2.0 on 11-Mär-97 13:35:09
- @REMARK Do not edit
- @REMARK ADtoHT is © 1993-1995 Christian Stieber
-
- @NODE MAIN "pIntui/MClass.h"
- @TOC "__pOS_Dev.guide/MAIN"
-
- @{"pIntui/MClass.h" LINK File}
-
-
- @{b}Structures@{ub}
-
- @{"pOS_MenuMethod" LINK "pIntui/MClass.h/File" 21}
-
- @ENDNODE
- @NODE File "pIntui/MClass.h"
- #ifndef __INC_POS_PINTUI_MCLASS_H
- #define __INC_POS_PINTUI_MCLASS_H
- /*******************************************************************
- Includes Release 24
- (C) Copyright 1995-1997 proDAD
- All Rights Reserved
-
- $AUT Holger Burkarth
- $DAT >>MClass.h<< 03 Nov 1996 13:25:22 - (C) ProDAD
- *******************************************************************/
- #ifndef __INC_POS_PINTUI_ICLASS_H
- #include <@{"pIntui/IClass.h" LINK "pIntui/IClass.h/File"}>
- #endif
- #ifndef __INC_POS_PLAYER_RECT_H
- #include <@{"pLayer/Rect.h" LINK "pLayer/Rect.h/File"}>
- #endif
-
-
- /*----------------------------------
- -----------------------------------*/
- struct pOS_MenuMethod
- {
- @{"ULONG" LINK "pExec/Types.h/File" 91} imth_Method;
-
- union
- struct /* ICLMTH_New */
- @{"ULONG" LINK "pExec/Types.h/File" 91} *imnw_Pad;
- const @{"struct pOS_TagItem" LINK "pUtil/TagItem.h/File" 19} *imnw_Tags;
- } imth_New;
-
- /* ICLMTH_Dispose */
-
- struct /* ICLMTH_Set */
- const @{"struct pOS_IClassInfo" LINK "pIntui/ICI.h/File" 18} *imst_Info;
- const @{"struct pOS_TagItem" LINK "pUtil/TagItem.h/File" 19} *imst_Tags;
- } imth_Set;
-
- struct /* ICLMTH_Get */
- @{"ULONG" LINK "pExec/Types.h/File" 91} imgt_ID;
- @{"ULONG" LINK "pExec/Types.h/File" 91} *imgt_Variable;
- } imth_Get;
-
-
- /********************************************/
-
- struct /* MCLMTH_Render */
- const @{"struct pOS_IClassInfo" LINK "pIntui/ICI.h/File" 18} *imre_Info;
- @{"ULONG" LINK "pExec/Types.h/File" 91} imre_Type; /* (enum pOS_MenuClassRender) */
- @{"ULONG" LINK "pExec/Types.h/File" 91} imre_NewTick; /* wird bei GCLMTHRE_TickFrame verwendet */
- @{"ULONG" LINK "pExec/Types.h/File" 91} imre_OldTick; /* Anzahl der IntuiTicks*100 => 1/1000 sec. */
- } imth_Render;
-
- struct /* MCLMTH_HandleInput */
- const @{"struct pOS_IClassInfo" LINK "pIntui/ICI.h/File" 18} *imhi_Info;
- const @{"struct pOS_InputEvent" LINK "Device/IEvent.h/File" 232} *imhi_IE;
- const @{"struct pOS_Point" LINK "pLayer/Rect.h/File" 26} *imhi_RMouse; /* relativ */
- } imth_HandleInput;
-
- } imth_U;
- };
-
-
-
-
- enum pOS_MenuClassRender
- {
- MCLMTHRE_Update=1, /* incremental update */
- MCLMTHRE_Redraw, /* redraw */
- MCLMTHRE_Toggle, /* toggle highlight */
- MCLMTHRE_TickFrame, /* next Frame# */
-
- MCLMTHRE_DrawSub=16, /* draw SubMenu */
- MCLMTHRE_ClearSub, /* SubMenu-Hintergrund wiederherstellen */
- };
-
-
-
- enum pOS_MenuClassResult
- {
- MCLMTHR_None=0,
-
- MCLMTHR_Activate= 0x0001,
- MCLMTHR_AbortIE= 0x0002, /* InputEvent wird nicht weitergereicht */
- MCLMTHR_InputDone= 0x0004, /* InputHandle beenden */
- };
-
-
- enum pOS_MenuClassMethods
- {
- MCLMTH_Dummy=1,
-
- MCLMTH_Pad1,
- MCLMTH_Render, /* draw yourself, in the appropriate state */
- MCLMTH_Pad2,
- MCLMTH_HandleInput, /* handle that input */
- };
-
-
-
-
-
-
-
- #endif
- @ENDNODE
-