#include <IViewPort.h>
|
| enum | { kDefaultIID = IID_IVIEWPORT } |
| |
| enum | FocusState { kNotInFocus, kInFocus, kInFocusSuspended } |
| |
IViewPort serves as a generic "handle" to a viewport boss.
- See Also
- IViewPortArbitrator
| virtual void IViewPort::BeginFocus | ( | | ) | |
| pure virtual |
Called when this port becomes the target of graphic operations. This is called by the raster port arbitrator in its BeginPortFocus implementation.
- See Also
- IViewPortArbitrator::BeginPortFocus
| virtual void IViewPort::EndFocus | ( | | ) | |
| pure virtual |
Called when this port is torn down by the raster port arbitrator. This is called by the raster port arbitrator in its EndPortFocus implementation.
- See Also
- ViewPortArbitrator::EndPortFocus
| virtual FocusState IViewPort::GetFocusState | ( | | ) | const |
| pure virtual |
Gets the port's owner. This may be any interface
- Returns
- The port's owner
| virtual void IViewPort::ResumeFocus | ( | | ) | |
| pure virtual |
Called when this port is suspended and is once again about to receive the focus
- See Also
- ViewPortArbitrator::EndPortFocus
| virtual void IViewPort::SetOwner | ( | IPMUnknown * | owner | ) | |
| pure virtual |
Sets the port's owner. This may be any interface
Note: Internal implementations do not take ownership of owner and will not call AddRef or Release on it
- Parameters
| virtual void IViewPort::SuspendFocus | ( | | ) | |
| pure virtual |