|
FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <ui.h>
Public Member Functions | |
| UI_WINDOW () | |
| ~UI_WINDOW () | |
| void | set_mask_bmap (char *fname) |
| void | set_mask_bmap (int bmap, char *name) |
| void | set_foreground_bmap (char *fname) |
| void | create (int _x, int _y, int _w, int _h, int _flags, int _f_id=-1) |
| int | process (int key_in=-1, int process_mouse=1) |
| void | draw () |
| void | draw_tooltip () |
| void | draw_XSTR_forced (UI_GADGET *owner, int frame) |
| int | get_current_hotspot () |
| void | destroy () |
| ubyte * | get_mask_data (int *w_md, int *h_md) |
| void | render_tooltip (char *str) |
| void | set_ignore_gadgets (int state) |
| void | add_XSTR (char *string, int _xstr_id, int _x, int _y, UI_GADGET *_assoc, int _color_type, int _font_id=-1) |
| void | add_XSTR (UI_XSTR *xstr) |
Public Attributes | |
| const char *(* | tooltip_handler )(const char *text) |
| int | last_keypress |
| int | ttx |
| int | tty |
| int | use_hack_to_get_around_stupid_problem_flag |
Protected Member Functions | |
| void | capture_mouse (UI_GADGET *gadget=NULL) |
| void | release_bitmaps () |
| void | check_focus_switch_keys () |
| void | do_dump_check () |
| void | draw_xstrs () |
| void | draw_one_xstr (UI_XSTR *xstr, int frame) |
Protected Attributes | |
| int | flags |
| int | x |
| int | y |
| int | w |
| int | h |
| int | f_id |
| int | last_tooltip_hotspot |
| uint | last_tooltip_time |
| int | tt_group |
| int | ignore_gadgets |
| UI_GADGET * | first_gadget |
| UI_GADGET * | selected_gadget |
| UI_GADGET * | mouse_captured_gadget |
| int | mask_bmap_id |
| int | foreground_bmap_id |
| bitmap * | mask_bmap_ptr |
| ubyte * | mask_data |
| int | mask_w |
| int | mask_h |
| UI_XSTR * | xstrs [MAX_UI_XSTRS] |
| int | keypress |
Friends | |
| class | UI_GADGET |
| class | UI_BUTTON |
| class | UI_KEYTRAP |
| class | UI_CHECKBOX |
| class | UI_RADIO |
| class | UI_SCROLLBAR |
| class | UI_LISTBOX |
| class | UI_INPUTBOX |
| class | UI_SLIDER2 |
| class | UI_DOT_SLIDER |
| class | UI_DOT_SLIDER_NEW |
| class | UI_ICON |
| UI_WINDOW::UI_WINDOW | ( | ) |
Definition at line 43 of file window.cpp.
| UI_WINDOW::~UI_WINDOW | ( | ) |
Definition at line 65 of file window.cpp.
| void UI_WINDOW::add_XSTR | ( | char * | string, |
| int | _xstr_id, | ||
| int | _x, | ||
| int | _y, | ||
| UI_GADGET * | _assoc, | ||
| int | _color_type, | ||
| int | _font_id = -1 |
||
| ) |
Definition at line 476 of file window.cpp.
Definition at line 522 of file window.cpp.
Definition at line 466 of file window.cpp.
|
protected |
Definition at line 461 of file window.cpp.
Definition at line 140 of file window.cpp.
| void UI_WINDOW::destroy | ( | ) |
Definition at line 189 of file window.cpp.
|
protected |
Definition at line 668 of file window.cpp.
| void UI_WINDOW::draw | ( | ) |
Definition at line 220 of file window.cpp.
Definition at line 568 of file window.cpp.
| void UI_WINDOW::draw_tooltip | ( | ) |
Definition at line 304 of file window.cpp.
Definition at line 278 of file window.cpp.
|
protected |
Definition at line 653 of file window.cpp.
| int UI_WINDOW::get_current_hotspot | ( | ) |
Definition at line 290 of file window.cpp.
Definition at line 401 of file window.cpp.
|
protected |
Definition at line 167 of file window.cpp.
| void UI_WINDOW::render_tooltip | ( | char * | str | ) |
Definition at line 374 of file window.cpp.
| void UI_WINDOW::set_foreground_bmap | ( | char * | fname | ) |
Definition at line 127 of file window.cpp.
Definition at line 471 of file window.cpp.
| void UI_WINDOW::set_mask_bmap | ( | char * | fname | ) |
Definition at line 75 of file window.cpp.
Definition at line 89 of file window.cpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |