oops.. only build it when it _is_ valid.
[AROS-Contrib.git] / scalos / main / about.h
blob9cb528799df55b34876093399a3a8fba231260d3
1 // about.h
2 // $Date$
3 // $Revision$
5 #ifndef ABOUT_H
6 #define ABOUT_H
8 #include <exec/types.h>
9 #include <exec/ports.h>
11 #include <graphics/gfx.h>
12 #include <intuition/intuition.h>
14 struct AboutBitMap
16 struct RastPort abm_RastPort;
17 struct Layer_Info *abm_LayerInfo;
18 struct Layer *abm_Layer;
19 struct BitMap *abm_BitMap;
22 struct AboutGadgetDef
24 CONST_STRPTR agd_ImageNameNormal;
25 CONST_STRPTR agd_ImageNameSelected;
26 CONST_STRPTR agd_ImageNameDisabled;
27 LONG agd_GadgetTextID;
28 LONG agd_GadgetID;
29 LONG agd_FallbackSysImage;
32 struct AboutGadgetInfo
34 struct Node agi_Node;
35 Object *agi_Image;
36 struct Gadget *agi_Gadget;
37 ULONG agi_Width;
38 ULONG agi_Height;
39 BOOL agi_Themed;
42 struct AboutInfo
44 WORD abi_wInnerleft; /* some dimension info about the about window */
45 WORD abi_wInnerright;
46 WORD abi_wInnertop;
47 WORD abi_wInnerbottom;
48 WORD abi_wInnerwidth;
49 WORD abi_wInnerheight;
50 WORD abi_XOffset;
51 struct Window *abi_Window; /* the actual about window */
52 struct AboutBitMap abi_Bitmap; /* this structure holds all information for the bitmap that the scrolling gets done on */
53 struct Rectangle abi_lScrollsize;
54 struct ttDef *abi_ttd;
55 struct DatatypesImage *abi_Logo; // Scalos Logo for about window
56 struct DatatypesImage *abi_Background; // Background for about window scrolling area
57 struct DatatypesImage *abi_BackfillImage; // optional Datatypes image used to backfill the About window
58 ULONG abi_LineCount; // +jl+ 20010512 continouous line counter
59 BOOL abi_Initial; // flag: fill about rectangle on initial call
60 BOOL abi_DoScroll; // flag: scroll continuously
62 LONG abi_bmOffset;
63 LONG abi_lCurrentline; /* The current line counter */
65 CONST_STRPTR abi_ttDesc;
67 struct TextFont *abi_Font; // Font used for rendering
69 struct List abi_GadgetList;
73 /* The speed that the about information scrolls at */
74 #define SCROLLSPEED 1
76 #endif /* ABOUT_H */