home *** CD-ROM | disk | FTP | other *** search
- {$if not def INTUITION_GADGETCLASS_H} CONST INTUITION_GADGETCLASS_H=0;
-
- { *************************************************************************
- ** KickPascal-Include-Datei "intuition/gadgetclass.h" zu Kickstart 3.0 **
- ************************************************************************* }
-
- TYPE p_gpRender = ^gpRender;
- TYPE p_gpHitTest = ^gpHitTest;
- TYPE p_gpInput = ^gpInput;
- TYPE p_gpGoInactive = ^gpGoInactive;
- TYPE p_gpLayout = ^gpLayout;
-
- {$if not def INTUITION_INTUITION_H;incl "intuition/intuition.h";endif}
- {$if not def UTILITY_TAGITEM_H;incl "utility/tagitem.h";endif}
-
-
- CONST
- GA_Dummy = (TAG_USER +$30000);
- GA_Left = (GA_Dummy+$0001);
- GA_RelRight = (GA_Dummy+$0002);
- GA_Top = (GA_Dummy+$0003);
- GA_RelBottom = (GA_Dummy+$0004);
- GA_Width = (GA_Dummy+$0005);
- GA_RelWidth = (GA_Dummy+$0006);
- GA_Height = (GA_Dummy+$0007);
- GA_RelHeight = (GA_Dummy+$0008);
- GA_Text = (GA_Dummy+$0009);
- GA_Image = (GA_Dummy+$000A);
- GA_Border = (GA_Dummy+$000B);
- GA_SelectRender = (GA_Dummy+$000C);
- GA_Highlight = (GA_Dummy+$000D);
- GA_Disabled = (GA_Dummy+$000E);
- GA_GZZGadget = (GA_Dummy+$000F);
- GA_ID = (GA_Dummy+$0010);
- GA_UserData = (GA_Dummy+$0011);
- GA_SpecialInfo = (GA_Dummy+$0012);
- GA_Selected = (GA_Dummy+$0013);
- GA_EndGadget = (GA_Dummy+$0014);
- GA_Immediate = (GA_Dummy+$0015);
- GA_RelVerify = (GA_Dummy+$0016);
- GA_FollowMouse = (GA_Dummy+$0017);
- GA_RightBorder = (GA_Dummy+$0018);
- GA_LeftBorder = (GA_Dummy+$0019);
- GA_TopBorder = (GA_Dummy+$001A);
- GA_BottomBorder = (GA_Dummy+$001B);
- GA_ToggleSelect = (GA_Dummy+$001C);
-
- GA_SysGadget = (GA_Dummy+$001D);
- GA_SysGType = (GA_Dummy+$001E);
- GA_Previous = (GA_Dummy+$001F);
- GA_Next = (GA_Dummy+$0020);
- GA_DrawInfo = (GA_Dummy+$0021);
- GA_IntuiText = (GA_Dummy+$0022);
- GA_LabelImage = (GA_Dummy+$0023);
- GA_TabCycle = (GA_Dummy+$0024);
-
- GA_GadgetHelp = (GA_Dummy+$0025);
- GA_Bounds = (GA_Dummy+$0026);
- GA_RelSpecial = (GA_Dummy+$0027);
-
-
- CONST
- PGA_Dummy = (TAG_USER+$31000);
- PGA_Freedom = (PGA_Dummy+$0001);
- PGA_Borderless = (PGA_Dummy+$0002);
- PGA_HorizPot = (PGA_Dummy+$0003);
- PGA_HorizBody = (PGA_Dummy+$0004);
- PGA_VertPot = (PGA_Dummy+$0005);
- PGA_VertBody = (PGA_Dummy+$0006);
- PGA_Total = (PGA_Dummy+$0007);
- PGA_Visible = (PGA_Dummy+$0008);
- PGA_Top = (PGA_Dummy+$0009);
-
- PGA_NewLook = (PGA_Dummy+$000A);
-
-
- CONST
- STRINGA_Dummy = (TAG_USER+$32000);
- STRINGA_MaxChars = (STRINGA_Dummy+$0001);
- STRINGA_Buffer = (STRINGA_Dummy+$0002);
- STRINGA_UndoBuffer = (STRINGA_Dummy+$0003);
- STRINGA_WorkBuffer = (STRINGA_Dummy+$0004);
- STRINGA_BufferPos = (STRINGA_Dummy+$0005);
- STRINGA_DispPos = (STRINGA_Dummy+$0006);
- STRINGA_AltKeyMap = (STRINGA_Dummy+$0007);
- STRINGA_Font = (STRINGA_Dummy+$0008);
- STRINGA_Pens = (STRINGA_Dummy+$0009);
- STRINGA_ActivePens = (STRINGA_Dummy+$000A);
- STRINGA_EditHook = (STRINGA_Dummy+$000B);
- STRINGA_EditModes = (STRINGA_Dummy+$000C);
-
- STRINGA_ReplaceMode = (STRINGA_Dummy+$000D);
- STRINGA_FixedFieldMode = (STRINGA_Dummy+$000E);
- STRINGA_NoFilterMode = (STRINGA_Dummy+$000F);
-
- STRINGA_Justification = (STRINGA_Dummy+$0010);
- STRINGA_LongVal = (STRINGA_Dummy+$0011);
- STRINGA_TextVal = (STRINGA_Dummy+$0012);
-
- STRINGA_ExitHelp = (STRINGA_Dummy+$0013);
-
-
- CONST SG_DEFAULTMAXCHARS = 128;
-
-
- CONST
- LAYOUTA_Dummy = (TAG_USER +$38000);
- LAYOUTA_LayoutObj = (LAYOUTA_Dummy+$0001);
- LAYOUTA_Spacing = (LAYOUTA_Dummy+$0002);
- LAYOUTA_Orientation = (LAYOUTA_Dummy+$0003);
-
- CONST
- LORIENT_NONE = 0;
- LORIENT_HORIZ = 1;
- LORIENT_VERT = 2;
-
-
- CONST
- GM_Dummy = -1;
- GM_HITTEST = 0;
- GM_RENDER = 1;
- GM_GOACTIVE = 2;
- GM_HANDLEINPUT = 3;
- GM_GOINACTIVE = 4;
-
- GM_HELPTEST = 5;
- GM_LAYOUT = 6;
-
-
- TYPE gpHitTest = RECORD
- MethodID : Long;
- gpht_GInfo : p_GadgetInfo;
- gpht_Mouse : RECORD
- X : Integer;
- Y : Integer;
- END;
- END;
-
- CONST
- GMR_GADGETHIT = $00000004;
-
- GMR_NOHELPHIT = $00000000;
- GMR_HELPHIT = $ffffffff;
- GMR_HELPCODE = $00010000;
-
-
- TYPE gpRender = RECORD
- MethodID : Long;
- gpr_GInfo : p_GadgetInfo;
- gpr_RPort : p_RastPort;
- gpr_Redraw : LongInt;
- END;
-
- CONST
- GREDRAW_UPDATE = 2;
- GREDRAW_REDRAW = 1;
- GREDRAW_TOGGLE = 0;
-
-
- TYPE gpInput = RECORD
- MethodID : Long;
- gpi_GInfo : p_GadgetInfo;
- gpi_IEvent : p_InputEvent;
- gpi_Termination : ^Long;
- gpi_Mouse : RECORD
- X : Integer;
- Y : Integer;
- END;
- gpi_TabletData : p_TabletData; (* ab V39 *)
- END;
-
- CONST
- GMR_MEACTIVE = 0;
- GMR_NOREUSE = $2;
- GMR_REUSE = $4;
- GMR_VERIFY = $8;
- GMR_NEXTACTIVE = $10;
- GMR_PREVACTIVE = $20;
-
- TYPE gpGoInactive = RECORD
- MethodID : Long;
- gpgi_GInfo : p_GadgetInfo;
- gpgi_Abort : Long;
- END;
-
- TYPE gpLayout = RECORD
- MethodID : Long;
- gpl_GInfo : p_GadgetInfo;
- gpl_Initial: Long;
- END;
-
- {$if not def INTUITION_IOBSOLETE_H;incl "intuition/iobsolete.h";endif}
-
- {$endif}
-