3 #include "wimp_basics.h" 14 unsigned ifContainsText : 1;
15 unsigned ifIsSprite : 1;
16 unsigned ifHasBorder : 1;
17 unsigned ifContentsCentredHorzontally : 1;
18 unsigned ifContentsCentredVertically : 1;
19 unsigned ifFilledBackground : 1;
20 unsigned ifAntialisedFont : 1;
21 unsigned ifNeedsHelp : 1;
22 unsigned ifDataIndirected : 1;
23 unsigned ifRightJustified : 1;
24 unsigned ifDontCancelESG : 1;
25 unsigned ifHalfSizeSprite : 1;
26 unsigned ifIconButtonType : 4;
27 unsigned ifESGMask : 5;
28 unsigned ifInverted : 1;
29 unsigned ifShaded : 1;
30 unsigned ifDelted : 1;
31 unsigned ifForegroundColour : 4;
32 unsigned ifBackgroundColour : 4;
40 unsigned ifFontHandle : 8;
45 unsigned int uiaIconData[3];
51 const char* kpcaValidationString;
58 const char* kpcaSpriteName;
59 const byte* kpbaSprite;
61 const byte* kpbaSpriteBlock;
62 int iSpriteNameLength;
63 } indirectedSpriteOnly;
68 tWindowHandle whWindow;
80 #define WIMP_SPRITEAREA ((byte*)-1) 85 ibtNotifyContinuously = 1,
86 ibtClickNotifiesAutoRepeat = 2,
87 ibtClickNotifiedOnce = 3,
88 ibtClickSelectsReleaseNotifies = 4,
89 ibtClickSelectsDoubleClickNotifies = 5,
90 ibtClickNotifiesOnceAndDrag = 6,
91 ibtClickSelectsReleaseNotifiesAndDrag = 7,
92 ibtClickSelectsDoubleClickNotifiesAndDrag = 8,
93 ibtClickDragDoubleClick = 9,
94 ibtClickSelectsReturnsAndDrag = 10,
95 ibtClickGainCaretAndDrag = 14,
96 ibtClickGainCaret = 15
100 void wimp_deleteicon(
const tWindowHandle kwhWindow,
const tIconHandle kihIcon);