1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-27 05:23:39 -04:00
polybar/include/x11/draw.hpp

20 lines
509 B
C++
Raw Normal View History

2016-11-02 15:22:45 -04:00
#pragma once
2016-11-26 00:13:20 -05:00
#include <xcb/xcb.h>
2016-11-02 15:22:45 -04:00
#include "common.hpp"
2016-11-19 00:22:44 -05:00
POLYBAR_NS
2016-11-02 15:22:45 -04:00
2016-11-26 00:13:20 -05:00
class connection;
2016-11-02 15:22:45 -04:00
namespace draw_util {
2016-11-26 09:42:48 -05:00
void fill(xcb_connection_t* c, xcb_drawable_t d, xcb_gcontext_t g, const xcb_rectangle_t rect);
void fill(xcb_connection_t* c, xcb_drawable_t d, xcb_gcontext_t g, int16_t x, int16_t y, uint16_t w, uint16_t h);
2016-11-02 15:22:45 -04:00
2016-11-24 22:10:26 -05:00
xcb_void_cookie_t xcb_poly_text_16_patched(
xcb_connection_t* conn, xcb_drawable_t d, xcb_gcontext_t gc, int16_t x, int16_t y, uint8_t len, uint16_t* str);
2016-11-02 15:22:45 -04:00
}
2016-11-19 00:22:44 -05:00
POLYBAR_NS_END