mirror of
https://github.com/ENSL/NS.git
synced 2024-12-18 16:51:34 +00:00
34 lines
560 B
C
34 lines
560 B
C
|
//========= Copyright <20> 1996-2002, Valve LLC, All rights reserved. ============
|
|||
|
//
|
|||
|
// Purpose:
|
|||
|
//
|
|||
|
// $NoKeywords: $
|
|||
|
//=============================================================================
|
|||
|
|
|||
|
#ifndef VGUI_COMBOKEY_H
|
|||
|
#define VGUI_COMBOKEY_H
|
|||
|
|
|||
|
#include<VGUI.h>
|
|||
|
|
|||
|
namespace vgui
|
|||
|
{
|
|||
|
|
|||
|
enum KeyCode;
|
|||
|
|
|||
|
class ComboKey
|
|||
|
{
|
|||
|
public:
|
|||
|
ComboKey(KeyCode code,KeyCode modifier);
|
|||
|
public:
|
|||
|
bool isTwoCombo(KeyCode code,KeyCode modifier);
|
|||
|
protected:
|
|||
|
bool check(KeyCode code);
|
|||
|
protected:
|
|||
|
KeyCode _keyCode[2];
|
|||
|
friend class Panel;
|
|||
|
};
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
#endif
|