struct MenuIcon
Swift
struct MenuIcon
Picture for a top-level menu title.
LavaMenu has no GPU types, so this is a path and a size. The Vulkan
strip loads it (or is handed a decoded UIImage keyed by MenuID).
DBus / Cocoa hosts ignore it and keep using title as the name.
Sources/LavaMenu/Menu.swift:49
Constructors
init(size: Float = 18, path: String? = nil)
Creates an icon of size points, loaded from path if one is given.
Sources/LavaMenu/Menu.swift:56
Properties
var path: String?
File the LavaUI strip can load when it was not given pixels.
Sources/LavaMenu/Menu.swift:53
var size: Float
Suggested draw size, in points.
Sources/LavaMenu/Menu.swift:51