Skip to content

Commit b03a07c

Browse files
author
Stephen Gutekanst
committed
./update.sh
Signed-off-by: Stephen Gutekanst <[email protected]>
1 parent 860cfb5 commit b03a07c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/app_kit.zig

+7-7
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ pub const Appearance = opaque {
323323
pub const alloc = InternalInfo.alloc;
324324
pub const allocInit = InternalInfo.allocInit;
325325

326-
pub fn appearanceNamed(name_: *String) ?*Appearance {
326+
pub fn appearanceNamed(name_: AppearanceName) ?*Appearance {
327327
return objc.msgSend(@This().InternalInfo.class(), "appearanceNamed:", ?*Appearance, .{name_});
328328
}
329329
};
@@ -371,9 +371,9 @@ pub const Event = opaque {
371371
pub fn phase(self_: *@This()) EventPhase {
372372
return objc.msgSend(self_, "phase", EventPhase, .{});
373373
}
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+
}
377377
pub fn pressedMouseButtons() UInteger {
378378
return objc.msgSend(@This().InternalInfo.class(), "pressedMouseButtons", UInteger, .{});
379379
}
@@ -437,9 +437,9 @@ pub const Cursor = opaque {
437437
pub fn push(self_: *@This()) void {
438438
return objc.msgSend(self_, "push", void, .{});
439439
}
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+
}
443443
pub fn arrowCursor() *Cursor {
444444
return objc.msgSend(@This().InternalInfo.class(), "arrowCursor", *Cursor, .{});
445445
}

0 commit comments

Comments
 (0)