| Library | File | Frames | Expand |
| void | FillArc | (uifcArc_ptr arc) |
|
Draw the filled arc specified by the given uifcArc structure.
|
| void | DrawEllipse | (uifcRectangle_ptr rect) |
|
Draw the outline of the ellipse bounded by the given rectangle.
|
| uifcPoint_ptr | GetFrameOrigin | () |
|
Determine the position of the component, in pixels, relative to its parent.
|
| void | FillGradientRectangle | (uifcRectangle_ptr rect, uifcOrientation orientation, uifcColor_ptr color1, uifcColor_ptr color2) |
|
Draw the filled given rectangle as a gradient from color1 to color2 in the given orientation.
|
| void | CopyRectangle | (uifcRectangle_ptr rect, uifcPoint_ptr point) |
|
Copy the contents of the given rectangle to the given point.
|
| void | DrawPoint | (uifcPoint_ptr point) |
|
Draw the given point.
|
| void | FillRectangleArray | (uifcRectangles_ptr rects) |
|
Draw the filled given rectangles.
|
| void | DrawLineArray | (uifcPoints_ptr start_points, uifcPoints_ptr end_points) |
|
Draw the given lines.
|
| void | DrawArcArray | (uifcArcs_ptr arcs) |
|
Draw the arcs specified by the given uifcArc structures. Each arc is drawn as a section of an ellipse.
|
| void | DrawArc | (uifcArc_ptr arc) |
|
Draw the arc specified by the given uifcArc structure. The arc is drawn as a section of an ellipse.
|
| xint | InsertPopupMenu | (uifcComponent_ptr component) |
|
Add a MenuPane to be displayed when the user presses the right mouse button over the component.
|
| void | DrawRectangleArray | (uifcRectangles_ptr rects) |
|
Draw the outlines of the given rectangles.
|
| void | DrawPointArray | (uifcPoints_ptr points) |
|
Draw the given points.
|
| xint | InsertChild | (uifcComponent_ptr component) |
|
| void | FillArcArray | (uifcArcs_ptr arcs) |
|
Draw the filled arcs specified by the given uifcArc structures.
|
| xint | GetTextBaseline | (xrstring str) |
|
Get the position in pixels of the baseline of the given text string.
|
| void | DeleteChild | (xrstring name) |
|
Delete a component from the parent.
|
| uifcDimension_ptr | GetFrameSize | () |
|
Determine the size of the component, in pixels.
|
| uifcDimension_ptr | GetTextSize | (xrstring str) |
|
Get the size in pixels of the given text string.
|
| uifcPoint_ptr | GetCursorPosition | () |
|
Get the cursor pointer position relative to the component.
|
| void | DeletePopupMenu | () |
|
Delete a MenuPane from the component.
|
| void | DrawImage | (xrstring image, uifcPoint_ptr position, uifcImageFlags flags) |
|
Draw the given image at the given position according to the given flags. IMAGE_DISABLED - the image is to be drawn to reflect a greyed-out state IMAGE_SELECTED - the image is to be drawn to reflect a selected state
|
| void | DrawPolygon | (uifcPoints_ptr points) |
|
Draw a polygon from the given polygonal lines, joining the first and last points.
|
| uifcPoint_ptr | GetScreenOrigin | () |
|
Determine the screen position of the component, in pixels.
|
| void | DrawImages | (xstringsequence_ptr images, uifcRectangles_ptr rects, uifcRectangles_ptr content_rects, uifcImageFlags flags) |
|
Draw the given images into the given rectangles, stretching as necessary, using content_rect to define sizing margins to control the stretching, according to the given flags. IMAGE_DISABLED - The image is to be drawn to reflect a greyed-out state IMAGE_SELECTED - The image is to be drawn to reflect a selected state
|
| void | DrawText | (xrstring str, uifcPoint_ptr position) |
|
Draw the given text string at the given position.
|
| void | FillPolygon | (uifcPoints_ptr points) |
|
Draw the filled polygon from the given polygonal lines.
|
| void | SetFrameSize | (uifcDimension_ptr value) |
|
Set the size of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
|
| uifcDimension_ptr | GetImageSize | (xrstring image) |
|
Get the size in pixels of the given image.
|
| void | FillEllipseArray | (uifcRectangles_ptr rects) |
|
Draw the filled ellipses bounded by the given rectangles.
|
| void | DrawMultipleImages | (xstringsequence_ptr images, uifcPoints_ptr points, uifcImageFlags flags) |
|
Draw the given images at the given positions according to the given flags. IMAGE_DISABLED - the images are to be drawn to reflect a greyed-out state IMAGE_SELECTED - the images are to be drawn to reflect a selected state
|
| uifcRectangle_ptr | GetFrameRectangle | () |
|
Determine the size and position of the component, in pixels.
|
| void | DrawTextArray | (xstringsequence_ptr strings, uifcPoints_ptr points) |
|
Draw the given text strings at the given positions.
|
| void | DrawEllipseArray | (uifcRectangles_ptr rects) |
|
Draw the outlines of the ellipses bounded by the given rectangles.
|
| void | FillRectangle | (uifcRectangle_ptr rect) |
|
Draw the filled given rectangle.
|
| void | SetFrameOrigin | (uifcPoint_ptr value) |
|
Set the screen position of the component, in pixels, relative to its parent. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
|
| void | DrawPolyline | (uifcPoints_ptr points) |
|
Draw the given polygonal lines.
|
| uifcDimension_ptr | GetFrameMinimumSize | () |
|
Determine the minimum size of the component, in pixels.
|
| void | DrawLine | (uifcPoint_ptr start_point, uifcPoint_ptr end_point) |
|
Draw the given line.
|
| uifcRectangle_ptr | GetScreenRectangle | () |
|
Determine the size and screen position of the component, in pixels.
|
| void | DrawRectangle | (uifcRectangle_ptr rect) |
|
Draw the outline of the given rectangle.
|
| void | SetFrameRectangle | (uifcRectangle_ptr rect) |
|
Set the size and screen position of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
|
| void | FillEllipse | (uifcRectangle_ptr rect) |
|
Draw the filled ellipse bounded by the given rectangle.
|
| void | Clear | () |
|
Clear the contents of the DrawingArea.
|
| uifcRectangle_ptr | GetRectangleOfMonitor | () |
|
Determine the rectangle of the screen upon which the majority of the given component is displayed.
|
| xbool | DoesTrackMouse | () |
|
| void | SetTrackMouse | (xbool flag) |
|
Sets flag indicating whether the DrawingArea generates a OnMouseMove() whenever the pointer is moved over the visible region of the component.
|
| xint | GetLineWidth | () |
|
| void | SetLineWidth | (xint value) |
|
Sets the current line drawing width of the DrawingArea in pixels.
|
| xint | GetMinimumWidth | () |
|
| void | SetMinimumWidth | (xint value) |
|
Sets the minimim width in pixels of the DrawingArea.
|
| xstring | GetDragItemName | () |
|
| void | SetDragItemName | (xrstring value) |
|
Sets the name of the item being dragged when the user starts a drag & drop operation by dragging within the component. This is set by the application, usually in response to a OnLeftMouseDown() callback. DragBoundingRectangle attribute may also be modified to specify the bounding rectangle outside of which the pointer must be dragged in order for a drag operation to begin.
|
| xstring | GetDragCursorImage | () |
|
| void | SetDragCursorImage | (xrstring value) |
|
Sets the cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over a valid drop-site.
|
| xbool | DoesAllowWheelInput | () |
|
| void | SetAllowWheelInput | (xbool flag) |
|
Sets the response of the component to mouse wheel input.
|
| xbool | IsDoubleBuffered | () |
|
| void | SetDoubleBuffered | (xbool flag) |
|
Sets flag indicating whether the DrawingArea is double-buffered.
|
| uifcKey_ptr | GetKeyPressed | () |
|
| void | SetKeyPressed | (uifcKey_ptr key) |
|
Sets the key pressed which generated a OnKeyDown(). To indicate to the DrawingArea that the key should not be passed on to, for example, the mapkey buffer you should modify this attribute to KEY_NONE at the end of your OnKeyDown() callback.
|
| uifcArcFillMode | GetArcFillMode | () |
|
| void | SetArcFillMode | (uifcArcFillMode value) |
|
Sets the fill mode to be used when drawing Arcs in the DrawingArea.
|
| uifcArcDirection | GetArcDirection | () |
|
| void | SetArcDirection | (uifcArcDirection value) |
|
Sets the direction to use when drawing Arcs in the DrawingArea.
|
| uifcRichText | GetTextFormat | () |
|
| void | SetTextFormat | (uifcRichText value) |
|
Sets the format of the display text of the component.
The UI RichText format supports the following styles, controlled by their corresponding tokens:
N.B. Each token must be followed immediately by another token or a whitespace character (e.g. space, newline). The very restricted subset of HTML supports the following styles, controlled by their corresponding tokens:
|
| xstring | GetDragNotValidCursorImage | () |
|
| void | SetDragNotValidCursorImage | (xrstring value) |
|
Sets the cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over an invalid drop-site.
|
| xbool | DoesAllowKeyboardInput | () |
|
| void | SetAllowKeyboardInput | (xbool flag) |
|
Sets flag indicating whether the component is capable of receiving keyboard input (xtrue), and hence is capable of receiving the keyboard input focus, or whether it responds only to mouse input (xfalse).
|
| xstring | GetFontName | () |
|
| void | SetFontName | (xrstring value) |
|
Sets the name of the font used to draw text in the component. This may also contain a comma-separated list of font names, in which case the closest match (or the first exact match, if available) will be used.
|
| xstringsequence_ptr | GetDrawingImageArray | () |
|
| void | SetDrawingImageArray | (xstringsequence_ptr values) |
|
Sets the names of the images which will be drawn in the DrawingArea. Each image may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
|
| uifcFontClass | GetFontClass | () |
|
| void | SetFontClass | (uifcFontClass value) |
|
Sets the base font class to be used to draw text in the component.
|
| uifcPolygonFillMode | GetPolygonFillMode | () |
|
| void | SetPolygonFillMode | (uifcPolygonFillMode value) |
|
Sets the fill mode to be used when drawing Polygons in the DrawingArea.
|
| xbool | IsValidDragSite | () |
|
| void | SetValidDragSite | (xbool flag) |
|
Sets flag indicating whether the component can be dragged to start a drag & drop operation.
|
| xint | GetWidth | () |
|
| void | SetWidth | (xint value) |
|
Sets the width in pixels of the DrawingArea.
|
| xbool | DoesClipChildren | () |
|
| void | SetClipChildren | (xbool flag) |
|
Sets flag indicating whether drawing operations within the DrawingArea are clipped so that they do not overlap any children contained within the DrawingArea.
|
| uifcDrawingMode | GetDrawingMode | () |
|
| void | SetDrawingMode | (uifcDrawingMode value) |
|
Sets the drawing mode of the DrawingArea.
|
| xint | GetMinimumHeight | () |
|
| void | SetMinimumHeight | (xint value) |
|
Sets the minimum height in pixels of the DrawingArea.
|
| xreal | GetFontSize | () |
|
| void | SetFontSize | (xreal value) |
|
Sets the point-size of the font used to draw text in the component.
|
| xbool | CanRedraw | () |
|
| void | SetCanRedraw | (xbool flag) |
|
Sets flag indicating whether redraws are permitted in the DrawingArea.
|
| xbool | IsEnabled | () |
|
| void | SetEnabled | (xbool flag) |
|
Sets flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
|
| xstring | GetHelpText | () |
|
| void | SetHelpText | (xrstring value) |
|
Sets the popup help-text to be displayed whilst the pointer is over the component. If the value begins with <HTML> then the help-text is treated as HTML, and rendered accordingly. It is often wise to use HTML help-text in conjunction with HelpTextWidth attribute, to define the maximum width of the popup help-text window.
|
| uifcColor_ptr | GetDrawingColor | () |
|
| void | SetDrawingColor | (uifcColor_ptr color) |
|
Sets the foreground drawing color of the component as a uifcColor.
|
| xstring | GetMostRecentItemName | () |
|
| uifcColor_ptr | GetDrawingBackgroundColor | () |
|
| void | SetDrawingBackgroundColor | (uifcColor_ptr color) |
|
Sets the background drawing color of the component as a uifcColor.
|
| uifcFontStyle | GetFontStyle | () |
|
| void | SetFontStyle | (uifcFontStyle value) |
|
Sets a bitwise OR of the styles of the font used to draw text in the component.
|
| xint | GetHeight | () |
|
| void | SetHeight | (xint value) |
|
Sets the height in pixels of the DrawingArea.
|
| xbool | HasBorder | () |
|
| void | SetHasBorder | (xbool flag) |
|
Sets flag indicating whether the DrawingArea has a decorated shadow border.
|
| uifcLineStyle | GetLineStyle | () |
|
| void | SetLineStyle | (uifcLineStyle value) |
|
Sets the current line drawing style of the DrawingArea.
|
| void | AddActionListener | (uifcDrawingAreaListener_ptr listener) |
|
| void | PushAction | (uifcDrawingAreaAction action) |
|
| void | CreateTimer | (uifcDrawingAreaTimer_ptr timer, xrstring timerName, xbool writeInTrail) |
|
| void | StartTimer | (xrstring timerName, xint duration) |
|
| void | StopTimer | (xrstring timerName) |
|