mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
13 lines
321 B
Zig
13 lines
321 B
Zig
const foundation = @import("../foundation.zig");
|
|
const c = @import("c.zig");
|
|
|
|
pub const StringAttribute = enum {
|
|
font,
|
|
|
|
pub fn key(self: StringAttribute) *foundation.String {
|
|
return @intToPtr(*foundation.String, @ptrToInt(switch (self) {
|
|
.font => c.kCTFontAttributeName,
|
|
}));
|
|
}
|
|
};
|