* 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.
This commit is contained in:
jean.chalard
2010-02-15 17:34:30 +00:00
parent 16ca1a929f
commit e7d72b7722
8 changed files with 118 additions and 20 deletions

View File

@@ -0,0 +1,18 @@
#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