CIvfWindow Class Reference

#include <ivfui/IvfWindow.h>

Inheritance diagram for CIvfWindow:

CIvfFltkBase CIvfPopupMenu CIvfWidgetBase CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfWindow (int X, int Y, int W, int H)
 IvfClassInfo ("CIvfWindow", CIvfFltkBase)
void setWindowTitle (const char *title)
void show ()
virtual void doMouseDown (int x, int y)
virtual void doMouseUp (int x, int y)

Detailed Description

Window class for a general Ivf++ application

This class implements a generic Ivf++ window with standard event methods based on CIvfWidget. The CIvfWindow class should not be used directly. A user defined window class should be derived and the neccesary event methods overridden.

Author:
Jonas Lindemann
Examples:

ac3dreader.cpp, actionctl.cpp, advgeom.cpp, controllers.cpp, culling.cpp, extrusion.cpp, handlers.cpp, lighting.cpp, lod.cpp, manip.cpp, placement.cpp, robot.cpp, selection.cpp, and textures.cpp.

Definition at line 44 of file IvfWindow.h.


Constructor & Destructor Documentation

CIvfWindow::CIvfWindow int  X,
int  Y,
int  W,
int  H
 

CIvfWindow constructor

Window will not be visible until the show() method is called.

Parameters:
X Window x position
Y Window y position
W Window width
H Window height


Member Function Documentation

virtual void CIvfWindow::doMouseDown int  x,
int  y
[virtual]
 

MouseDown event handling (called from widget)

Derived widget should call this method when any of the mouse buttons is pressed.

Reimplemented from CIvfWidgetBase.

virtual void CIvfWindow::doMouseUp int  x,
int  y
[virtual]
 

MouseUp event handling (called from widget)

Derived widget should call this method when any of the mouse buttons is released.

Reimplemented from CIvfWidgetBase.

void CIvfWindow::setWindowTitle const char *  title  ) 
 

Sets window title

void CIvfWindow::show  ) 
 

Shows window on screen


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:37:02 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO