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

GLUI_Rollout Class Reference

#include <glui.h>

Inheritance diagram for GLUI_Rollout:

GLUI_Panel GLUI_Control GLUI_Node List of all members.

Detailed Description

A rollout contains a set of controls, like a panel, but can be collapsed to just the name.


Public Member Functions

 GLUI_Rollout (GLUI_Node *parent, const char *name, int open=true, int type=GLUI_PANEL_EMBOSSED)
 GLUI_Rollout (void)
void draw (int x, int y)
void draw_pressed (void)
int mouse_down_handler (int local_x, int local_y)
int mouse_up_handler (int local_x, int local_y, bool inside)
int mouse_held_down_handler (int local_x, int local_y, bool inside)
void open (void)
void close (void)
void update_size (void)

Public Attributes

bool currently_inside
bool initially_inside
GLUI_Button button

Protected Member Functions

void common_init ()


Constructor & Destructor Documentation

GLUI_Rollout::GLUI_Rollout GLUI_Node parent,
const char *  name,
int  open = true,
int  type = GLUI_PANEL_EMBOSSED
 

Create a new rollout. A rollout contains a set of controls, like a panel, but can be collapsed to just the name.

Parameters:
parent The panel our object is inside; or the main GLUI object.
name String to show at the top of the rollout.
open Optional boolean. If true (the default), the rollout's controls are displayed. If false, the rollout is closed to display only the name.
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_Rollout::GLUI_Rollout void   )  [inline]
 


Member Function Documentation

void GLUI_Rollout::close void   ) 
 

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

Reimplemented from GLUI_Panel.

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

Reimplemented from GLUI_Panel.

void GLUI_Rollout::draw_pressed void   ) 
 

int GLUI_Rollout::mouse_down_handler int  local_x,
int  local_y
[virtual]
 

Reimplemented from GLUI_Control.

int GLUI_Rollout::mouse_held_down_handler int  local_x,
int  local_y,
bool  inside
[virtual]
 

Reimplemented from GLUI_Control.

int GLUI_Rollout::mouse_up_handler int  local_x,
int  local_y,
bool  inside
[virtual]
 

Reimplemented from GLUI_Control.

void GLUI_Rollout::open void   ) 
 

void GLUI_Rollout::update_size void   )  [virtual]
 

Reimplemented from GLUI_Panel.


Member Data Documentation

GLUI_Button GLUI_Rollout::button
 

bool GLUI_Rollout::currently_inside
 

bool GLUI_Rollout::initially_inside
 


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