Views
Manager Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions | Public Attributes
IlvManagerLayerAlphaMessage Class Reference

Manager message class used when setting the alpha value of a manager layer. More...

#include <ilviews/manager/observer.h>

Inheritance diagram for IlvManagerLayerAlphaMessage:
IlvManagerLayerMessage IlvManagerMessage

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ IlvManagerLayerAlphaMessage()

IlvManagerLayerAlphaMessage::IlvManagerLayerAlphaMessage ( int  layer,
IlvIntensity  oldValue 
)

Constructor.

Sets the message type to IlvMgrMsgLayerAlpha.

Parameters
layerThe index of the layer.
oldValueThe previous alpha value of the manager layer.

Member Data Documentation

◆ _oldAlpha

IlvIntensity IlvManagerLayerAlphaMessage::_oldAlpha

Previous alpha value.

The previous alpha value of the the manager layer.