mirror of
https://github.com/ENSL/NS.git
synced 2024-11-13 00:24:38 +00:00
b5590dd5d9
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@144 67975925-1194-0748-b3d5-c16f83f1a3a1
28 lines
No EOL
357 B
C++
28 lines
No EOL
357 B
C++
|
|
#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 |