CtrlCore: Added keys constants for the rest of keyboard (thanks Koldo) #925

git-svn-id: svn://ultimatepp.org/upp/trunk@7905 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-11-17 16:07:51 +00:00
parent e4bd6dc649
commit 40d873b2c5
8 changed files with 43 additions and 62 deletions

View file

@ -28,25 +28,6 @@ bool Ctrl::GuiPlatformSetFullRefreshSpecial()
return false;
}
String GuiPlatformGetKeyDesc(dword key)
{
static Tuple2<dword, const char *> nkey[] = {
{ K_DELTA|GDKEY(grave), "[`]" },
{ K_DELTA|GDKEY(minus), "[-]" },
{ K_DELTA|GDKEY(equal), "[=]" },
{ K_DELTA|GDKEY(backslash), "[\\]" },
{ K_DELTA|GDKEY(bracketleft), "[[]" },
{ K_DELTA|GDKEY(bracketright), "[]]" },
{ K_DELTA|GDKEY(semicolon), "[;]" },
{ K_DELTA|GDKEY(apostrophe), "[']" },
{ K_DELTA|GDKEY(comma), "[,]" },
{ K_DELTA|GDKEY(period), "[.]" },
{ K_DELTA|GDKEY(underscore), "[/]" },
};
const Tuple2<dword, const char *> *x = FindTuple(nkey, __countof(nkey), key);
return x ? String(x->b) : String();
}
void GuiPlatformAdjustDragImage(ImageBuffer&)
{
}