home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 3
/
AACD03.BIN
/
AACD
/
Programming
/
ClassFree
/
CFscrollerclass
/
scroller.doc
< prev
next >
Wrap
Text File
|
1998-05-19
|
1KB
|
63 lines
Class: scrollergclass
Author: Anders E. Andersen <andersa@fys.ku.dk>
Superclass: groupgclass
Desciption: GadTools scroller replacement
Include File: "scroller.h"
New Methods:
------------
None
Changed Methods:
----------------
OM_GET - PGA_Top, PGA_Visible and PGA_Total is processed. The others are
passed to the superclass...
OM_SET - Handles PGA_Top, PGA_Visible and PGA_Total
OM_ADDMEMBER - Theoretically still works, but... See bugs below.
Bugs:
-----
There is an error (not a real bug, more like a design error) in the groupgclass
that makes adding a groupgclass subclass object to a new groupgclass object
impossible.
Don't add a scroller.gadget to a groupgclass objectl. It will not display
correctly and intuition may hang.
Attributes:
-----------
GA_Left, GA_Top, GA_Width, GA_Height
Handles position and sice of entire gadget, including buttons. Depending on the
value of PGA_Freedom either GA_Width or GA_Height is ignored.
PGA_Borderless
PGA_NewLook
These will be overrided by scrollerclass and thus has no function.
PGA_Freedom, PGA_Top, PGA_Visible, PGA_Total.
Same as propgclass.
SYSIA_DrawInfo
IMPORTANT! The scroller object can't be created without this!
Get it with GetScreenDrawInfo().