Public Member Functions | Static Public Member Functions

view::Manager Class Reference

This object will let you create/destroy viewports as needed. More...

#include <viewport.h>

Inheritance diagram for view::Manager:
Inheritance graph

List of all members.

Public Member Functions

virtual ~Manager (void) throw ()
virtual int getViewportCount (void) const =0
virtual void render (int windowWidth, int windowHeight)=0
 render all viewports.
virtual int getOwnerOfCoordinate (int x, int y, int width, int height, int &ownerX, int &ownerY)=0
 given an x/y coordinate, who owns it? Returns -1 if no one owns if someone owns, returns the x and y coordinates relative to the viewport of that owner.
virtual bool createViewport (int id, smart_ptr< Host > host)=0
 caller can request a new viewport be created.
virtual bool removeViewport (int id)=0
 remove the specified viewport.

Static Public Member Functions

static smart_ptr< Managercreate (void)

Detailed Description

This object will let you create/destroy viewports as needed.

Definition at line 108 of file viewport.h.

Constructor & Destructor Documentation

view::Manager::~Manager ( void   )  throw () [virtual]

Definition at line 41 of file viewport.cpp.

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