PixelLightAPI  .
Protected Member Functions | Protected Attributes
PLGui::AbstractToggleButton Class Reference

Abstract base class for toggle buttons (two or three states) More...

#include <AbstractToggleButton.h>

Inheritance diagram for PLGui::AbstractToggleButton:
Inheritance graph
[legend]

List of all members.

Protected Member Functions

virtual void OnButtonToggled (ECheckState nChecked)
virtual void OnButtonClicked () override
void OnGroupActivate (AbstractToggleButton *pButton)
 This function is called when a button of the group is activated.

Protected Attributes

ButtonGroupm_pGroup
bool m_bPartiallyAllowed
ECheckState m_nState

Detailed Description

Abstract base class for toggle buttons (two or three states)


Member Function Documentation

virtual void PLGui::AbstractToggleButton::OnButtonToggled ( ECheckState  nChecked) [protected, virtual]
virtual void PLGui::AbstractToggleButton::OnButtonClicked ( ) [override, protected, virtual]

Reimplemented from PLGui::AbstractButton.

This function is called when a button of the group is activated.

Parameters:
[in]pButtonPointer to button that is being activated

Member Data Documentation

Pointer to button group, can be a null pointer

Is the third state (PartiallyChecked) allowed?

Current check state


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


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:33
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported