summaryrefslogtreecommitdiff
path: root/dev/macos/Sources
diff options
context:
space:
mode:
Diffstat (limited to 'dev/macos/Sources')
-rw-r--r--dev/macos/Sources/AppDelegate.swift4
-rw-r--r--dev/macos/Sources/PardesView.swift8
2 files changed, 6 insertions, 6 deletions
diff --git a/dev/macos/Sources/AppDelegate.swift b/dev/macos/Sources/AppDelegate.swift
index dbc0fbc9..767d3766 100644
--- a/dev/macos/Sources/AppDelegate.swift
+++ b/dev/macos/Sources/AppDelegate.swift
@@ -423,7 +423,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, PardesViewDelegate {
}
// Look's operand is the whole tail of the line (executeBuiltinLine in
- // src/pardes.zig splits on the first space and trims the rest), so a path
+ // core/root.zig splits on the first space and trims the rest), so a path
// with spaces in it needs no quoting and must not get any — quotes would
// become part of the filename.
private func look(_ path: String) { run("Look \(path)") }
@@ -558,7 +558,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, PardesViewDelegate {
// Exec did something, so it gets .generic, the definite tap of a
// committed action; Look went somewhere, so it gets .alignment, the
// lighter detent AppKit uses when a dragged guide snaps into place.
- // Same distinction the core draws in Haptic (src/pardes.zig).
+ // Same distinction the core draws in Haptic (core/root.zig).
//
// No capability check on purpose. perform() is a silent no-op on a Mac
// with no Force Touch trackpad and when the user has turned feedback
diff --git a/dev/macos/Sources/PardesView.swift b/dev/macos/Sources/PardesView.swift
index 23cd0f78..11818e10 100644
--- a/dev/macos/Sources/PardesView.swift
+++ b/dev/macos/Sources/PardesView.swift
@@ -2,7 +2,7 @@
// CoreGraphics pass per frame back.
//
// This file keeps no model of the screen. The core owns the grid and hands it
-// over whole through src/macos/pardes.h, so everything here is translation, and
+// over whole through abi/pardes.h, so everything here is translation, and
// the only state worth holding is the font metrics — expensive to measure and
// replaced only by Font/TaglineSize/zoom — plus the gesture state remembered
// between events: which button a click started with, and how hard it is being
@@ -79,7 +79,7 @@ enum Trackpad {
static let forceClickButton: pardes_mouse_button_e = PARDES_MOUSE_RIGHT
}
-// Matches bg_default/fg_default in src/gui/gui.zig. Two shells render the
+// Matches bg_default/fg_default in dev/gui/gui.zig. Two shells render the
// same core; if these drift, comparing
// a screenshot across backends stops meaning anything.
let pardesDefaultFG: UInt32 = 0xCC_CC_CC
@@ -162,7 +162,7 @@ private func resolve(
var bg = decodeColor(cell.bg, ground)
// The block cursor is a second reverse, so a cell that is already reversed
// cancels back to normal underneath it. Same rule as emitInstance in
- // src/gui/gui.zig; the two must not drift.
+ // dev/gui/gui.zig; the two must not drift.
var reverse = block
if cell.attrs & UInt16(PARDES_ATTR_REVERSE) != 0 { reverse = !reverse }
if reverse { swap(&fg, &bg) }
@@ -2537,7 +2537,7 @@ final class PardesView: NSView {
}
/// What the trackpad actually delivered, under PARDES_LOG — the same
- /// variable the Zig side gates its logger on (src/macos.zig).
+ /// variable the Zig side gates its logger on (runtime/macos.zig).
///
/// This is not scaffolding left behind. Which events a trackpad produces is
/// decided by the hardware and by four different System Settings switches