This object will let you create/destroy viewports as needed. More...
|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 smart_ptr< Manager >||create (void)|
This object will let you create/destroy viewports as needed.