Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages | Examples

fgl::FGBlock Class Reference

#include <pane.h>

Collaboration diagram for fgl::FGBlock:

Collaboration graph
[legend]
List of all members.

Detailed Description

Top level class for GUI controls compounds You must inherit one in your own class and override method 'build'


Public Member Functions

 FGBlock (int w, int h, const char *n="", FGBlockStyle &s=default_style)
virtual void build (FGWindow *parent, int x, int y)=0
void __fastcall show (FGWindow *parent, int x, int y)
void __fastcall Disable (void)
void __fastcall Enable (void)
int __fastcall GetHeight (void)
int __fastcall GetWidth (void)
char *__fastcall GetName (void)
void __fastcall SetFixed (bool value)

Protected Member Functions

void __fastcall Add (FGControl *)

Protected Attributes

int width
int height
char name [64]
FGBlockStylestyle
void * container
bool fixed


Constructor & Destructor Documentation

fgl::FGBlock::FGBlock int  w,
int  h,
const char *  n = "",
FGBlockStyle s = default_style
 

Creates new logical block (for FGControls).


Member Function Documentation

virtual void fgl::FGBlock::build FGWindow parent,
int  x,
int  y
[pure virtual]
 

Override this methods to define Controls contained into the block.

int __fastcall fgl::FGBlock::GetHeight void   )  [inline]
 

Returns height of block.

char* __fastcall fgl::FGBlock::GetName void   )  [inline]
 

Returns symbolic name of block.

int __fastcall fgl::FGBlock::GetWidth void   )  [inline]
 

Returns width of block.

void __fastcall fgl::FGBlock::SetFixed bool  value  )  [inline]
 

Sets as 'fixed'

void __fastcall fgl::FGBlock::show FGWindow parent,
int  x,
int  y
[inline]
 

Build block - don't call directly!


Generated on Wed Feb 9 11:31:57 2005 for OpenGUI by  doxygen 1.4.0