Example #1
0
//CONSTRUCTION
Window::Window( void ) :
    m_rect( 0.0, 0.0, 0.0, 0.0 )
    , m_color( GUI_OPAQUE_BLACK() )
    , m_outlineColor( GUI_CLEAR )
    , m_outlineWidth( 1.0 )
    , m_deleteOnClose( true )
    , m_controls( NULL )
    , m_controller( NULL )
{
    m_controls = new GroupControl();
}
// CONSTRUCTION
PaintText::PaintText(void)
:
m_rect(),
m_text(),
m_color(GUI_OPAQUE_BLACK()),
m_font(),
m_justification(RIGHT_JUSTIFY),
m_widthExceeded(ELLIPSIS),
m_needLayout(true),
m_layoutVersion(0),
m_verticalScaling(0.7),
m_horizontalScaling(0.7)
{
}
// CONSTRUCTION
Slider::Slider(void)
:
m_minValue(0),
m_maxValue(100),
m_thumbLength(.15),
m_originalThumbLength(m_thumbLength),
m_pageSize(10),
m_thumbColor(m_color),
m_thumbOutlineColor(GUI_OPAQUE_BLACK()),
m_position(m_minValue),
m_vertical(true),
m_mouseState(MOUSE_NONE),
m_buttonDownMouse(0.0),
m_buttonDownPosition(0),
m_thumbRect()
{
}