polybar/include/x11/types.hpp

36 lines
1.0 KiB
C++
Raw Normal View History

2016-06-15 03:32:35 +00:00
#pragma once
#include "common.hpp"
2016-12-26 08:40:15 +00:00
namespace xpp {
template <typename Connection, template <typename, typename> class...>
class gcontext;
template <typename Connection, template <typename, typename> class...>
class pixmap;
template <typename Connection, template <typename, typename> class...>
class drawable;
template <typename Connection, template <typename, typename> class...>
class colormap;
template <typename Connection, template <typename, typename> class...>
class atom;
template <typename Connection, template <typename, typename> class...>
class font;
template <typename Connection, template <typename, typename> class...>
class cursor;
}
2016-11-19 05:22:44 +00:00
POLYBAR_NS
2016-06-15 03:32:35 +00:00
class connection;
class registry;
2016-11-02 19:22:45 +00:00
2016-11-20 22:04:31 +00:00
using gcontext = xpp::gcontext<connection&>;
using pixmap = xpp::pixmap<connection&>;
using drawable = xpp::drawable<connection&>;
using colormap = xpp::colormap<connection&>;
using atom = xpp::atom<connection&>;
using font = xpp::font<connection&>;
using cursor = xpp::cursor<connection&>;
2016-11-19 05:22:44 +00:00
POLYBAR_NS_END