X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fglobalsettings.hpp;h=e890a800e306b302f0b5939c28d7c78bcfe537d0;hp=d8374a354ff432c3d2edbfff810e6fb909c3389c;hb=152a0b1b4e19dc3d8b816851abc82813d891b363;hpb=374c697f74ba8abbfe2a014416eb398bb460d1c3 diff --git a/pv/globalsettings.hpp b/pv/globalsettings.hpp index d8374a3..e890a80 100644 --- a/pv/globalsettings.hpp +++ b/pv/globalsettings.hpp @@ -67,6 +67,7 @@ public: static const QString Key_View_DefaultLogicHeight; static const QString Key_View_ShowHoverMarker; static const QString Key_View_SnapDistance; + static const QString Key_View_CursorFillColor; static const QString Key_Dec_InitialStateConfigurable; static const QString Key_Dec_ExportFormat; static const QString Key_Log_BufferSize; @@ -81,9 +82,12 @@ public: public: GlobalSettings(); - void set_defaults_where_needed(); void save_internal_defaults(); + void set_defaults_where_needed(); + void set_bright_theme_default_colors(); + void set_dark_theme_default_colors(); + bool current_theme_is_dark(); void apply_theme(); static void add_change_handler(GlobalSettingsInterface *cb); @@ -125,6 +129,8 @@ private: static QString default_style_; static QPalette default_palette_; + + bool is_dark_theme_; }; } // namespace pv