acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_nano.h
1
//
2
// Created by camilo on 31/01/2022 19:00 <3ThomasBorregaardSorensen!!
3
//
4
#pragma once
5
6
7
#include "acme/user/micro/_nano.h"
8
#include "acme/operating_system.h"
9
//#include <X11/Xlib.h>
10
#include <xcb/xcb.h>
11
#include <xcb/xcb_atom.h>
12
#include "acme/operating_system/xcb/_.h"
13
// dnf install xcb-util-image-devel
14
#include <xcb/xcb_image.h>
15
#include <xcb/render.h>
16
// apt install libx11-xcb-dev
17
#include <X11/Xlib-xcb.h>
18
19
#define _NET_WM_STATE_REMOVE 0
// remove/unset property
20
#define _NET_WM_STATE_ADD 1
// add/set property
21
#define _NET_WM_STATE_TOGGLE 2
// toggle property
22
23
24
25
namespace
xcb
26
{
27
28
29
30
template
<
typename
TYPE >
31
using
visual_id_map = map < xcb_visualid_t, TYPE >;
32
33
using
visual_pictformat_map = visual_id_map < xcb_render_pictformat_t >;
34
35
using
visual_depth_map = visual_id_map < uint32_t >;
36
37
template
<
typename
TYPE >
38
using
pictformat_map = map < xcb_render_pictformat_t, TYPE >;
39
40
using
pictformat_info_map = pictformat_map < const xcb_render_pictforminfo_t * >;
41
42
43
}
// namespace xcb
44
45
46
namespace
xcb
47
{
48
49
50
class
display;
51
class
window;
52
53
54
}
// namespace xcb
55
56
57
void
operating_system_initialize_xcb_nano_user(
::factory::factory
* pfactory);
58
59
60
#include "event_listener.h"
61
62
//#include "font.h"
63
64
#include "acme/operating_system/cairo/nano/device.h"
65
66
#include "window.h"
67
68
69
#include "display.h"
70
71
72
factory::factory
Definition
factory.h:201
operating_system
xcb
nano
user
aaa_nano.h
Generated by
1.17.0