acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_user.h
1
// Created by camilo on 2022-11-19 03:54 <3ThomasBorregaardSorensen!!
2
//
3
// // Merged from (acme)windowing and (acme)windowing_system by
4
// // camilo on 2024-10-05 11:06 <3ThomasBorregaardSorensen!!
5
// // (acme)windowing_system::windowing_system
6
// // ---->windowing::windowing_base
7
// // // ---->micro::user
8
// // (acme)windowing::window_base
9
// // ---->micro::interchange
10
//
11
// Created by camilo on 2024-05-26 21:50 <3ThomasBorregaardSorensen!!
12
// Merged from windowing_system to
13
// windowing by camilo on 2024-10-05 10:35 <3ThomasBorregaardSorensen!!
14
#pragma once
15
16
17
#include "acme/platform/department.h"
18
#include "acme/prototype/collection/comparable_list.h"
19
#include "../_.h"
20
21
22
namespace
micro
23
{
24
25
namespace
user
26
{
27
class
CLASS_DECL_ACME
user
:
28
virtual
public
platform::department
29
{
30
public
:
31
32
33
//::pointer_array < ::acme::windowing::window > m_windowa;
34
// ::pointer<::acme::windowing::display> m_pdisplay;
35
// ::pointer_array<::acme::windowing::window> m_windowbasea;
36
//::pointer < ::micro::theme > m_pnanousertheme;
37
38
39
user
();
40
~user
()
override
;
41
42
43
//inline static const_char_pointer represented_component_name(){return "nano_user";}
44
45
46
//::micro::theme * nano_user_theme();
48
//virtual void update_nano_user_theme();
49
51
52
//::pointer < ::subparticle > nano()->message_console(const ::scoped_string & scopedstrMessage, const ::scoped_string & scopedstrTitle = nullptr, const ::user::e_message_box& emessagebox = ::user::e_message_box_ok, const ::scoped_string & scopedstrDetails = nullptr);
53
54
55
//::pointer < ::subparticle > message_box(const ::scoped_string & scopedstrMessage, const ::scoped_string & scopedstrTitle = nullptr, const ::user::e_message_box& emessagebox = ::user::e_message_box_ok, const ::scoped_string & scopedstrDetails = nullptr, ::nano::graphics::icon * picon=nullptr);
56
//
57
//::pointer < ::subparticle > exception_message_box(const ::exception& exception, const ::scoped_string & scopedstrMessage = nullptr, const ::scoped_string & scopedstrTitle = nullptr, const ::user::e_message_box& emessagebox = ::user::e_message_box_ok, const ::scoped_string & scopedstrDetails = nullptr, ::nano::graphics::icon * picon=nullptr);
58
//
59
//::pointer < ::subparticle > message_console(const ::scoped_string & scopedstrMessage = nullptr, const ::scoped_string & scopedstrTitle = nullptr, const ::user::e_message_box& emessagebox = ::user::e_message_box_ok, const ::scoped_string & scopedstrDetails = nullptr, ::nano::graphics::icon * picon=nullptr);
60
//
61
//::pointer < ::subparticle > exception_message_console(const ::exception& exception, const ::scoped_string & scopedstrMessage = nullptr, const ::scoped_string & scopedstrTitle = nullptr, const ::user::e_message_box& emessagebox = ::user::e_message_box_ok, const ::scoped_string & scopedstrDetails = nullptr, ::nano::graphics::icon * picon=nullptr);
62
//
63
64
void
handle(
::topic
* ptopic, ::handler_context * phandlercontext)
override
;
65
66
67
//virtual void sync(const ::procedure & procedure);
68
//virtual void async(const ::procedure & procedure);
69
70
71
virtual
void
process_messages();
72
73
virtual
bool
init_threads();
74
75
76
78
79
80
//
81
82
//windowing_base();
83
84
//~windowing_base() override;
85
86
87
void
on_initialize_particle()
override
;
88
89
90
void
destroy()
override
;
91
92
93
//virtual ::acme::windowing::display * display();
94
95
96
virtual
void
on_start_system();
97
98
virtual
void
_do_tasks();
99
100
virtual ::e_status defer_initialize_windowing_system();
101
102
virtual ::e_status initialize_windowing_system();
103
104
virtual
void
* get_display();
105
106
void
main_send(const ::procedure & procedure)
override
;
107
108
void
main_post(const ::procedure & procedure)
override
;
109
110
virtual
void
display_error_trap_push(::i32 i);
111
112
virtual
void
display_error_trap_pop_ignored(::i32 i);
113
114
virtual
void
* fetch_windowing_system_display();
115
116
//virtual void process_messages();
117
118
virtual
void
windowing_system_application_main_loop();
119
120
virtual
void
windowing_system_post_quit();
121
122
virtual ::color::color get_system_color(enum_system_color esystemcolor);
123
124
125
virtual
void
on_system_dark_mode_change(
bool
bDarkMode,
126
const ::color::color & colorBackground = ::color::transparent);
127
128
virtual
void
set_dark_mode(
bool
bDarkMode);
129
130
131
virtual
bool
dark_mode();
132
133
virtual
void
fetch_system_background_color();
134
135
136
::color::color
reinterpreted_background_color();
137
138
139
virtual ::pixmap get_pixmap_from_file(
::memory
& memoryHost,
const
void
* psourceFile, memsize sizeSourceFile);
140
141
};
142
143
144
145
}
// namespace user
146
147
148
}
// namespace acme
149
150
151
152
153
154
CLASS_DECL_ACME
void
initialize_nano_user(
::factory::factory
* pfactory);
155
156
157
color::color
Definition
color.h:162
factory::factory
Definition
factory.h:201
memory
Definition
memory.h:33
platform::department
Definition
department.h:13
topic
Definition
topic.h:17
user
Created by camilo on 2026-05-28 12:34 <3ThomasBorregaardSørensen!! Mummi!! Bilbo!!
Definition
_.h:67
user
user
_aaa2025
aaa_user.h
Generated by
1.17.0