FBView Class Reference


Detailed Description

Generic view.

Inheritance diagram for FBView:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  Constructor.
  IObject_Declare (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 ( Implementation  )
Refresh ( bool  pNow = False )

Refresh view.

Parameters:
pNow If 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:
pText Text to draw.
pX X position of string.
pY Y position of string.
pEnable Is string enabled? (default =-1)
bool SetViewport ( int  pX,
int  pY,
int  pW,
int  pH 
)

Set view's viewport.

Parameters:
pX Viewport X value.
pY Viewport Y value.
pW Viewport W (width) value.
pH Viewport 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