home *** CD-ROM | disk | FTP | other *** search
-
- File: progressclass.doc
- Description: Progressclass documentation.
- Copyright: (C) Copyright 1994-1995 Jaba Development.
- (C) Copyright 1994-1995 Jan van den Baard.
- All Rights Reserved.
-
- ------------------------------------------------------------------------------
-
- TABLE OF CONTENTS
-
- progressclass/--background--
- progressclass/Methods
- progressclass/Attributes
-
- progressclass/--background-- progressclass/--background--
-
- NAME
- Class: progressclass
- Superclass: baseclass
- Include File: <libraries/bgui.h>
-
- FUNCTION
- To provide a progression indicator in the form of a fuel guage.
- Objects from this class will send out the following attribute pairs in
- notification events:
-
- GA_ID - Gadget object ID.
- PROGRESS_Done - Current level of progression.
-
- progressclass/Methods progressclass/Methods
-
- NEW METHODS
- None.
-
- CHANGED METHODS
- None.
-
- progressclass/Attributes progressclass/Attributes
-
- NAME
- PROGRESS_Min, PROGRESS_Max - ( LONG )
-
- FUNCTION
- Set the minimum and maximum possible progression.
-
- Defaults are 0 minimum and 100 maximum. Applicability is (IS).
-
- SEE ALSO
- PROGRESS_Done
-
- NAME
- PROGRESS_Done -- ( LONG )
-
- FUNCTION
- Set or update the current level of progression.
-
- Default is 0. Applicability is (ISGNU).
-
- SEE ALSO
- PROGRESS_Min, PROGRESS_Max
-
- NAME
- PROGRESS_Vertical -- ( BOOL )
-
- FUNCTION
- To make the indication vertical. By default the guage is horizontal
- which is filled from left to right. A vertical guage is filled from
- bottom to top.
-
- Default is FALSE. Applicability is (I).
-
- NAME
- PROGRESS_Divisor -- ( ULONG )
-
- FUNCTION
- Set a divisor which is used to devide the level of progression before
- it is rendered. This is necessary when the progression minimum and
- maximum levels are very far appart (I.E. 0 to 0xFFFFFFFF). This way a
- fairly accurate progression is displayed.
-