This reference page is linked to from the following overview topics: Events & callbacks.
Generic view.
Definition at line 1844 of file fbcontrols.h.
#include <fbcontrols.h>

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. |
|
| FBView | ( | ) |
Constructor.
| IObject_Declare | ( | Implementation | ) |
Reimplemented from FBVisualComponent.
| virtual void Refresh | ( | bool | pNow = false |
) | [virtual] |
Refresh view.
| pNow | If true, refresh immediately (default = false). |
Reimplemented from FBVisualComponent.
| virtual bool IsView | ( | ) | [virtual] |
Checks if object is a view.
Reimplemented from FBVisualComponent.
| virtual void DrawString | ( | char * | pText, |
| float | pX, | ||
| float | pY, | ||
| int | pEnable = -1 |
||
| ) | [virtual] |
Draw a string in the view.
| 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.
| pX | Viewport X value. |
| pY | Viewport Y value. |
| pW | Viewport W (width) value. |
| pH | Viewport H (height) value. |
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.