add basic css support

This commit is contained in:
ouwou
2020-09-03 00:47:49 -04:00
parent 9b1bc8f145
commit 76cabbd37f
5 changed files with 30 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ public:
void ActionChatDeleteMessage(Snowflake channel_id, Snowflake id);
void ActionChatEditMessage(Snowflake channel_id, Snowflake id);
void ActionReloadCSS();
std::string GetDiscordToken() const;
bool IsDiscordActive() const;
@@ -51,6 +53,7 @@ private:
mutable std::mutex m_mutex;
Glib::RefPtr<Gtk::Application> m_gtk_app;
Glib::RefPtr<Gtk::CssProvider> m_css_provider;
SettingsManager m_settings;
std::unique_ptr<MainWindow> m_main_window; // wah wah cant create a gtkstylecontext fuck you
};