FBView Class Reference

FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView FBView
Inheritance diagram for FBView:
Inheritance graph
[legend]

List of all members.


Detailed Description

Generic view.

Public Member Functions

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

Public Attributes

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

Constructor & Destructor Documentation

FBView (  ) 

Constructor.


Member Function Documentation

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 IsView (  ) 

Checks if object is a view.

Returns:
Is object a view? (true or false)

Reimplemented from FBVisualComponent.

Refresh ( bool  pNow = False  ) 

Refresh view.

Parameters:
pNow  If true, refresh immediately (default = false).

Reimplemented from FBVisualComponent.

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

bool DoubleBuffer

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

bool GraphicOGL

Read Only Property: Indicates if the view is OpenGL.


Generated on Tue Feb 9 19:34:45 2010 for Python Reference Guide by  doxygen 1.5.3