mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 21:10:01 +02:00
arosunits: 64bit fixes for Zune message structures
git-svn-id: trunk@35172 -
This commit is contained in:
parent
78b8fb3414
commit
ae5eade019
@ -1399,32 +1399,39 @@ type
|
|||||||
end;
|
end;
|
||||||
PMUI_MinMax = ^TMUI_MinMax;
|
PMUI_MinMax = ^TMUI_MinMax;
|
||||||
|
|
||||||
|
// packrecords to Pointer size, because they are all stack based structs
|
||||||
|
{$ifdef CPU64}
|
||||||
|
{$packrecords 8}
|
||||||
|
{$else}
|
||||||
|
{$packrecords 4}
|
||||||
|
{$endif}
|
||||||
|
|
||||||
TMUIP_AskMinMax = record
|
TMUIP_AskMinMax = record
|
||||||
MethodID: LongWord; // MUIM_AskMinMax
|
MethodID: PtrUInt; // MUIM_AskMinMax
|
||||||
MinMaxInfo: PMUI_MinMax;
|
MinMaxInfo: PMUI_MinMax;
|
||||||
end;
|
end;
|
||||||
PMUIP_AskMinMax = ^TMUIP_AskMinMax;
|
PMUIP_AskMinMax = ^TMUIP_AskMinMax;
|
||||||
|
|
||||||
TMUIP_Cleanup = record
|
TMUIP_Cleanup = record
|
||||||
MethodID: LongWord; // MUIM_Cleanup
|
MethodID: PtrUInt; // MUIM_Cleanup
|
||||||
end;
|
end;
|
||||||
PMUIP_Cleanup = ^TMUIP_Cleanup;
|
PMUIP_Cleanup = ^TMUIP_Cleanup;
|
||||||
|
|
||||||
TMUIP_ContextMenuBuild = record
|
TMUIP_ContextMenuBuild = record
|
||||||
MethodID: LongWord; // MUIM_ContextMenuBuild
|
MethodID: PtrUInt; // MUIM_ContextMenuBuild
|
||||||
mx: LongInt;
|
mx: LongInt;
|
||||||
my: LongInt;
|
my: LongInt;
|
||||||
end;
|
end;
|
||||||
PMUIP_ContextMenuBuild = ^TMUIP_ContextMenuBuild;
|
PMUIP_ContextMenuBuild = ^TMUIP_ContextMenuBuild;
|
||||||
|
|
||||||
TMUIP_ContextMenuChoice = record
|
TMUIP_ContextMenuChoice = record
|
||||||
MethodID: LongWord; // MUIM_ContextMenuChoice
|
MethodID: PtrUInt; // MUIM_ContextMenuChoice
|
||||||
item: PObject_;
|
item: PObject_;
|
||||||
end;
|
end;
|
||||||
PMUIP_ContextMenuChoice = ^TMUIP_ContextMenuChoice;
|
PMUIP_ContextMenuChoice = ^TMUIP_ContextMenuChoice;
|
||||||
|
|
||||||
TMUIP_CreateBubble = record
|
TMUIP_CreateBubble = record
|
||||||
MethodID: LongWord; // MUIM_CreateBubble
|
MethodID: PtrUInt; // MUIM_CreateBubble
|
||||||
x: LongInt;
|
x: LongInt;
|
||||||
y: LongInt;
|
y: LongInt;
|
||||||
txt : PChar;
|
txt : PChar;
|
||||||
@ -1433,7 +1440,7 @@ type
|
|||||||
PMUIP_CreateBubble = ^TMUIP_CreateBubble;
|
PMUIP_CreateBubble = ^TMUIP_CreateBubble;
|
||||||
|
|
||||||
TMUIP_CreateDragImage = record
|
TMUIP_CreateDragImage = record
|
||||||
MethodID: LongWord; // MUIM_CreateDragImage
|
MethodID: PtrUInt; // MUIM_CreateDragImage
|
||||||
touchx: LongInt;
|
touchx: LongInt;
|
||||||
touchy: LongInt;
|
touchy: LongInt;
|
||||||
flags: LongWord;
|
flags: LongWord;
|
||||||
@ -1441,14 +1448,14 @@ type
|
|||||||
PMUIP_CreateDragImage = ^TMUIP_CreateDragImage;
|
PMUIP_CreateDragImage = ^TMUIP_CreateDragImage;
|
||||||
|
|
||||||
TMUIP_CreateShortHelp = record
|
TMUIP_CreateShortHelp = record
|
||||||
MethodID: LongWord; // MUIM_CreateShortHelp
|
MethodID: PtrUInt; // MUIM_CreateShortHelp
|
||||||
mx: LongInt;
|
mx: LongInt;
|
||||||
my: LongInt;
|
my: LongInt;
|
||||||
end;
|
end;
|
||||||
PMUIP_CreateShortHelp = ^TMUIP_CreateShortHelp;
|
PMUIP_CreateShortHelp = ^TMUIP_CreateShortHelp;
|
||||||
|
|
||||||
TMUIP_CustomBackfill = record
|
TMUIP_CustomBackfill = record
|
||||||
MethodID: LongWord; // MUIM_CustomBackfill
|
MethodID: PtrUInt; // MUIM_CustomBackfill
|
||||||
left: LongInt;
|
left: LongInt;
|
||||||
top: LongInt;
|
top: LongInt;
|
||||||
right: LongInt;
|
right: LongInt;
|
||||||
@ -1459,25 +1466,25 @@ type
|
|||||||
PMUIP_CustomBackfill = ^TMUIP_CustomBackfill;
|
PMUIP_CustomBackfill = ^TMUIP_CustomBackfill;
|
||||||
|
|
||||||
TMUIP_DeleteBubble = record
|
TMUIP_DeleteBubble = record
|
||||||
MethodID: LongWord; // MUIM_DeleteBubble
|
MethodID: PtrUInt; // MUIM_DeleteBubble
|
||||||
bubble: APTR;
|
bubble: APTR;
|
||||||
end;
|
end;
|
||||||
PMUIP_DeleteBubble = ^TMUIP_DeleteBubble;
|
PMUIP_DeleteBubble = ^TMUIP_DeleteBubble;
|
||||||
|
|
||||||
TMUIP_DeleteDragImage = record
|
TMUIP_DeleteDragImage = record
|
||||||
MethodID: LongWord; // MUIM_DeleteDragImage
|
MethodID: PtrUInt; // MUIM_DeleteDragImage
|
||||||
di: PMUI_DragImage;
|
di: PMUI_DragImage;
|
||||||
end;
|
end;
|
||||||
PMUIP_DeleteDragImage = ^TMUIP_DeleteDragImage;
|
PMUIP_DeleteDragImage = ^TMUIP_DeleteDragImage;
|
||||||
|
|
||||||
TMUIP_DeleteShortHelp = record
|
TMUIP_DeleteShortHelp = record
|
||||||
MethodID: LongWord; // MUIM_DeleteShortHelp
|
MethodID: PtrUInt; // MUIM_DeleteShortHelp
|
||||||
help: STRPTR;
|
help: STRPTR;
|
||||||
end;
|
end;
|
||||||
PMUIP_DeleteShortHelp = ^TMUIP_DeleteShortHelp;
|
PMUIP_DeleteShortHelp = ^TMUIP_DeleteShortHelp;
|
||||||
|
|
||||||
TMUIP_DoDrag = record
|
TMUIP_DoDrag = record
|
||||||
MethodID: LongWord; // MUIM_DoDrag
|
MethodID: PtrUInt; // MUIM_DoDrag
|
||||||
touchx: LongInt;
|
touchx: LongInt;
|
||||||
touchy: LongInt;
|
touchy: LongInt;
|
||||||
flags: LongWord;
|
flags: LongWord;
|
||||||
@ -1485,19 +1492,19 @@ type
|
|||||||
PMUIP_DoDrag = ^TMUIP_DoDrag;
|
PMUIP_DoDrag = ^TMUIP_DoDrag;
|
||||||
|
|
||||||
TMUIP_UnknownDropDestination = record
|
TMUIP_UnknownDropDestination = record
|
||||||
MethodID: LongWord; // MUIM_UnknownDropDestination
|
MethodID: PtrUInt; // MUIM_UnknownDropDestination
|
||||||
imsg: PIntuiMessage;
|
imsg: PIntuiMessage;
|
||||||
end;
|
end;
|
||||||
PMUIP_UnknownDropDestination = ^TMUIP_UnknownDropDestination;
|
PMUIP_UnknownDropDestination = ^TMUIP_UnknownDropDestination;
|
||||||
|
|
||||||
TMUIP_DragBegin = record
|
TMUIP_DragBegin = record
|
||||||
MethodID: LongWord; // MUIM_DragBegin
|
MethodID: PtrUInt; // MUIM_DragBegin
|
||||||
obj: PObject_;
|
obj: PObject_;
|
||||||
end;
|
end;
|
||||||
PMUIP_DragBegin = ^TMUIP_DragBegin;
|
PMUIP_DragBegin = ^TMUIP_DragBegin;
|
||||||
|
|
||||||
TMUIP_DragDrop = record
|
TMUIP_DragDrop = record
|
||||||
MethodID: LongWord; // MUIM_DragDrop
|
MethodID: PtrUInt; // MUIM_DragDrop
|
||||||
obj: PObject_;
|
obj: PObject_;
|
||||||
x: LongInt;
|
x: LongInt;
|
||||||
y: LongInt;
|
y: LongInt;
|
||||||
@ -1505,19 +1512,19 @@ type
|
|||||||
PMUIP_DragDrop = ^TMUIP_DragDrop;
|
PMUIP_DragDrop = ^TMUIP_DragDrop;
|
||||||
|
|
||||||
TMUIP_DragFinish = record
|
TMUIP_DragFinish = record
|
||||||
MethodID: LongWord; // MUIM_DragFinish
|
MethodID: PtrUInt; // MUIM_DragFinish
|
||||||
obj: PObject_;
|
obj: PObject_;
|
||||||
end;
|
end;
|
||||||
PMUIP_DragFinish = ^TMUIP_DragFinish;
|
PMUIP_DragFinish = ^TMUIP_DragFinish;
|
||||||
|
|
||||||
TMUIP_DragQuery = record
|
TMUIP_DragQuery = record
|
||||||
MethodID: LongWord; // MUIM_DragQuery
|
MethodID: PtrUInt; // MUIM_DragQuery
|
||||||
obj: PObject_;
|
obj: PObject_;
|
||||||
end;
|
end;
|
||||||
PMUIP_DragQuery = ^TMUIP_DragQuery;
|
PMUIP_DragQuery = ^TMUIP_DragQuery;
|
||||||
|
|
||||||
TMUIP_DragReport = record
|
TMUIP_DragReport = record
|
||||||
MethodID: LongWord; // MUIM_DragReport
|
MethodID: PtrUInt; // MUIM_DragReport
|
||||||
obj: PObject_;
|
obj: PObject_;
|
||||||
x: LongInt;
|
x: LongInt;
|
||||||
y: LongInt;
|
y: LongInt;
|
||||||
@ -1526,13 +1533,13 @@ type
|
|||||||
PMUIP_DragReport = ^TMUIP_DragReport;
|
PMUIP_DragReport = ^TMUIP_DragReport;
|
||||||
|
|
||||||
TMUIP_Draw = record
|
TMUIP_Draw = record
|
||||||
MethodID: LongWord; // MUIM_Draw
|
MethodID: PtrUInt; // MUIM_Draw
|
||||||
flags: LongWord;
|
flags: LongWord;
|
||||||
end;
|
end;
|
||||||
PMUIP_Draw = ^TMUIP_Draw;
|
PMUIP_Draw = ^TMUIP_Draw;
|
||||||
|
|
||||||
TMUIP_DrawBackground = record
|
TMUIP_DrawBackground = record
|
||||||
MethodID: LongWord; // MUIM_DrawBackground
|
MethodID: PtrUInt; // MUIM_DrawBackground
|
||||||
left: LongInt;
|
left: LongInt;
|
||||||
top: LongInt;
|
top: LongInt;
|
||||||
width: LongInt;
|
width: LongInt;
|
||||||
@ -1544,7 +1551,7 @@ type
|
|||||||
PMUIP_DrawBackground = ^TMUIP_DrawBackground;
|
PMUIP_DrawBackground = ^TMUIP_DrawBackground;
|
||||||
|
|
||||||
TMUIP_DrawBackgroundBuffered = record
|
TMUIP_DrawBackgroundBuffered = record
|
||||||
MethodID: LongWord;
|
MethodID: PtrUInt;
|
||||||
rp: PRastPort;
|
rp: PRastPort;
|
||||||
left: LongInt;
|
left: LongInt;
|
||||||
top: LongInt;
|
top: LongInt;
|
||||||
@ -1557,52 +1564,52 @@ type
|
|||||||
PMUIP_DrawBackgroundBuffered = ^TMUIP_DrawBackgroundBuffered;
|
PMUIP_DrawBackgroundBuffered = ^TMUIP_DrawBackgroundBuffered;
|
||||||
|
|
||||||
TMUIP_GoActive = record
|
TMUIP_GoActive = record
|
||||||
MethodID: LongWord; // MUIM_GoActive
|
MethodID: PtrUInt; // MUIM_GoActive
|
||||||
end;
|
end;
|
||||||
PMUIP_GoActive = ^TMUIP_GoActive;
|
PMUIP_GoActive = ^TMUIP_GoActive;
|
||||||
|
|
||||||
TMUIP_GoInactive = record
|
TMUIP_GoInactive = record
|
||||||
MethodID: LongWord; // MUIM_GoInactive
|
MethodID: PtrUInt; // MUIM_GoInactive
|
||||||
end;
|
end;
|
||||||
PMUIP_GoInactive = ^TMUIP_GoInactive;
|
PMUIP_GoInactive = ^TMUIP_GoInactive;
|
||||||
|
|
||||||
TMUIP_HandleEvent = record
|
TMUIP_HandleEvent = record
|
||||||
MethodID: LongWord; // MUIM_HandleEvent
|
MethodID: PtrUInt; // MUIM_HandleEvent
|
||||||
imsg: PIntuiMessage;
|
imsg: PIntuiMessage;
|
||||||
muikey: LongInt;
|
muikey: LongInt;
|
||||||
end;
|
end;
|
||||||
PMUIP_HandleEvent = ^TMUIP_HandleEvent;
|
PMUIP_HandleEvent = ^TMUIP_HandleEvent;
|
||||||
|
|
||||||
TMUIP_HandleInput = record
|
TMUIP_HandleInput = record
|
||||||
MethodID: LongWord; // MUIM_HandleInput
|
MethodID: PtrUInt; // MUIM_HandleInput
|
||||||
imsg: PIntuiMessage;
|
imsg: PIntuiMessage;
|
||||||
muikey: LongInt;
|
muikey: LongInt;
|
||||||
end;
|
end;
|
||||||
PMUIP_HandleInput = ^TMUIP_HandleInput;
|
PMUIP_HandleInput = ^TMUIP_HandleInput;
|
||||||
|
|
||||||
TMUIP_Hide = record
|
TMUIP_Hide = record
|
||||||
MethodID: LongWord; // MUIM_Hide
|
MethodID: PtrUInt; // MUIM_Hide
|
||||||
end;
|
end;
|
||||||
PMUIP_Hide = ^TMUIP_Hide;
|
PMUIP_Hide = ^TMUIP_Hide;
|
||||||
|
|
||||||
TMUIP_Setup = record
|
TMUIP_Setup = record
|
||||||
MethodID: LongWord; // MUIM_Setup
|
MethodID: PtrUInt; // MUIM_Setup
|
||||||
RenderInfo: PMUI_RenderInfo;
|
RenderInfo: PMUI_RenderInfo;
|
||||||
end;
|
end;
|
||||||
PMUIP_Setup = ^TMUIP_Setup;
|
PMUIP_Setup = ^TMUIP_Setup;
|
||||||
|
|
||||||
TMUIP_Show = record
|
TMUIP_Show = record
|
||||||
MethodID: LongWord; // MUIM_Show
|
MethodID: PtrUInt; // MUIM_Show
|
||||||
end;
|
end;
|
||||||
PMUIP_Show = ^TMUIP_Show;
|
PMUIP_Show = ^TMUIP_Show;
|
||||||
|
|
||||||
TMUIP_Layout = record
|
TMUIP_Layout = record
|
||||||
MethodID: LongWord; // MUIM_Layout
|
MethodID: PtrUInt; // MUIM_Layout
|
||||||
end;
|
end;
|
||||||
PMUIP_Layout = ^TMUIP_Layout;
|
PMUIP_Layout = ^TMUIP_Layout;
|
||||||
|
|
||||||
TMUIP_DrawParentBackground = record
|
TMUIP_DrawParentBackground = record
|
||||||
MethodID: LongWord; // MUIM_DrawParentBackground
|
MethodID: PtrUInt; // MUIM_DrawParentBackground
|
||||||
left: LongInt;
|
left: LongInt;
|
||||||
top: LongInt;
|
top: LongInt;
|
||||||
width: LongInt;
|
width: LongInt;
|
||||||
@ -1612,6 +1619,9 @@ type
|
|||||||
flags: LongInt;
|
flags: LongInt;
|
||||||
end;
|
end;
|
||||||
PMUIP_DrawParentBackground = ^TMUIP_DrawParentBackground;
|
PMUIP_DrawParentBackground = ^TMUIP_DrawParentBackground;
|
||||||
|
{$ifdef CPU64}
|
||||||
|
{$packrecords C}
|
||||||
|
{$endif}
|
||||||
|
|
||||||
const
|
const
|
||||||
MUIF_DRAGIMAGE_HASMASK = 1 shl 0; // Use provided mask for drawing Not supported at the moment
|
MUIF_DRAGIMAGE_HASMASK = 1 shl 0; // Use provided mask for drawing Not supported at the moment
|
||||||
|
Loading…
Reference in New Issue
Block a user