acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_child.h
1// Created by camilo on 2022-01-21 05:10 PM <3ThomasBorregaardSorensen
2#pragma once
3
4
6//#include "acme/prototype/geometry2d/point.h"
7//#include "acme/prototype/geometry2d/size.h"
8#include "acme/prototype/geometry2d/rectangle.h"
9
10namespace nano
11{
12
13 namespace user
14 {
15
16
17
18class child :
19 virtual public ::object
20{
21public:
22
23
24 string m_strText;
25 ::atom id();
26 i32_rectangle m_rectangle;
27 ::micro::elemental * m_pinterchange;
28
29
30 virtual void on_draw(::nano::graphics::context * pnanodevice) = 0;
31 virtual void on_char(::i32 iChar) = 0;
32 virtual void set_focus();
33 virtual bool is_focusable();
34 virtual void on_mouse_move(::user::mouse * pmouse);
35 virtual void set_capture();
36 virtual bool has_capture();
37 virtual void release_capture();
38
39
40 virtual void resize_to_fit();
41
42
43 //virtual void display_temporary_file_with_text(const ::scoped_string & scopedstr);
44
45
46};
47
48
49
50
51
52
53 } // namespace user
54
55
56} // namespace nano
57
58
59
Definition atom.h:237
Definition elemental.h:38
Definition context.h:24
Definition aaa_child.h:20