acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics.h
1
// Created by camilo on 2022-11-19 03:54 <3ThomasBorregaardSorensen!!
2
#pragma once
3
4
5
#include "acme/platform/department.h"
6
#include "acme/prototype/collection/comparable_list.h"
7
#include "_.h"
8
9
10
namespace
nano
11
{
12
13
namespace
graphics
14
{
15
class
CLASS_DECL_ACME graphics :
16
virtual
public
platform::department
17
{
18
public
:
19
20
21
//::pointer_array < ::micro::elemental > m_interchangea;
22
23
24
graphics();
25
~graphics()
override
;
26
27
28
inline
static
const_char_pointer represented_component_name(){
return
"nano_graphics"
;}
29
30
31
32
virtual ::pointer<brush> create_solid_brush(const ::color::color & color);
33
virtual ::pointer<pen> create_pen(::nano::graphics::enum_pen epen, ::f64 fWidth, const ::color::color &color);
34
virtual ::pointer<font> create_point_font(enum_font efont, ::f64 fPointSize,
bool
bBold =
false
,
bool
bItalic =
false
,
bool
bUnderline =
false
);
35
virtual ::pointer<font> create_pixel_font(enum_font efont, ::f64 fPixelSize,
bool
bBold =
false
,
bool
bItalic =
false
,
36
bool
bUnderline =
false
);
37
38
//::pointer < ::subparticle > nano()->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);
39
40
42
43
//::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);
44
45
46
// ::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);
47
//
48
// ::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);
49
//
50
// ::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);
51
//
52
// ::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);
53
//
54
55
void
handle(
::topic
* ptopic, ::handler_context * phandlercontext)
override
;
56
57
//
58
// virtual void sync(const ::procedure & procedure);
59
// virtual void async(const ::procedure & procedure);
60
61
//
62
// virtual void process_messages();
63
//
64
// virtual bool init_threads();
65
66
67
};
68
69
70
71
}
// namespace graphics
72
73
74
}
// namespace nano
75
76
77
78
79
80
CLASS_DECL_ACME
void
initialize_nano_user(
::factory::factory
* pfactory);
81
82
83
factory::factory
Definition
factory.h:201
platform::department
Definition
department.h:13
topic
Definition
topic.h:17
nano
graphics
graphics.h
Generated by
1.17.0