@@ -323,7 +323,7 @@ pub const Appearance = opaque {
323
323
pub const alloc = InternalInfo .alloc ;
324
324
pub const allocInit = InternalInfo .allocInit ;
325
325
326
- pub fn appearanceNamed (name_ : * String ) ? * Appearance {
326
+ pub fn appearanceNamed (name_ : AppearanceName ) ? * Appearance {
327
327
return objc .msgSend (@This ().InternalInfo .class (), "appearanceNamed:" , ? * Appearance , .{name_ });
328
328
}
329
329
};
@@ -371,9 +371,9 @@ pub const Event = opaque {
371
371
pub fn phase (self_ : * @This ()) EventPhase {
372
372
return objc .msgSend (self_ , "phase" , EventPhase , .{});
373
373
}
374
- // pub fn modifierFlags() EventModifierFlags {
375
- // return objc.msgSend(@This().InternalInfo.class(), "modifierFlags", EventModifierFlags, .{});
376
- // }
374
+ pub fn modifierFlags () EventModifierFlags {
375
+ return objc .msgSend (@This ().InternalInfo .class (), "modifierFlags" , EventModifierFlags , .{});
376
+ }
377
377
pub fn pressedMouseButtons () UInteger {
378
378
return objc .msgSend (@This ().InternalInfo .class (), "pressedMouseButtons" , UInteger , .{});
379
379
}
@@ -437,9 +437,9 @@ pub const Cursor = opaque {
437
437
pub fn push (self_ : * @This ()) void {
438
438
return objc .msgSend (self_ , "push" , void , .{});
439
439
}
440
- // pub fn pop(self_: *@This()) void {
441
- // return objc.msgSend(self_, "pop", void, .{});
442
- // }
440
+ pub fn pop (self_ : * @This ()) void {
441
+ return objc .msgSend (self_ , "pop" , void , .{});
442
+ }
443
443
pub fn arrowCursor () * Cursor {
444
444
return objc .msgSend (@This ().InternalInfo .class (), "arrowCursor" , * Cursor , .{});
445
445
}
0 commit comments