home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
programs
/
desktop
/
newbar
/
Source
/
hdr
/
ibpatch
< prev
Wrap
Text File
|
1998-08-01
|
2KB
|
82 lines
[ :LNOT: :DEF: HDR_IBPATCH
GBLS HDR_IBPATCH
; IconbarPatch's main block
block_size * 4*16 + 36
block_usage_count * 4*0 ; The module's usage count (not acted on yet)
; Event lists:
; Beginning (pointer to element) used to read the new entries
; End (pointer to pointer to element) used to poke new entries
; Count (number of elements in list) used as list integrity check
list_begin * 4*0
list_end * 4*1
list_count * 4*2
; This list contains new events:
block_list * 4*1
block_list_begin * 4*1
block_list_end * 4*2
block_list_count * 4*3
; This list contains old add events:
block_list_keep * 4*4
block_list_keep_begin * 4*4
block_list_keep_end * 4*5
block_list_keep_count * 4*6
; Other stuff:
block_x_offset * 4*7
block_y_offset * 4*8
block_flags * 4*9
block_icon_count * 4*10
block_debug_file * 4*11
block_start_flag * 4*12 ; Non-zero means task already started
block_window * 4*13 ; Window currently hosting the iconbar
block_pointer_icon * 4*14 ; Icon handle of icon under pointer
block_pointer_task * 4*15 ; Handle of task owning icon under pointer
block_iconbar_state * 4*16 ; 36 byte block
block_flag_remove_title * 1<<0
block_flag_y_absolute * 1<<1
; Element blocks
element_next * 4*0
element_type * 4*1
element_size * 4*2
; Add icon element block
element_add_size * element_size+(4*5)+12
element_add_type * 0
element_add_icon * element_size+(4*0)
element_add_task * element_size+(4*1)
element_add_priority * element_size+(4*2)
element_add_position * element_size+(4*3)
element_add_icon_flags * element_size+(4*4)
element_add_icon_data * element_size+(4*5)
element_add_left * 1<<0
element_add_right * 1<<1
; Remove icon element block
element_remove_size * element_size+(4*1)
element_remove_type * 1
element_remove_icon * element_size+(4*0)
; Update icon element block
element_update_size * element_size+(4*3)
element_update_type * 2
element_update_bic * element_size+(4*0)
element_update_eor * element_size+(4*1)
element_update_icon * element_size+(4*2)
; Miscellaneous
Wimp_ChunkNo * &400C0
wimp_swive_claim * 1 << 31
wimp_swive_release * 0
wimp_swive_code * &49575357
]
END