2021-12-25 22:36:38 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace vgui
|
|
|
|
{
|
|
|
|
// handle to an internal vgui panel
|
|
|
|
// this is the only handle to a panel that is valid across dll boundaries
|
2023-01-17 00:53:19 +01:00
|
|
|
typedef void* VPANEL;
|
2021-12-25 22:36:38 +01:00
|
|
|
|
|
|
|
// handles to vgui objects
|
|
|
|
// NULL values signify an invalid value
|
|
|
|
typedef unsigned long HScheme;
|
|
|
|
// Both -1 and 0 are used for invalid textures. Be careful.
|
|
|
|
typedef unsigned long HTexture;
|
|
|
|
typedef unsigned long HCursor;
|
|
|
|
typedef unsigned long HPanel;
|
|
|
|
const HPanel INVALID_PANEL = 0xffffffff;
|
|
|
|
typedef unsigned long HFont;
|
|
|
|
const HFont INVALID_FONT = 0; // the value of an invalid font handle
|
|
|
|
}
|