home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- progress.gadget/progress.gadget
- progress.gadget/GetProgressClass
-
- progress.gadget/progress.gadget
-
- NAME
- progress.gadget -- create standard progress indicator gadget (V36)
-
- FUNCTION
- This class provides ability to create standarized progress
- gadget. With this class you can easly show how many was done
- of current work. You can set any number of maximum value
- for this gadget. Progress.gadget provides for you ability to
- convert current values to number of percents (eg: copied
- file is 4500 bytes long, so when copying it you can show user
- what percent of file was copied, instead of current bytes copied).
-
- TAGS
- PROG_MaxVal (ULONG) - Sets/Gets maximum available value.
- Default for this tag is 100. Applicability is (ISG).
-
- PROG_CurVal (ULONG) - Sets/Gets current value.
- Default for this tag is 0. Applicability is (ISGNU).
-
- PROG_TextFont (struct TextFont *) - Sets/Gets font used for
- text rendering. Default for this tag is current font.
- Applicability is (IG).
-
- PROG_ConvertToPercents (BOOL) - If set to true all values
- rendered in gadget will be converted to percents.
- Default for this tag is TRUE. Applicability is (ISG).
-
- PROG_Format (STRPTR) - Sets format of text rendering. Default
- for this tag is "%d". Applicability is (ISG).
-
- PROG_Border (BOOL) - Set to TRUE if you want bevelled box around
- gadget. Default for this tag is TRUE. Applicability is (ISG).
-
- PROG_Placement (ULONG) - Sets placement of text set by PROG_Format.
- Available values are: PLACETEXT_#? (IN, ABOVE, BELOW, LEFT,
- RIGHT). Default for this tag is PLACETEXT_IN. Applicability
- is (ISG).
-
-
- progress.gadget/GetProgressClass
-
- NAME
- GetProgressClass -- get base class of gadget (V36)
-
- SYNOPSIS
-
- class = GetProgressClass()
- D0
-
- Class *GetProgressClass( void );
-
- FUNCTION
- Retrives base address of class to use later with
- intuition.library/NewObject().
-
- RESULT
- A boopsi class which can be used to use with NewObject().
-
- SEE ALSO
- intuition.library/NewObject().
-
-
-