OmaPhoto 1.0.0: the Linux port of Compositor
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:
commit
c864304695
564 files changed
+100804
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
#include "Document/EditorSession+Model.h"
|
||||
#include <QColor>
|
||||
#include <QPainter>
|
||||
#include <QRectF>
|
||||
|
||||
// The Marquee's and the Lasso's icons follow their kinds.
|
||||
enum class ToolIconKind { plain, ellipse, polygonal, eraser };
|
||||
|
||||
// The tool rail's icons, drawn: SF Symbols have no twin.
|
||||
namespace ToolIcons {
|
||||
// Swift's icons sit in an 18 point square.
|
||||
inline constexpr int points = 18;
|
||||
// Paints the tool's icon into a square, in one colour.
|
||||
void paint(QPainter &painter, NavigationTool tool, QPointF origin, double side, const QColor &colour, ToolIconKind kind = ToolIconKind::plain);
|
||||
}
|
||||
Reference in new issue
Block a user