UIcursor

Synopsis

base type for specialized UIcursor objects

module+OPort
  UIcursor <cxx_class="UIcursorP",use_src_file=0,
       NEnumColors=2,NEcolor0=0xffff00,NEcolor1=0x008800> {
  Boolean attach_cursor = 1; /* Set to 0 to unset cursor */
  UIcolor color; /* Option colors for background and foreground*/
     cxxmethod+notify_inst+req init<NEvisible=0>;
     cxxmethod+req update<NEvisible=0>
  (attach_cursor+notify,color.foregroundColor+notify,color.backgroundColor+notify);
   };

Description

The UIcursor object is a virtual base class for specialized UIcursor objects. It provides a reference port on UIwindow objects to allow the connection of various subtypes of UIcursor class objects. Instantiable subclasses of the UIcursor class ( UIfontCursorand UIpixmapCursor) can connect to multiple UIwindow class objects to provide the same cursor type to each.

Subobjects

attach_cursor =1

Boolean. If = 1, cursor is made visible in window of attached UI object. If = 0, cursor defaults to default cursor for window.

color

Foreground and background color attributes of the cursor bitmap. For more details, see UIcolor .

Example

Not Available

File

v/UI.v

See Also Related Modules

UIfontCursor
UIpixmapCursor