#include <glui.h>
Inherits GLUI_Control.
Inherited by GLUI_FileBrowser, GLUI_Rollout, GLUI_Tree, and GLUI_TreePanel.
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) |
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.
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] |
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] |
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] |