Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::graphics::gui::base::RectangleStyle Class Reference

A class that describes the visual style of a rectangular GUI region. More...

#include <omGraphicsGUIRectangleStyle.h>

Public Member Functions

 RectangleStyle ()
 Create a new rectangle style with the default style attributes. More...
 
 RectangleStyle (const Border &newBorder, const Color4f &newBorderColor, const Color4f &newBackgroundColor)
 Create a new rectangle style with the specified border, border color, and background color. More...
 

Public Attributes

Border border
 An object describing the border of this rectangle's style. More...
 
Color4f borderColor
 The color to use when drawing this rectangle's border. More...
 
Color4f backgroundColor
 The color to use when drawing this rectangle's background. More...
 

Detailed Description

A class that describes the visual style of a rectangular GUI region.

Constructor & Destructor Documentation

om::graphics::gui::base::RectangleStyle::RectangleStyle ( )
inline

Create a new rectangle style with the default style attributes.

om::graphics::gui::base::RectangleStyle::RectangleStyle ( const Border newBorder,
const Color4f &  newBorderColor,
const Color4f &  newBackgroundColor 
)
inline

Create a new rectangle style with the specified border, border color, and background color.

Member Data Documentation

Border om::graphics::gui::base::RectangleStyle::border

An object describing the border of this rectangle's style.

Color4f om::graphics::gui::base::RectangleStyle::borderColor

The color to use when drawing this rectangle's border.

Color4f om::graphics::gui::base::RectangleStyle::backgroundColor

The color to use when drawing this rectangle's background.


The documentation for this class was generated from the following file: