Public Member Functions | Public Attributes

FBView Class Reference

This reference page is linked to from the following overview topics: Events & callbacks.


Search for all occurrences

Detailed Description

Generic view.

Definition at line 1844 of file fbcontrols.h.

#include <fbcontrols.h>

Inheritance diagram for FBView:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  FBView ()
  Constructor.
  IObject_Declare (Implementation)
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

IObject_Declare ( Implementation  )
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

Read Only Property: Indicates if the view is OpenGL.

Definition at line 1880 of file fbcontrols.h.

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

Definition at line 1881 of file fbcontrols.h.


The documentation for this class was generated from the following file:

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