#include <glui.h>


Public Member Functions | |
| GLUI_FileBrowser (GLUI_Node *parent, const char *name, int frame_type=GLUI_PANEL_EMBOSSED, int user_id=-1, GLUI_CB callback=GLUI_CB()) | |
| void | fbreaddir (const char *) |
| void | set_w (int w) |
| void | set_h (int h) |
| const char * | get_file () |
| void | set_allow_change_dir (int c) |
Static Public Member Functions | |
| static void | dir_list_callback (GLUI_Control *) |
Public Attributes | |
| GLUI_List * | list |
| GLUI_String | current_dir |
Protected Member Functions | |
| void | common_init () |
Definition at line 1139 of file glui.h.
| GLUI_FileBrowser::GLUI_FileBrowser | ( | GLUI_Node * | parent, | |
| const char * | name, | |||
| int | frame_type = GLUI_PANEL_EMBOSSED, |
|||
| int | user_id = -1, |
|||
| GLUI_CB | callback = GLUI_CB() | |||
| ) |
Create a new list of files the user can select from.
| parent | The panel our object is inside; or the main GLUI object. | |
| name | Prompt to give to the user at the top of the file browser. | |
| frame_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. | |
| obj_id | Optional ID number, to pass to the optional callback function. | |
| callback | Optional callback function, taking either the int ID or control. |
| void GLUI_FileBrowser::fbreaddir | ( | const char * | ) |
| static void GLUI_FileBrowser::dir_list_callback | ( | GLUI_Control * | ) | [static] |
| void GLUI_FileBrowser::set_w | ( | int | w | ) |
Reimplemented from GLUI_Control.
| void GLUI_FileBrowser::set_h | ( | int | h | ) |
Reimplemented from GLUI_Control.
| void GLUI_FileBrowser::set_allow_change_dir | ( | int | c | ) | [inline] |
| void GLUI_FileBrowser::common_init | ( | void | ) | [inline, protected] |
1.5.3