OmaPhoto 1.0.0: the Linux port of Compositor
Release / deb (push) Canceled after 0s
Release / rpm (push) Canceled after 0s
Release / arch (push) Canceled after 0s
Release / publish (push) Canceled after 0s

A layered image editor for Linux and Omarchy, ported from Compositor
(github.com/robbietilton/Compositor), whose Swift source is its
specification. It reads and writes Compositor's .comp projects.

Packages for Ubuntu, Fedora and Arch come from the release workflow;
scripts/install/ holds one install script per distribution family,
and flake.nix serves NixOS.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
雷电芽衣andClaude committed 2026-09-26 00:44:52 -04:00
commit c864304695
564 files changed
+100804

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
// Swift's HueSaturation extension.
public:
bool canAdjustColors() const;
void beginHueSaturation();
// Previews coalesce: the newest waits for the running one.
void updateHueSaturation(const HueSaturationSettings &settings, bool preview);
// Off the UI thread; `done` follows the step or refusal.
void commitHueSaturation(std::function<void()> done = {});
// The hue under a document point; near-grays have none.
std::optional<double> sampledHue(QPointF point) const;
// The eyedroppers: re-centre, widen or narrow the band.
void sampleHueRange(QPointF point);
// Targeted adjustment: the range owning the sampled colour.
bool beginHueTargeting(QPointF point);
// A unit every two view points, from the drag's start.
void dragHueTargeting(double viewDelta, bool adjustsHue);
void endHueTargeting();
void cancelHueSaturation();
// The sheet's writes, as Swift's sheet sets them.
void setHueSampleMode(std::optional<HueSampleMode> mode);
void setHueTargeting(bool targeting);
private:
void renderPendingHuePreview();
void finishHueSaturationPreview();
void finishHueSaturationCommit();