|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#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.
Definition at line 187 of file inputbox.qc.
References bound(), draw_alpha, draw_ButtonPicture(), draw_ClearClip(), draw_Fill(), draw_Picture(), draw_SetClipRect(), draw_Text(), draw_TextWidth(), entity(), 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 entity(), strcat(), string_null, strlen, strstrofs, substring(), and u8_strsize().
Definition at line 133 of file inputbox.qc.
References chr(), entity(), 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(), entity(), over_ClearButton(), time, and vector.
Referenced by InputBox_mouseRelease(), and InputBox::mousePress().
Definition at line 40 of file inputbox.qc.
References entity(), over_ClearButton(), and vector.
Definition at line 89 of file inputbox.qc.
References entity(), InputBox_mouseDrag(), m_play_click_sound(), MENU_SOUND_CLEAR, over_ClearButton(), and vector.
| void InputBox_resizeNotify | ( | entity | me, |
| vector | relOrigin, | ||
| vector | relSize, | ||
| vector | absOrigin, | ||
| vector | absSize ) |
Definition at line 12 of file inputbox.qc.
Definition at line 353 of file inputbox.qc.
References entity().
Definition at line 29 of file inputbox.qc.
References entity(), and vector.
Referenced by InputBox_mouseDrag(), InputBox_mouseMove(), InputBox_mouseRelease(), and InputBox::mousePress().
| float cb_offset |
Definition at line 3 of file inputbox.qc.
| string cb_src |
Definition at line 4 of file inputbox.qc.