// Copyright 2007-2021 David Robillard // SPDX-License-Identifier: GPL-3.0-or-later #ifndef PATCHAGE_SETTING_HPP #define PATCHAGE_SETTING_HPP #include "Coord.hpp" #include "PortType.hpp" #include #include namespace patchage { namespace setting { template struct Setting { T value{}; }; struct PortColor { PortType type{}; uint32_t value{}; }; struct AlsaAttached : Setting {}; struct FontSize : Setting {}; struct HumanNames : Setting {}; struct JackAttached : Setting {}; struct MessagesHeight : Setting {}; struct MessagesVisible : Setting {}; struct SortedPorts : Setting {}; struct SprungLayout : Setting {}; struct ToolbarVisible : Setting {}; struct WindowLocation : Setting {}; struct WindowSize : Setting {}; struct Zoom : Setting {}; } // namespace setting /// A configuration setting using Setting = boost::variant; } // namespace patchage #endif // PATCHAGE_SETTING_HPP