FBView Class Reference

#include <fbcontrols.h>
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.

Definition at line 1842 of file fbcontrols.h.


Public Member Functions

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

Public Attributes

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

Constructor & Destructor Documentation

FBView (  ) 

Constructor.


Member Function Documentation

virtual void Refresh ( bool  pNow = false  )  [virtual]

Refresh view.

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

Reimplemented from FBVisualComponent.

virtual bool IsView (  )  [virtual]

Checks if object is a view.

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

Reimplemented from FBVisualComponent.

virtual void DrawString ( char *  pText,
float  pX,
float  pY,
int  pEnable = -1  
) [virtual]

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)

virtual bool SetViewport ( int  pX,
int  pY,
int  pW,
int  pH  
) [virtual]

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

FBPropertyBool GraphicOGL

Read Only Property: Indicates if the view is OpenGL.

Definition at line 1878 of file fbcontrols.h.

FBPropertyBool DoubleBuffer

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

Definition at line 1879 of file fbcontrols.h.


Please send us your comments about this page.