HLFX.Ru Forum
Показать все 3 сообщений этой темы на одной странице

HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- Resize VGUI Image (https://hlfx.ru/forum/showthread.php?threadid=3604)


Отправлено MisterDeath 30-08-2012 в 23:10:

Half-Life Resize VGUI Image

How to resize image in a VGUI ???

Depending of the resolution...

C++ Source Code:
pImg = new CImageLabel( "timer", MOTD_WINDOW_X, MOTD_WINDOW_Y ); pImg->setVisible(true); pImg->setParent(this); pImg->getSize(x, y); pImg->setSize(XRES(32), YRES(32));

__________________
hl 4 ever


Отправлено KiQ 31-08-2012 в 05:52:

http://hlfx.ru/forum/showthread.php?s=&threadid=3545

__________________
-Brain is dead-


Отправлено HAWK0044 31-08-2012 в 05:58:

Just draw it from openGL or TriAPI,from old vgui u can't draw resized image ( may be, i don't fully sure)


Временная зона GMT. Текущее время 05:11.
Показать все 3 сообщений этой темы на одной странице

На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024