Commit graph

92 commits

Author SHA1 Message Date
smallmodel
04f61a1af7
Added UI_PrintConsole() and UI_PrintDeveloperConsole() declarations 2023-09-17 19:29:59 +02:00
smallmodel
bed2f15a72
Initialize more members for UIWidget
m_scaleCvar was not initialized to NULL, which could cause crashes
fadeSequence was not initialized
2023-09-07 19:32:35 +02:00
smallmodel
96d881a1f1
Made ui_public.h compilable to C code 2023-09-05 20:18:05 +02:00
smallmodel
cf2f0256a2
Moved UI_SetupFiles to ui_public.h 2023-09-05 20:00:54 +02:00
smallmodel
394abbdb6f
Fixed IPv6 not working with connect command 2023-08-30 19:36:17 +02:00
smallmodel
cf9af20fbd
Console history and wheel scroll
Implemented KeyEvent() for both UIConsole and UIDMConsole
Added a call to AddHistory() in UIConsole::KeyEnter()
2023-08-27 18:55:49 +02:00
smallmodel
3be2a3eb79
Made m_caret a size_t 2023-08-27 18:49:39 +02:00
smallmodel
7dfd18f4fb
setTopItem(): don't set value below 0 2023-08-27 18:40:58 +02:00
smallmodel
05fc960338
Implemented getCount(), getPosition() and setPosition()
Fixed IteratePrev() being wrong
2023-08-27 18:40:38 +02:00
smallmodel
25912079db
Return NULL for ulist::GetPosition 2023-08-19 03:00:07 +02:00
smallmodel
0fea47bb69
Added Draw_StretchPic2 2023-08-15 22:44:37 +02:00
smallmodel
8e05347ba0
Moved CL_FinishedIntro and SV_CheckSaveGame to qcommon.h 2023-08-14 01:27:13 +02:00
smallmodel
f3affb3d4c
Implemented DontLocalize and FadeSequence from mohaas 2023-07-30 00:56:54 +02:00
smallmodel
a86ed01ba3
Fixed shader tiling being bad with virtual scaling on mohaas/mohaab 2023-07-29 23:18:31 +02:00
smallmodel
d40755eb7c
Added MouseAwayCommand. (this fixes main menu with items staying hovered in mohaas/mohaab) 2023-07-29 23:18:22 +02:00
smallmodel
ce7599cb02
Set column padding 2023-07-29 22:31:16 +02:00
smallmodel
ea3c48af02
Fixed double-click not working 2023-07-29 19:41:29 +02:00
smallmodel
add59ad12a
Implemented UIListBase::TrySelectItem and UIListBase::KeyEvent 2023-07-29 19:30:22 +02:00
smallmodel
53eecb4d4c
Fixed compare function being wrong 2023-07-29 19:29:52 +02:00
smallmodel
c732ed66b2
Set default alpha to 1.0 2023-07-28 21:45:19 +02:00
smallmodel
50d62f1505
Exported EV_UIListBase_ItemDoubleClicked and EV_UIListBase_ItemSelected 2023-07-27 22:43:24 +02:00
smallmodel
1438c052b4
Rearranged include files 2023-07-18 00:08:30 +02:00
smallmodel
69c2ea4614
Using font system from SH/BT to support different code pages 2023-07-17 00:24:04 +02:00
smallmodel
d7700ea1c2
Call ReregisterMaterial instead of RefreshMaterial 2023-07-09 20:15:47 +02:00
OM
c287638f99 Reworked file inclusion (using relative path) 2023-06-17 01:24:20 +02:00
OM
6f1b23ddb8 Added **"scalecvar"** widget command (used by Spearhead and Breakthrough compass) 2023-05-29 20:32:22 +02:00
OM
3d223f5a5d Updates 2023-05-27 15:36:19 +02:00
OM
dc45c33c79 ioq3 updates 2023-05-26 20:53:00 +02:00
OM
238e94b4d5 Don't assert if *cls* is NULL 2023-05-21 19:59:12 +02:00
OM
0c18e0e26c Exports *UI_UpdateCenterPrint* and *UI_UpdateLocationPrint* 2023-05-21 19:58:59 +02:00
OM
76178064a0 Drastically reduced compiler warnings on clang 2023-05-21 00:29:26 +02:00
OM
545dc19811 Set console font to verdana-12 2023-05-21 00:01:04 +02:00
OM
5f598cf1f9 Fixed the buttons not drawing as intended 2023-05-21 00:00:46 +02:00
OM
4e66f2482f Fixed minimize / maximize buttons not working/showing as intended 2023-05-21 00:00:27 +02:00
OM
f873fd447f Fixed vertical scrolling color 2023-05-20 23:59:54 +02:00
OM
a4123f65b3 Implemented UIStatus 2023-05-20 23:59:44 +02:00
OM
95230a8d0a Added list destructor 2023-05-20 14:57:06 +02:00
OM
c4502469f4 Partially implemented UIListBox and UIList 2023-05-20 02:15:52 +02:00
OM
c2cb15a1d1 Implemented UIListCtrl 2023-05-20 01:52:31 +02:00
OM
f523c32044 Partial implementation of UIList 2023-05-20 01:19:17 +02:00
OM
5ac5632e59 Export *CL_FinishedIntro* and *UI_StartStageKeyEvent* 2023-05-20 01:02:14 +02:00
OM
356e7c51fc Fixed widget alignment problem 2023-05-19 15:44:31 +02:00
OM
1f484e3e15 Implemented *UIDMConsole::KeyEnter* 2023-05-18 00:54:56 +02:00
OM
8beec0a84d Using size_t for UIFont::Print 2023-05-18 00:54:37 +02:00
OM
f66475d957 Moved item_t structure to each UI*Box 2023-05-18 00:54:25 +02:00
OM
78f810e943 Delete font when destroying *UIWidget*
Calling *IsDead()* instead of *BindActive* in *UIWidget::SendSignal*
2023-05-17 21:50:50 +02:00
OM
8e14620067 Fixed *UIWindowManager::getResponder* returning immediately 2023-05-17 21:49:59 +02:00
OM
e3b5279f2e Added UIFloatingWindow destructor 2023-05-17 21:49:37 +02:00
OM
c7bc06746c Added floatingconsole destructors
UIFloatingDMConsole is now partially implemented
2023-05-17 21:49:20 +02:00
OM
cb0aab4aa2 Initialize m_clicktime to -20000 2023-05-17 19:09:49 +02:00