From 8398c07966955e9bed34bafec782073211119479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Wed, 21 Oct 2026 18:24:34 +0300 Subject: [PATCH] some --- components/chkgfx/chkgfxAux.swift | 9 +++++++++ components/chkgfx/mac/view/ChkgfxView.swift | 2 +- ogs-chkgfx/ver-mac/src/chkgfx/chkgfxAux.swift | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 components/chkgfx/chkgfxAux.swift create mode 120000 ogs-chkgfx/ver-mac/src/chkgfx/chkgfxAux.swift diff --git a/components/chkgfx/chkgfxAux.swift b/components/chkgfx/chkgfxAux.swift new file mode 100644 index 0000000..a19d6de --- /dev/null +++ b/components/chkgfx/chkgfxAux.swift @@ -0,0 +1,9 @@ +import AppKit + +func chkgfxOutlineText(_ text: String) -> AttributedString { + var att = AttributedString(text) + att.foregroundColor = .clear + att.strokeColor = .white + att.strokeWidth = 4 + return att +} diff --git a/components/chkgfx/mac/view/ChkgfxView.swift b/components/chkgfx/mac/view/ChkgfxView.swift index 76a1136..59a6d5c 100644 --- a/components/chkgfx/mac/view/ChkgfxView.swift +++ b/components/chkgfx/mac/view/ChkgfxView.swift @@ -9,7 +9,7 @@ struct ChkgfxView: View { var body: some View { VStack(spacing: 16) { - Text("Check graphics") + Text(chkgfxOutlineText("Check graphics")) .font(.largeTitle) } .padding(40) diff --git a/ogs-chkgfx/ver-mac/src/chkgfx/chkgfxAux.swift b/ogs-chkgfx/ver-mac/src/chkgfx/chkgfxAux.swift new file mode 120000 index 0000000..35d4532 --- /dev/null +++ b/ogs-chkgfx/ver-mac/src/chkgfx/chkgfxAux.swift @@ -0,0 +1 @@ +../../../../components/chkgfx/chkgfxAux.swift \ No newline at end of file