Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

GLUI_Panel Class Reference

#include <glui.h>

Inheritance diagram for GLUI_Panel:

GLUI_Control GLUI_Node GLUI_FileBrowser GLUI_Rollout GLUI_Tree GLUI_TreePanel List of all members.

Detailed Description

A GLUI_Panel contains a group of related controls.


Public Member Functions

 GLUI_Panel (GLUI_Node *parent, const char *name, int type=GLUI_PANEL_EMBOSSED)
 GLUI_Panel ()
void draw (int x, int y)
void set_name (const char *text)
void set_type (int new_type)
void update_size (void)

Protected Member Functions

void common_init (void)


Constructor & Destructor Documentation

GLUI_Panel::GLUI_Panel GLUI_Node parent,
const char *  name,
int  type = GLUI_PANEL_EMBOSSED
 

Create a new panel. A panel groups together a set of related controls.

Parameters:
parent The outer panel our panel is inside; or the main GLUI object.
name The string name at the top of our panel.
type Optional style to display the panel with--GLUI_PANEL_EMBOSSED by default. GLUI_PANEL_RAISED causes the panel to appear higher than the surroundings. GLUI_PANEL_NONE causes the panel's outline to be invisible.

GLUI_Panel::GLUI_Panel  )  [inline]
 


Member Function Documentation

void GLUI_Panel::common_init void   )  [inline, protected]
 

Reimplemented in GLUI_FileBrowser, GLUI_Rollout, GLUI_Tree, and GLUI_TreePanel.

void GLUI_Panel::draw int  x,
int  y
[virtual]
 

Implements GLUI_Control.

Reimplemented in GLUI_Rollout, and GLUI_Tree.

void GLUI_Panel::set_name const char *  text  )  [virtual]
 

Reimplemented from GLUI_Control.

void GLUI_Panel::set_type int  new_type  ) 
 

void GLUI_Panel::update_size void   )  [virtual]
 

Reimplemented from GLUI_Control.

Reimplemented in GLUI_Rollout, and GLUI_Tree.


The documentation for this class was generated from the following files:
Generated on Fri Sep 15 17:51:57 2006 for GLUI by doxygen 1.3.6