mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
uiold fixes
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
module ui
|
||||
module uiold
|
||||
|
||||
#flag -framework Carbon
|
||||
#flag -framework Cocoa
|
||||
@ -24,7 +24,7 @@ pub fn reg_key_vid() {
|
||||
#EventTypeSpec eventType;
|
||||
#eventType.eventClass = kEventClassKeyboard;
|
||||
#eventType.eventKind = kEventHotKeyPressed;
|
||||
#InstallApplicationEventHandler(&ui__focus_app, 1, &eventType, NULL, NULL);
|
||||
#InstallApplicationEventHandler(&uiold__focus_app, 1, &eventType, NULL, NULL);
|
||||
#gMyHotKeyID.signature = 'rml1';
|
||||
#gMyHotKeyID.id = 1;
|
||||
#RegisterEventHotKey(kVK_ANSI_1, cmdKey, gMyHotKeyID,
|
||||
|
Reference in New Issue
Block a user