mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
ExtractAccessKey now stores position
git-svn-id: svn://ultimatepp.org/upp/trunk@997 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b37f7f1463
commit
8654a78f34
12 changed files with 219 additions and 208 deletions
|
|
@ -124,8 +124,9 @@ bool Ctrl::Key(dword key, int count)
|
|||
void Ctrl::GotFocus() {}
|
||||
void Ctrl::LostFocus() {}
|
||||
|
||||
dword Ctrl::AccessKeyBit(byte accesskey)
|
||||
dword Ctrl::AccessKeyBit(int accesskey)
|
||||
{
|
||||
accesskey &= 255;
|
||||
if(accesskey >= 'A' && accesskey <= 'Z')
|
||||
return (uint64)2 << (accesskey - 'A');
|
||||
return !!accesskey;
|
||||
|
|
|
|||
Loading…
Reference in a new issue