smallmodel
96ca9c20e4
Rework fade sequence and make it work
2024-11-13 19:40:31 +01:00
smallmodel
016e062fef
Fix UIReggedMaterial::ReregisterMaterial and UIReggedMaterial::GetMaterial
...
ReregisterMaterial() must register the material if it was registered before, and GetMaterial() must register the material if it hasn't been registered and return it
2024-07-24 21:10:46 +02:00
smallmodel
e5fb85ad08
Fix material not refreshing when it already has a shader.
...
This fixes #329 where the material (matching quick.tga) would be loaded only once without being able to change
2024-07-23 19:06:48 +02:00
smallmodel
eee0eaac4a
Process the "!" (not) syntax for enabledcvar
...
This fixes #265 where the mine detector icon wouldn't appear because it wants SP mode
2024-07-17 23:55:11 +02:00
smallmodel
a5535fa789
Make sure to initialize the widget's command handler to NULL.
...
This should fix #305
2024-06-08 01:40:36 +02:00
smallmodel
078aa01895
Reimplemented RefreshMaterial()
2024-02-07 23:33:02 +01:00
smallmodel
ceea855c6f
Also play Widget motion if there is a fade sequence
2024-01-27 21:26:11 +01:00
smallmodel
63ef75222e
Added isVirtual and getVirtualScale
2023-12-31 23:12:40 +01:00
smallmodel
6c520babf0
Make sure to register the material for each GetMaterial() call
2023-12-30 21:09:23 +01:00
smallmodel
6bdcfc2b6f
Fixed PassEventToWidget improperly passing events to widgets not matching the name
2023-12-30 17:11:12 +01:00
smallmodel
979af2925d
Fixed hide commands and show commands not executing properly
2023-12-30 01:09:11 +01:00
smallmodel
7eedc5fef8
Fixed Rend_SetColor() with m_local_alpha
2023-10-03 01:51:31 +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
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
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
76178064a0
Drastically reduced compiler warnings on clang
2023-05-21 00:29:26 +02:00
OM
356e7c51fc
Fixed widget alignment problem
2023-05-19 15:44:31 +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
4a2278ffc7
Small m_background_color tweak by default
2023-05-17 19:08:48 +02:00
OM
8ff70d1ceb
Fixed border colors
2023-05-16 22:02:45 +02:00
OM
08dfaa8e1e
Motion fixes
2023-05-16 20:19:13 +02:00
OM
4b449772b3
LayoutAlign fix
...
Return last responder in *UIWidget::FindResponder* instead
2023-05-16 19:02:46 +02:00
OM
d1d87edaa1
Fixed widget position
2023-05-16 16:23:13 +02:00
OM
27ce5af057
*RefreshMaterial*: call Rend_RefreshMaterial instead
2023-05-16 14:11:09 +02:00
OM
f47474bd27
*UIWidget::set2D*: Fixed Y position
2023-05-16 00:07:36 +02:00
OM
38e46221bd
it seems that *UIWidget::getClientFrame* should return a 0 position
2023-05-15 21:25:27 +02:00
OM
52cb234142
Made SetColor work properly
...
Initialize m_bgfill in *UIWidgetContainer*'s constructor
2023-05-15 20:13:04 +02:00
Ley0k
09bed43f97
Hard reset
2016-03-27 11:49:47 +02:00