2 Copyright 2011, The AROS Development Team.
6 #ifndef WINDOWDECORCLASS_H
7 #define WINDOWDECORCLASS_H
9 #include <exec/types.h>
10 #include <intuition/intuition.h>
11 #include <intuition/classes.h>
15 struct CachedPropGadget
17 /* This is pregenerate bitmap matching state saved in rest of fields */
32 /* This is pregenerate bitmap matching state saved in rest of fields */
42 struct CachedTitleBarShape
44 /* This is pregenerated Region shape matching state saved in rest of fields */
56 struct NewImage
*img_size
;
57 struct NewImage
*img_close
;
58 struct NewImage
*img_depth
;
59 struct NewImage
*img_zoom
;
60 struct NewImage
*img_up
;
61 struct NewImage
*img_down
;
62 struct NewImage
*img_left
;
63 struct NewImage
*img_right
;
64 struct NewImage
*img_mui
;
65 struct NewImage
*img_popup
;
66 struct NewImage
*img_snapshot
;
67 struct NewImage
*img_iconify
;
68 struct NewImage
*img_lock
;
69 struct NewImage
*img_winbar_normal
;
70 struct NewImage
*img_border_normal
;
71 struct NewImage
*img_border_deactivated
;
72 struct NewImage
*img_verticalcontainer
;
73 struct NewImage
*img_verticalknob
;
74 struct NewImage
*img_horizontalcontainer
;
75 struct NewImage
*img_horizontalknob
;
80 WORD closewidth
, depthwidth
, zoomwidth
;
83 /* Cached bitmaps used to improve speed of redrawing of decorated window */
84 struct CachedPropGadget vert
;
85 struct CachedPropGadget horiz
;
86 struct CachedTitleBar tbar
;
87 struct CachedTitleBarShape tbarshape
;
90 #define WDA_DecorImages 0x30003
91 #define WDA_DecorConfig 0x30004
93 struct IClass
* MakeWindowDecorClass();