1 #ifndef SCROLLBUTTONCLASS_H
2 #define SCROLLBUTTONCLASS_H
6 ** This code is inspierd from ScrollerWindow 0.3
7 ** Copyright © 1994 Christoph Feck, TowerSystems.
9 ** Subclass of buttongclass. The ROM class has two problems, which make
10 ** it not quite usable for scrollarrows. The first problem is the missing
11 ** delay. Once the next INTUITICK gets sent by input.device, the ROM
12 ** class already sends a notification. The other problem is that it also
13 ** notifies us, when the button finally gets released (which is necessary
14 ** for command buttons).
16 ** We define a new class with the GM_GOACTIVE and GM_HANDLEINPUT method
17 ** overloaded to work around these problems.
21 #define SCROLLBUTTONCLASS "scrollbuttonclass"
22 #define SCROLLBUTTONVERS 1
25 /* Functions to initialize and destroy the class */
26 Class *MakeScrollButtonClass (void);
27 BOOL FreeScrollButtonClass (Class *cl);
35 /* This class does not define any new methods */
37 /********************/
38 /* Class Attributes */
39 /********************/
41 /* #define SBA_Dummy (TAG_USER | ('S'<<16) | ('B'<<8)) */
43 /* This class does not define any new attributes */
48 #endif /* !SCROLLBUTTONCLASS_H */