NvUIWindow Class Reference

A single, top-level container that can manage all NvUIElements in the view. More...

#include <NvUI.h>

Inheritance diagram for NvUIWindow:

NvUIContainer NvUIElement

List of all members.

Public Member Functions

 NvUIWindow (float width, float height)
 Default constructor, takes starting window/viewport width/height.
virtual ~NvUIWindow ()
 Default destructor.
virtual NvUIEventResponse HandleEvent (const NvGestureEvent &ev, NvUST timeUST, NvUIElement *hasFocus)
 Overrides and calls normal HandleEvent, with pointer to this as element with focus.
virtual void HandleReshape (float w, float h)
 TODO -- Responsible for ensuring things get appropriate resized, in as much as that is possible given current NvUI system design constraints.


Detailed Description

A single, top-level container that can manage all NvUIElements in the view.

Most importantly, the NvUIWindow class automatically takes care of calling HandleReaction on its children after processing the HandleEvent.

See also:
NvUIContainer

Constructor & Destructor Documentation

NvUIWindow::NvUIWindow ( float  width,
float  height 
) [inline]

Default constructor, takes starting window/viewport width/height.

Also responsible for initializing the NvUIText system with the same dimensions.

virtual NvUIWindow::~NvUIWindow (  )  [inline, virtual]

Default destructor.

Primarily exists to ensure NvUIText is cleaned up at UI shutdown.


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