FBView Class Reference


Detailed Description

Generic view.

Inheritance diagram for FBView:

List of all members.

Public Member Functions

 __init__ ()
 Constructor.
 IObject_Declare (K_IMPLEMENTATION)
 Refresh (bool pNow=False)
 Refresh view.
bool IsView ()
 Checks if object is a view.
 DrawString (str pText, float pX, float pY, int pEnable=-1)
 Draw a string in the view.
bool SetViewport (int pX, int pY, int pW, int pH)
 Set view's viewport.

Public Attributes

FBPropertyBase GraphicOGL
 Read Only Property: Indicates if the view is OpenGL.
FBPropertyBase DoubleBuffer
 Read Only Property: Indicates if the view is double buffered.

Member Function Documentation

__init__ ( )
IObject_Declare ( K_IMPLEMENTATION  )
Refresh ( bool  pNow = False)

Refresh view.

Parameters:
pNowIf true, refresh immediately (default = false).
bool IsView ( )

Checks if object is a view.

Returns:
Is object a view? (true or false)
DrawString ( str  pText,
float  pX,
float  pY,
int  pEnable = -1 
)

Draw a string in the view.

Parameters:
pTextText to draw.
pXX position of string.
pYY position of string.
pEnableIs string enabled? (default =-1)
bool SetViewport ( int  pX,
int  pY,
int  pW,
int  pH 
)

Set view's viewport.

Parameters:
pXViewport X value.
pYViewport Y value.
pWViewport W (width) value.
pHViewport H (height) value.
Returns:
Operation was successful (true or false).

Member Data Documentation

FBPropertyBase GraphicOGL

Read Only Property: Indicates if the view is OpenGL.

FBPropertyBase DoubleBuffer

Read Only Property: Indicates if the view is double buffered.


FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView
FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView