acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
display.h
1//
2// Created by camilo on 12/04-April/2022. 22:07 <3ThomasBorregaardSorensen!!
3//
4#pragma once
5
6
7#include "acme/prototype/geometry2d/rectangle_array.h"
8
9
10namespace acme
11{
12
13 namespace windowing
14 {
15
16
17 class CLASS_DECL_ACME display :
18 virtual public ::object
19 {
20 public:
21
22
23 ::i32_point m_pointCursor2;
24 ::string m_strDarkModeAnnotation;
25 ::i32_rectangle_array_base m_rectanglea;
26
27
28 display();
29 ~display() override;
30
31
32 virtual void open_display();
33
34
35 virtual void _enumerate_monitors();
36
37
38 virtual void _on_monitor(::i32 iIndex, const ::i32_rectangle & rectangle, const ::i32_rectangle & rectangleWorkspace);
39
40
41 virtual bool is_display_opened() const;
42
43
44 void destroy() override;
45
46
47 ::collection::count get_monitor_count();
48
49 virtual void * _get_x11_display();
50
51 virtual ::i64 _get_x11_root_window();
52
53 void kick_idle() override;
54
55
56 virtual void display_post(const ::procedure& procedure);
57
58
59 virtual void display_send(const ::procedure& procedure);
60
61
62 virtual ::i32_size get_main_screen_size();
63
64 virtual ::i32_size get_main_screen_size_with_scaling_factor();
65
66 virtual ::f32 get_main_screen_scaling_factor();
67
68 virtual void * raw_x11_display();
69
70
71 virtual bool is_dark_mode_through_theming();
72 virtual ::string theming_ui_name();
73
74 virtual bool is_wallpaper_associated_with_dark_mode();
75 virtual bool is_wallpaper_associated_with_theming();
76
77 virtual void enable_wallpaper_change_notification();
78
79 virtual string get_wallpaper(::collection::index iScreen);
80 virtual void set_wallpaper(::collection::index iScreen, const ::scoped_string & scopedstrWallpaper);
81
82
83 virtual string_array_base get_wallpaper();
84 virtual void set_wallpaper(const string_array_base & straWallpaper);
85
86
87 virtual ::string _get_wallpaper(::collection::index iScreen);
88 virtual void _set_wallpaper(::collection::index iScreen, const ::scoped_string & scopedstrWallpaper);
89
90
91 virtual ::string get_desktop_theme();
92 virtual void set_desktop_theme(const ::scoped_string & scopedstrDesktopTheme);
93
94
95 virtual string impl_get_desktop_theme();
96 virtual void impl_set_desktop_theme(const ::scoped_string & scopedstrDesktopTheme);
97
98
99 virtual ::string get_desktop_icon_theme();
100 virtual void set_desktop_icon_theme(const ::scoped_string & scopedtrDesktopIconTheme);
101
102
103 //virtual void enable_wallpaper_change_notification();
104
105
106 virtual bool is_x11();
107
108 virtual bool is_wayland();
109
110
111 };
112
113
114 } // namespace windowing
115
116
117} // namespace acme
include "aura/graphics/image/context.h"
Definition aaaa__defer.h:32