FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <ui.h>
Public Member Functions | |
void | create (UI_WINDOW *wnd, int _x, int _y, int _w, int _h, int _numitem, char **_list, char *_check_list=NULL, int _max_items=-1) |
int | selected () |
int | current () |
int | toggled () |
void | set_current (int _index) |
void | set_first_item (int _index) |
char * | get_string (int _index) |
void | clear_all_items () |
int | add_string (char *str) |
int | sel_changed () |
void | set_new_list (int _numitems, char **_list) |
void | set_drawframe (int mode) |
int | CurSize () |
int | MaxSize () |
void | RemoveFirstItem () |
void | ScrollEnd () |
int | set_bmaps (char *lbox_fname, char *b_up_fname, char *b_down_fname, char *sb_fname) |
void | link_hotspot (int up_button_num, int down_button_num) |
![]() | |
UI_GADGET () | |
virtual | ~UI_GADGET () |
void | base_create (UI_WINDOW *wnd, int _kind, int _x, int _y, int _w, int _h) |
void | set_focus () |
void | clear_focus () |
int | has_focus () |
void | set_hotkey (int keycode) |
void | set_callback (void(*_user_function)(void)) |
void | disable () |
void | enable (int n=1) |
void | capture_mouse () |
int | mouse_captured (UI_GADGET *gadget=NULL) |
int | disabled () |
int | enabled () |
virtual void | hide (int n) |
virtual void | hide () |
virtual void | unhide () |
void | update_dimensions (int _x, int _y, int _w, int _h) |
void | get_dimensions (int *_x, int *_y, int *_w, int *_h) |
int | is_mouse_on () |
void | get_mouse_pos (int *xx, int *yy) |
void | link_hotspot (int num) |
int | get_hotspot () |
int | bmaps_used () |
int | set_bmaps (char *ani_filename, int nframes=3, int start_frame=1) |
void | reset () |
virtual int | is_hidden () |
Additional Inherited Members | |
![]() | |
int | bmap_ids [MAX_BMAPS_PER_GADGET] |
![]() | |
void | drag_with_children (int dx, int dy) |
void | start_drag_with_children () |
void | stop_drag_with_children () |
int | is_mouse_on_children () |
void | remove_from_family () |
void | set_parent (UI_GADGET *_parent) |
UI_GADGET * | get_next () |
UI_GADGET * | get_prev () |
virtual void | destroy () |
int | check_move () |
![]() | |
char * | bm_filename |
int | kind |
int | hotkey |
int | x |
int | y |
int | w |
int | h |
int | m_flags |
void(* | user_function )(void) |
int | disabled_flag |
int | base_dragging |
int | base_drag_x |
int | base_drag_y |
int | base_start_x |
int | base_start_y |
int | hidden |
int | linked_to_hotspot |
int | hotspot_num |
int | uses_bmaps |
int | m_num_frames |
UI_GADGET * | parent |
UI_GADGET * | children |
UI_GADGET * | prev |
UI_GADGET * | next |
UI_WINDOW * | my_wnd |
int UI_LISTBOX::add_string | ( | char * | str | ) |
Definition at line 537 of file listbox.cpp.
void UI_LISTBOX::clear_all_items | ( | ) |
Definition at line 496 of file listbox.cpp.
void UI_LISTBOX::create | ( | UI_WINDOW * | wnd, |
int | _x, | ||
int | _y, | ||
int | _w, | ||
int | _h, | ||
int | _numitem, | ||
char ** | _list, | ||
char * | _check_list = NULL , |
||
int | _max_items = -1 |
||
) |
Definition at line 51 of file listbox.cpp.
int UI_LISTBOX::current | ( | ) |
Definition at line 471 of file listbox.cpp.
int UI_LISTBOX::CurSize | ( | ) |
Definition at line 532 of file listbox.cpp.
char * UI_LISTBOX::get_string | ( | int | _index | ) |
Definition at line 491 of file listbox.cpp.
Definition at line 26 of file listbox.cpp.
int UI_LISTBOX::MaxSize | ( | ) |
Definition at line 527 of file listbox.cpp.
void UI_LISTBOX::RemoveFirstItem | ( | ) |
Definition at line 520 of file listbox.cpp.
void UI_LISTBOX::ScrollEnd | ( | ) |
Definition at line 514 of file listbox.cpp.
int UI_LISTBOX::sel_changed | ( | ) |
Definition at line 554 of file listbox.cpp.
int UI_LISTBOX::selected | ( | ) |
Definition at line 462 of file listbox.cpp.
int UI_LISTBOX::set_bmaps | ( | char * | lbox_fname, |
char * | b_up_fname, | ||
char * | b_down_fname, | ||
char * | sb_fname | ||
) |
Definition at line 39 of file listbox.cpp.
Definition at line 476 of file listbox.cpp.
Definition at line 95 of file listbox.cpp.
Definition at line 481 of file listbox.cpp.
Definition at line 507 of file listbox.cpp.
int UI_LISTBOX::toggled | ( | ) |
Definition at line 453 of file listbox.cpp.