Skip to content

Phase 1: Add native rendering dependencies and foundation #24

@poodle64

Description

@poodle64

Overview

Add core dependencies for native window creation and software rendering.

Tasks

  • Add winit = "0.30" to Cargo.toml
  • Add raw-window-handle = "0.6" to Cargo.toml
  • Add tiny-skia = "0.11" to Cargo.toml
  • Create src-tauri/src/recording_indicator/native.rs module
  • Implement NativeIndicator struct with basic window management
  • Implement SoftwareRenderer using tiny-skia
  • Add basic pill rendering (static, no animation yet)
  • Verify builds on macOS, Windows, Linux

Acceptance Criteria

  • Code compiles on all platforms
  • Basic pill shape renders correctly
  • Window can be shown/hidden
  • Window positioning works (top-centre of screen)

Dependencies

None - this is foundational work

Estimated Effort

Medium (4-6 hours)

Milestone

Native Rendering for Recording Indicator

References

  • Architecture doc: docs/architecture/native-indicator-renderer.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions