make status indicator colors customizable

This commit is contained in:
ouwou
2021-01-26 17:02:05 -05:00
parent 7334a4db72
commit d78fde45d4
5 changed files with 65 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include <gtkmm.h>
#include "../discord/snowflake.hpp"
#include "../discord/activity.hpp"
class StatusIndicator : public Gtk::Widget {
public:
@@ -22,9 +23,8 @@ protected:
Glib::RefPtr<Gdk::Window> m_window;
private:
void CheckStatus();
Snowflake m_id;
Gdk::RGBA m_color;
PresenceStatus m_status;
};