Files
wagic/projects/mtg/include/TranslateKeys.h
jean.chalard e7d72b7722 J :
* The key bindings now display (semi-)correctly.
  - Here, "semi-" means the local keys display as a string under X and
    a number everywhere else. The number is all but helpful and will
    have to be replaced before it is usable, but at the moment, the
    code is stable afaik.
2010-02-15 17:34:30 +00:00

19 lines
262 B
C++

#ifndef _TRANSLATEKEYS_H_
#define _TRANSLATEKEYS_H_
#include <string>
#include "JGE.h"
struct KeyRep
{
KeyRep(JQuad*, std::string);
JQuad* icon;
std::string text;
};
const KeyRep& translateKey(LocalKeySym);
const KeyRep& translateKey(JButton);
#endif