#pragma once #include #include "../defines.hpp" #include "../utilities/AnimationUtil.hpp" struct SDrawingContext { xcb_gcontext_t GContext; xcb_font_t Font; }; class CStatusBar { public: EXPOSED_MEMBER(WindowID, xcb_window_t, i); EXPOSED_MEMBER(MonitorID, int, i); void draw(); void setup(int MonitorID); void destroy(); std::vector openWorkspaces; EXPOSED_MEMBER(CurrentWorkspace, int, i); private: Vector2D m_vecSize; Vector2D m_vecPosition; xcb_pixmap_t m_iPixmap; std::unordered_map m_mContexts; };