WIP - icon generator

This commit is contained in:
Trey t
2022-02-13 17:16:13 -06:00
parent 1e7199337f
commit 868b747291
41 changed files with 494 additions and 97 deletions

View File

@@ -0,0 +1,32 @@
//
// CustomIcon.swift
// Feels (iOS)
//
// Created by Trey Tartt on 2/13/22.
//
import SwiftUI
class CustomIcon: ObservableObject {
init(leftEye: AnyView,
rightEye: AnyView,
mouth: AnyView,
background: [(AnyView, UUID)],
bgColor: Color,
innerColor: Color) {
self.leftEye = leftEye
self.rightEye = rightEye
self.mouth = mouth
self.background = background
self.bgColor = bgColor
self.innerColor = innerColor
}
@Published var leftEye: AnyView
@Published var rightEye: AnyView
@Published var mouth: AnyView
@Published var background: [(AnyView, UUID)]
@Published var bgColor: Color
@Published var innerColor: Color
}