Commit Graph
10 Commits
Author SHA1 Message Date
marcoandClaude Opus 4.6 d50a1d550a Add documentation tab to About window
Two-tab layout: Info (version, creator) and Dokumentation (capture
modes, editor tools, URL schema reference, Logitech Options+ setup
guide, permission hints).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 18:52:47 +02:00
marcoandClaude Opus 4.6 e2c3ef7f37 Add snippingtool://editlast URL to edit last capture
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 18:48:16 +02:00
marcoandClaude Opus 4.6 7a78176183 Fix flipped image in editor canvas
Use respectFlipped: true when drawing NSImage so it renders correctly
in the flipped NSView coordinate system.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 18:42:12 +02:00
marcoandClaude Opus 4.6 8c73c5fbc5 Fix editor integration and add snippingtool://edit URL
- Fix menu button by deferring NSOpenPanel to next run loop
- Add snippingtool://edit URL to open file editor directly
- Add app activation before showing open panel (LSUIElement fix)
- Remove debug logging

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 18:25:07 +02:00
marcoandClaude Opus 4.6 78d6809445 Bump version to 1.0.1 (build 2)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 17:53:17 +02:00
marcoandClaude Opus 4.6 59b3f8d2a1 Add edit parameter to URL scheme for capture-then-edit workflow
snippingtool://region?edit=true now captures a region screenshot and
immediately opens the editor. Works with all modes: fullscreen, window,
region. Without ?edit=true, behavior is unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 17:51:44 +02:00
marcoandClaude Opus 4.6 f6e90047a8 Add About window with creator and version info
Shows app icon, version, "Freeware" badge, creator (Marco Wende —
Wende.IT), and link to wende.it. Accessible via "Über Snipping Tool…"
in the menu bar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 17:47:27 +02:00
marcoandClaude Opus 4.6 062285abbf Add image editor with annotation tools
Integrates an editor accessible via "Letzte Aufnahme bearbeiten…" or
"Bild bearbeiten…" in the menu bar. Supports arrow, rectangle, ellipse,
and text annotations with color picker, line width, undo/redo, and
export to file or clipboard.

New files in Sources/Editor/:
- AnnotationItem/Document: data model and state management
- AnnotationCanvasView: NSView with CG rendering and mouse interaction
- AnnotationRenderer: shared rendering for canvas and image export
- EditorToolbarView: SwiftUI toolbar with tool selection and actions
- EditorWindowController: window lifecycle following SettingsWindowController pattern

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 17:44:20 +02:00
marcoandClaude ecbae7cd21 Add URL scheme support for external trigger integration
Register snippingtool:// URL scheme so external tools (Logitech Options,
Shortcuts, Stream Deck) can trigger specific capture modes directly.
Adds AppDelegate for reliable URL handling in MenuBarExtra-only apps.

Supported URLs:
  snippingtool://fullscreen
  snippingtool://window
  snippingtool://region

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-01 16:03:25 +02:00
marco 1c2b52fa30 Initial commit: Snipping Tool menu bar screenshot app 2026-07-01 15:27:57 +02:00