Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
ComponentInterfaceNodeStatus Struct Reference

Public Types

enum  VisualHint {
  VISUAL_HINT_NONE,
  VISUAL_HINT_SOLID_COLOR,
  VISUAL_HINT_PATTERN,
  VISUAL_HINT_IMAGE
}
 
enum  State {
  STATE_OK,
  STATE_ERROR,
  STATE_WARNING,
  STATE_EVALUATING,
  STATE_WAITING,
  STATE_UNPROCESSED,
  STATE_DIRTY,
  STATE_MODIFIED,
  STATE_OVERRIDE,
  STATE_CUSTOM
}
 

Public Member Functions

void set_ok ()
 nothing
 
void set_color (unsigned char r, unsigned char g, unsigned char b)
 
void set_image (const unsigned char *img, int w, int h, int depth)
 
void set_pattern (unsigned char r, unsigned char g, unsigned char b, unsigned char *bg, const unsigned char *tx)
 
void set_error ()
 red solid bar
 
void set_warning ()
 yellow solid bar
 
void set_evaluating ()
 blue solid bar
 
void set_waiting ()
 white thick hatch pattern
 
void set_unprocessed ()
 blue thin hatch pattern
 
void set_dirty ()
 red thin hatch pattern
 
void set_modified ()
 "road works" bannier texture
 
void set_override ()
 override color solid bar
 

Public Attributes

VisualHint hint
 
int state
 
unsigned char bg_rgb [3]
 optional background color
 
unsigned char rgb [3]
 optional foreground color
 
bool has_bg
 
bool has_fg
 use bg/fg color ?
 
double left
 
double right
 span to apply (default is [0,1])
 
const unsigned char * pattern
 32x32 bits for glPolygonStipple
 
const unsigned char * image
 png bits, size assumed to be image_w*image_h*image_depth
 
int image_w
 
int image_h
 
int image_depth
 png dimensions & depth