NEWS APPS DOCS ABOUT | ||||
Autodocs Include classes clib datatypes devices diskfont dos exec gadgets graphics hardware images intuition libraries pragma pragmas prefs asl.i / .h font.i / .h icontrol.i / .h input.i / .h locale.i / .h overscan.i / .h palette.i / .h pointer.i / .h prefhdr.i / .h printergfx.i / .h printerps.i / .h printertxt.i / .h reaction.h screenmode.i / .h serial.i / .h sound.i / .h wbpattern.i / .h workbench.i / .h proto reaction resources rexx utility workbench GuruMeditation | IFND PREFS_WBPATTERN_I PREFS_WBPATTERN_I SET 1 ** ** $VER: wbpattern.i 45.1 (12.11.2000) ** Includes Release 45.1 ** ** File format for wbpattern preferences ** ** (C) Copyright 1991-2001 Amiga, Inc. ** All Rights Reserved ** ;--------------------------------------------------------------------------- IFND EXEC_TYPES_I INCLUDE "exec/types.i" ENDC IFND LIBRARIES_IFFPARSE_I INCLUDE "libraries/iffparse.i" ENDC ;--------------------------------------------------------------------------- ID_PTRN equ 'PTRN' ;--------------------------------------------------------------------------- STRUCTURE WBPatternPrefs,0 STRUCT wbp_Reserved,(4*4) UWORD wbp_Which ; Which pattern is it UWORD wbp_Flags BYTE wbp_Revision ; Must be set to zero BYTE wbp_Depth ; Depth of pattern UWORD wbp_DataLength ; Length of following data LABEL WBPatternPrefs_SIZEOF ;--------------------------------------------------------------------------- ; constants for WBPatternPrefs.wbp_Which WBP_ROOT equ 0 WBP_DRAWER equ 1 WBP_SCREEN equ 2 ; wbp_Flags values BITDEF WBP,PATTERN,0 ; Data contains a pattern BITDEF WBP,NOREMAP,4 ; Don't remap the pattern WBPF_DITHER_MASK EQU $0300 WBPF_DITHER_DEF EQU $0000 WBPF_DITHER_BAD EQU $0100 WBPF_DITHER_GOOD EQU $0200 WBPF_DITHER_BEST EQU $0300 WBPF_PRECISION_MASK EQU $0C00 WBPF_PRECISION_DEF EQU $0000 WBPF_PRECISION_ICON EQU $0400 WBPF_PRECISION_IMAGE EQU $0800 WBPF_PRECISION_EXACT EQU $0C00 WBPF_PLACEMENT_MASK EQU $3000 WBPF_PLACEMENT_TILE EQU $0000 WBPF_PLACEMENT_CENTER EQU $1000 WBPF_PLACEMENT_SCALE EQU $2000 WBPF_PLACEMENT_SCALEGOOD EQU $3000 ;--------------------------------------------------------------------------- MAXDEPTH equ 3 ; Max depth supported (8 colors) DEFPATDEPTH equ 2 ; Depth of default patterns ; Pattern width & height: PAT_WIDTH equ 16 PAT_HEIGHT equ 16 ;--------------------------------------------------------------------------- ENDC ; PREFS_WBPATTERN_I Comments |
$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se |