mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
48 lines
807 B
C
48 lines
807 B
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose: Holds the enumerated list of default cursors
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef CURSOR_H
|
||
|
#define CURSOR_H
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include <vgui/VGUI.h>
|
||
|
|
||
|
namespace vgui
|
||
|
{
|
||
|
|
||
|
enum CursorCode
|
||
|
{
|
||
|
dc_user,
|
||
|
dc_none,
|
||
|
dc_arrow,
|
||
|
dc_ibeam,
|
||
|
dc_hourglass,
|
||
|
dc_waitarrow,
|
||
|
dc_crosshair,
|
||
|
dc_up,
|
||
|
dc_sizenwse,
|
||
|
dc_sizenesw,
|
||
|
dc_sizewe,
|
||
|
dc_sizens,
|
||
|
dc_sizeall,
|
||
|
dc_no,
|
||
|
dc_hand,
|
||
|
dc_blank, // don't show any custom vgui cursor, just let windows do it stuff (for HTML widget)
|
||
|
dc_last,
|
||
|
dc_alwaysvisible_push,
|
||
|
dc_alwaysvisible_pop,
|
||
|
};
|
||
|
|
||
|
typedef unsigned long HCursor;
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif // CURSOR_H
|