Rogue Wave Views Manager Package API Reference Guide |
Rogue Wave Views Documentation Home |
Manager message class used when modifying the visibility of a manager layer. More...
#include <ilviews/manager/observer.h>
Public Member Functions | |
IlvManagerLayerVisibilityMessage (int layer, IlvMgrView *mgrview=0) | |
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 | |
IlvMgrView * | _mgrview |
The manager view, if applicable. 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 modifying the visibility of a manager layer.
Library: ilvmgr
This message class is used in member functions modifying the visibility of a layer, either for one manager view or globally (for all the manager views). These member functions are IlvManagerLayer::setVisible()
, and IlvManager::setVisible()
. The reason (or message type) is always IlvMgrMsgLayerVisibility
.
IlvManagerLayerVisibilityMessage::IlvManagerLayerVisibilityMessage | ( | int | layer, |
IlvMgrView * | mgrview = 0 |
||
) |
Constructor.
Sets the message type to IlvMgrMsgLayerVisibility
.
layer | The index of the layer. |
mgrview | The manager view, or 0 . |
IlvMgrView* IlvManagerLayerVisibilityMessage::_mgrview |
The manager view, if applicable.
The data member is set to 0
if the layer visibility is changed globally, that is, for all the manager views. If the visibility changes for just one manager view, _mgrview is set to this manager view.
© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.