@database "glyph_ic" @master "AMIDEV:NDK/Autodocs/glyph_ic.doc" @Node Main "glyph_ic.doc" @toc "Autodocs/AG/INDEX/Main" @{" --datasheet--() " Link "--datasheet--()"} @{" GLYPH_GetClass() " Link "GLYPH_GetClass()"} @EndNode @Node "--datasheet--()" "glyph_ic/--datasheet--" @{b} NAME@{ub} glyph_ic -- create glyph BOOPSI objects @{b} SUPERCLASS@{ub} imageclass @{b} REQUIRES@{ub} drawlist.image @{b} DESCRIPTION@{ub} This image class can create scaled glyphs suitable for use as gadget imagery or informational requestor imagery. Either a penmap or drawlist scaled image is created internally, and external user prefered glyph style sets may become possible at a later date. @{b} METHODS@{ub} @{"OM_NEW" Link "tabs_gc/OM_NEW"} -- Create the glyph image. Passed to superclass, then @{"OM_SET" Link "tabs_gc/OM_SET"}. @{"OM_GET" Link "tabs_gc/OM_GET"} -- Get object attributes. Passed to superclass first. @{"OM_SET" Link "tabs_gc/OM_SET"} -- Set object attributes. Passed to superclass first. OM_UPDATE -- Set object notification attributes. Passed to superclass first. IM_DRAW -- Renders the image. Overrides the superclass. IM_DRAWFRAME -- Renders the image scaled to fit in the frame. Following IM_DRAW will be this size. Overrides the superclass. All other methods are passed to the superclass. @{b} ATTRIBUTES@{ub} GLYPH_Glyph (LONG) Selects any one of the built-in scaled image glyphs. Current supported and defined in : GLYPH_NONE - No image. GLYPH_DOWNARROW - Indicates downward movement control. GLYPH_UPARROW - Indicates upward movement control. GLYPH_LEFTARROW - Indicates left movement control. GLYPH_RIGHTARROW - Indicates right movement control. GLYPH_DROPDOWN - Denotes a drop-down menu. GLYPH_POPUP - Denotes a pop-up menu. GLYPH_CHECKMARK - Indicates a toggle. GLYPH_POPFONT - Font selection. GLYPH_POPFILE - File selection. GLYPH_POPDRAWER - Drawer (directory) selection. GLYPH_POPSCREENMODE - Screenmode selection. GLYPH_POPTIME - Time selection. GLYPH_RADIOBUTTON - Mutual exclusion item. GLYPH_RETURNARROW - RETURN key controlled. GLYPH_BDOWNARROW - GLYPH_BUPARROW - GLYPH_BLEFTARROW - GLYPH_BRIGHTARROW - GLYPH_DROPDOWNMENU - indicator for a dropdown menu GLYPH_CYCLE - indicator for a cycle gadget GLYPH_POPDATE (V47) - Date selection. GLYPH_SHIFTKEY (V47) - Shift key. GLYPH_POPCOLOR (V47) - Palette editing. Defaults to GLYPH_POPFILE. Applicability is (OM_NEW, @{"OM_SET" Link "tabs_gc/OM_SET"}, OM_UPDATE) @EndNode @Node "GLYPH_GetClass()" "glyph_ic/GLYPH_GetClass" @{b} NAME@{ub} GLYPH_GetClass -- Gets the pointer to the glyph class. @{b} SYNOPSIS@{ub} glyph_class = GLYPH_GetClass(); D0 Class * GLYPH_GetClass(VOID); @{b} FUNCTION@{ub} Obtains the pointer to the glyph image class for use with @{"NewObject()" Link "intuition/NewObject()"}. This function always returns a valid pointer so you do not need to check it. The reason is that if the library opens fine, then the pointer returned is already setup. (Of course this implies that if opening the library fails, you shouldn't be calling this.) Note that this function does not create the class, that is done when the class library is opened. @{b} INPUTS@{ub} Nothing. @{b} RESULT@{ub} glyph_class - Pointer to the glyph image class. @{b} SEE ALSO@{ub} @EndNode