2023-09-06 04:23:06 +02:00
|
|
|
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
|
2023-09-06 02:25:25 +02:00
|
|
|
//
|
|
|
|
// 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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2000-06-05 02:00:00 +02:00
|
|
|
#endif
|