Tue, 14 Jun 2022 20:35:11 +0300
fix comment
#include <QMdiArea> #include "libraries.h" #include "gl/common.h" #ifndef SETTING enum class Setting { # define SETTING(NAME, DEFVALUE) NAME, # define AUTOMATIC_SETTINGS_DEF #endif // Rendering options SETTING(Locale, QString{"system"}) SETTING(BackgroundColor, (QColor{48, 48, 48})) SETTING(MainColor, (QColor{255, 255, 64})) SETTING(SelectedColor, (QColor{32, 32, 224})) SETTING(LineThickness, 2.0f) SETTING(LineAntiAliasing, true) SETTING(RenderStyle, gl::RenderStyle::Normal) SETTING(DrawWireframe, false) SETTING(DrawAxes, true) SETTING(MainWindowGeometry, QByteArray{}) SETTING(MainSplitterState, QByteArray{}) SETTING(RecentFiles, QStringList{}) SETTING(ViewMode, QMdiArea::TabbedView) // File management options SETTING(Libraries, QVector<Library>{}) #ifdef AUTOMATIC_SETTINGS_DEF }; # undef SETTING # undef AUTOMATIC_SETTINGS_DEF #endif