Initial import of Scalos. To decrease size I have
[AROS-Contrib.git] / scalos / main / std_includes / asm / libraries / mcpgfx.i
blob56d322c9053b27765c864359dd075f85448edb8d
1 IFND LIBRARIES_MCPGFX_I
2 LIBRARIES_MCPGFX_I set 1
4 IFND EXEC_TYPES_I
5 include "exec/types.i"
6 ENDC
8 IFND UTILITY_TAGITEM_I
9 include "utility/tagitem.i"
10 ENDC
12 IFND INTUITION_SCREENS_I
13 include "intuition/screens.i"
14 ENDC
17 ; Types of frames available
18 MF_FRAME_NONE: equ 0 ; No frame
19 MF_FRAME_BUTTON: equ 1 ; Standard 3D frame used for buttons
20 MF_FRAME_BORDER: equ 2 ; Standard 2D frame used for
21 MF_FRAME_STRING: equ 3 ; String
22 MF_FRAME_DROPBOX: equ 4 ; Dropbox [String (with space)?]
23 MF_FRAME_XEN: equ 5 ; Standard XEN button
24 MF_FRAME_MWB: equ 6 ; Standard MWB
25 MF_FRAME_THICK: equ 7 ; Standard Thick
26 MF_FRAME_XWIN: equ 8 ; Standard XWIN
27 MF_FRAME_MAXIMUM: equ 9 ; Maximum number of frame types
30 ; Sizes of frame egdes. Always in the order x1,y1,x2,y2,(recessed)x1,y1,x2,y2.
31 STRUCTURE FrameSize,0
32 STRUCT fs_Sizes,2*8
33 LABEL FrameSize_SIZEOF
36 ; Some constants for acessing the values from the FrameSize structure
37 FRAMESIZE_LEFT equ 0 ; Normal left edge width
38 FRAMESIZE_TOP equ 1 ; Normal top edge width
39 FRAMESIZE_RIGHT equ 2 ; Normal right edge width
40 FRAMESIZE_BOTTOM equ 3 ; Normal bottom edge width
41 FRAMESIZE_RELEFT equ 4 ; Recessed left edge width
42 FRAMESIZE_RETOP equ 5 ; Recessed top edge width
43 FRAMESIZE_RERIGHT equ 6 ; Recessed right edge width
44 FRAMESIZE_REBOTTOM equ 7 ; Recessed bottom edge width
47 ; Tags for the various function in mcpgfx.library
48 MCP_TagBase: equ TAG_USER+$20000
50 ;IA_Left: equ MCP_TagBase+$01
51 ;IA_Top equ MCP_TagBase+$02
52 ;IA_Width equ MCP_TagBase+$03
53 ;IA_Height equ MCP_TagBase+$04
54 ;IA_FGPen equ MCP_TagBase+$05
55 ;IA_BGPen equ MCP_TagBase+$06
56 ;IA_Data equ MCP_TagBase+$07
57 ;IA_ShadowPen equ MCP_TagBase+$09
58 ;IA_ShinePen equ MCP_TagBase+$0a
59 ;IA_APattern equ MCP_TagBase+$10
60 ;IA_APatSize equ MCP_TagBase+$11
61 ;IA_Mode equ MCP_TagBase+$12
62 ;IA_Recessed equ MCP_TagBase+$15
63 IA_DrawInfo equ MCP_TagBase+$18
64 ;IA_FrameType equ MCP_TagBase+$1b
65 IA_HalfShadowPen equ MCP_TagBase+$1c
66 IA_HalfShinePen equ MCP_TagBase+$1d
69 ; A little something
70 STRUCTURE ExtDrawInfo,0
71 STRUCT edi_DrawInfo,dri_longreserved+20 ; Original screen DrawInfo (copy of)
72 APTR edi_Pens; ; Pointer to an array of pens to use for MWB colours
73 STRUCT edi_dunno,2*4; ; like I say
74 LABEL ExtDrawInfo_SIZEOF
77 ENDC ; LIBRARIES_MCPGFX_H