Manager message class used when setting the alpha value of a manager layer. More...
#include <ilviews/manager/observer.h>
Public Member Functions | |
IlvManagerLayerAlphaMessage (int layer, IlvIntensity oldValue) | |
Constructor. More... | |
Public Member Functions inherited from IlvManagerLayerMessage | |
IlvManagerLayerMessage (IlUInt reason, int layer) | |
Constructor. More... | |
int | getLayer () const |
Returns the index of the layer. More... | |
Public Member Functions inherited from IlvManagerMessage | |
IlvManagerMessage (IlUInt reason, IlUInt mask, IlAny data=0) | |
Constructor. More... | |
Public Attributes | |
IlvIntensity | _oldAlpha |
Previous alpha value. More... | |
Public Attributes inherited from IlvManagerMessage | |
IlAny | _data |
Additional message information. More... | |
IlUInt | _mask |
Message mask (or message category). More... | |
IlUInt | _reason |
Message type. More... | |
Manager message class used when setting the alpha value of a manager layer.
Library: ilvmgr
This message class is used in the method IlvManagerLayer::setAlpha()
. The reason (or message type) is always IlvMgrMsgLayerAlpha
. The new alpha value of the layer is available though the manager layer object. The previous alpha value of the layer is stored in the message data field _oldAlpha
.
IlvManagerLayerAlphaMessage::IlvManagerLayerAlphaMessage | ( | int | layer, |
IlvIntensity | oldValue | ||
) |
Constructor.
Sets the message type to IlvMgrMsgLayerAlpha
.
layer | The index of the layer. |
oldValue | The previous alpha value of the manager layer. |
IlvIntensity IlvManagerLayerAlphaMessage::_oldAlpha |
Previous alpha value.
The previous alpha value of the the manager layer.