Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1078 → Rev 1079

/programs/develop/libraries/libs-dev/libimg/libimg.inc
34,12 → 34,21
Data dd ?
Palette dd ? ; used iff Type eq Image.bpp8
Extended dd ?
Flags dd ? ; bitfield
Delay dd ? ; used iff Image.IsAnimated is set in Flags
ends
 
; values for Image.Type
; must be consecutive to allow fast switch on Image.Type in support functions
Image.bpp8 = 1
Image.bpp24 = 2
Image.bpp32 = 3
Image.bpp15 = 4
Image.bpp16 = 5
 
; bits in Image.Flags
Image.IsAnimated = 1
 
FLIP_VERTICAL = 0x01
FLIP_HORIZONTAL = 0x02
FLIP_BOTH = FLIP_VERTICAL or FLIP_HORIZONTAL