SIMPOL Documentation

Chapter 11. The wxWidgets-based (WXWN) Components

Table of Contents

The wxwn component provides the various cross-platform GUI functionality for SIMPOL using the wxWidgets cross-platform toolkit.

rgb

Description

An rgb object represents a color, and is embedded in another object where that object has some property that is a color.

Type Tags

None

Object Value

The value of an rgb object is an integer that specifies a color. It is not advisable to try to interpret or to perform arithmetic on this value.

Properties

PropertyTypeDescription
blueinteger Gives the value of the blue component of the color value contained in the rgb object.
greeninteger Gives the value of the green component of the color value contained in the rgb object.
redinteger Gives the value of the red component of the color value contained in the rgb object.
typetype Specifies the rgb type object.