mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
e4bd6dc649
commit
40d873b2c5
8 changed files with 43 additions and 62 deletions
|
|
@ -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&)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue