polybar/include/x11/draw.hpp

15 lines
349 B
C++
Raw Normal View History

2016-11-02 19:22:45 +00:00
#pragma once
2016-11-26 05:13:20 +00:00
#include <xcb/xcb.h>
2016-11-02 19:22:45 +00:00
#include "common.hpp"
2016-11-19 05:22:44 +00:00
POLYBAR_NS
2016-11-02 19:22:45 +00:00
namespace draw_util {
2016-11-26 14:42:48 +00:00
void fill(xcb_connection_t* c, xcb_drawable_t d, xcb_gcontext_t g, const xcb_rectangle_t rect);
2017-01-19 10:11:28 +00:00
void fill(xcb_connection_t* c, xcb_drawable_t d, xcb_gcontext_t g, short int x, short int y, unsigned short int w, unsigned short int h);
2016-11-02 19:22:45 +00:00
}
2016-11-19 05:22:44 +00:00
POLYBAR_NS_END