Xonotic
|
#include "inputbox.qh"
Go to the source code of this file.
Functions | |
void | InputBox_configureInputBox (entity me, string theText, float theCursorPos, float theFontSize, string gfx) |
void | InputBox_draw (entity me) |
void | InputBox_enterText (entity me, string ch) |
float | InputBox_keyDown (entity me, float key, float ascii, float shift) |
float | InputBox_mouseDrag (entity me, vector pos) |
float | InputBox_mouseMove (entity me, vector pos) |
float | InputBox_mouseRelease (entity me, vector pos) |
void | InputBox_resizeNotify (entity me, vector relOrigin, vector relSize, vector absOrigin, vector absSize) |
void | InputBox_setText (entity me, string txt) |
void | InputBox_showNotify (entity me) |
float | over_ClearButton (entity me, vector pos) |
Variables | |
float | cb_offset |
string | cb_src |
void InputBox_configureInputBox | ( | entity | me, |
string | theText, | ||
float | theCursorPos, | ||
float | theFontSize, | ||
string | gfx | ||
) |
Definition at line 6 of file inputbox.qc.
References SUPER.
Definition at line 180 of file inputbox.qc.
References bound(), draw_alpha, draw_ButtonPicture(), draw_ClearClip(), draw_Fill(), draw_Picture(), draw_SetClipRect(), draw_Text(), draw_TextWidth(), eX, eY, eZ, floor(), HEXDIGIT_TO_DEC, IS_DIGIT, max(), min(), stof(), strcat(), strlen(), substring(), time, and vector().
Definition at line 109 of file inputbox.qc.
References strcat(), strlen(), strstrofs, substring(), and u8_strsize().
Definition at line 126 of file inputbox.qc.
References chr(), K_BACKSPACE, K_DEL, K_END, K_HOME, K_KP_DEL, K_KP_END, K_KP_HOME, K_KP_LEFTARROW, K_KP_RIGHTARROW, K_LEFTARROW, K_RIGHTARROW, m_play_click_sound(), MENU_SOUND_CLEAR, S_CTRL, strcat(), strlen(), substring(), and time.
Definition at line 54 of file inputbox.qc.
References draw_TextLengthUpToWidth(), METHOD, over_ClearButton(), pressed, time, and vector().
Referenced by InputBox_mouseRelease().
Definition at line 40 of file inputbox.qc.
References over_ClearButton().
Definition at line 89 of file inputbox.qc.
References InputBox_mouseDrag(), m_play_click_sound(), MENU_SOUND_CLEAR, and over_ClearButton().
void InputBox_resizeNotify | ( | entity | me, |
vector | relOrigin, | ||
vector | relSize, | ||
vector | absOrigin, | ||
vector | absSize | ||
) |
Definition at line 12 of file inputbox.qc.
References bound(), and SUPER.
Definition at line 23 of file inputbox.qc.
References strfree, strzone(), and SUPER.
Definition at line 346 of file inputbox.qc.
Definition at line 29 of file inputbox.qc.
Referenced by InputBox_mouseDrag(), InputBox_mouseMove(), and InputBox_mouseRelease().
float cb_offset |
Definition at line 3 of file inputbox.qc.
string cb_src |
Definition at line 4 of file inputbox.qc.