You could use an array of buttons on a panel, you could possibly use one
of those cool handy vector collection type thingies for the array so you
can easily add new tabs to the strip, all you would need to do is handle
a click event to change the background of a button (to make it look
selected)
Look at PropertySheet and PropertyPage, they are provide a tabbed
interface.
- Alfred
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Warwick
Sent: Thursday, April 28, 2005 11:58 PM
To: hlcoders@list.valvesoftware.com
Subject: RE: [hlcoders] I need
thx guys, that was quick
On 4/29/05, Alfred Reynolds [EMAIL PROTECTED] wrote:
Look at PropertySheet and PropertyPage, they are provide a tabbed
interface.
- Alfred
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Warwick
Sent: Thursday, April
PropertySheet
Doest seem to like it, I have tried a bunch of different header files
#include prsht.h
#include vgui_controls/PropertySheet.h
doest seem to work
which headers does this control require?
On 4/29/05, Heritage [EMAIL PROTECTED] wrote:
thx guys, that was quick
On 4/29/05, Alfred
oh nm, i got it, i guess i needed the cpp file too
#include D:\\src\\vgui2\\controls\\PropertySheet.cpp
you need to define everyhting in the headers plz! or maybe im an
idiot, either way!
g...
On 4/29/05, Heritage [EMAIL PROTECTED] wrote:
PropertySheet
Doest seem to like it, I have
Ok, got everything working! This is a lot eaiser than hl1! One more
quick question as i am now beginning my vgui development. the keyword
new is overloaded correct? In other words, I dont need to call
delete for vgui controls like frames panels and whatever?
On 4/29/05, Heritage [EMAIL
--
[ Picked text/plain from multipart/alternative ]
You don't need to include all the controls seperately just ensure
vgui_controls.lib is in your project (found in lib/public).
On 4/29/05, Heritage [EMAIL PROTECTED] wrote:
Ok, got everything working! This is a lot eaiser than hl1! One more
new is a compiler command. I'm pretty sure that you have to call
delete for everything that you create with new. Someone please
correct me if I'm wrong about the SDK.
On 4/29/05, Heritage [EMAIL PROTECTED] wrote:
Ok, got everything working! This is a lot eaiser than hl1! One more
quick
On 4/29/05, SB Childe Roland [EMAIL PROTECTED] wrote:
new is a compiler command. I'm pretty sure that you have to call
delete for everything that you create with new. Someone please
correct me if I'm wrong about the SDK.
Not exactly... new is actually an operator, which can be overloaded
Do NOT call delete directly on VGUI2 panels, use the MarkForDeletion()
member function instead to free panels. You should use new to create
panels. You also do not have to explicitly delete panels on exit, when
VGUI2 shuts down it will delete any allocated panels.
- Alfred
-Original
Have a look at memoverride.cpp, we use that file along with code in
tier0.dll to manage (and track) our own heap allocations (and to have a
single heap for the entire process, rather than one per dll).
- Alfred
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Thanks Alfred, I figured it was like that but thought I should ask
before I call new 1000 times a in row, lol.
On 4/29/05, Alfred Reynolds [EMAIL PROTECTED] wrote:
Have a look at memoverride.cpp, we use that file along with code in
tier0.dll to manage (and track) our own heap allocations (and
12 matches
Mail list logo