acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_popup_button.h
1//
2// Created by camilo on 2022-02-16 22:38 <3ThomasBorregaardSorensen!!
3//
4#pragma once
5
6
7#include "interchange.h"
8
9namespace nano
10{
11
12namespace user
13{
14
15class popup_button :
16 virtual public ::micro::elemental
17{
18public:
19
20
21
22 popup_button();
23 ~popup_button() override;
24
25
26
27 void calculate_size_and_position(::i32 x = INT_MIN, ::i32 y = INT_MIN);
28
29
30 virtual void initialize_popup_button(const ::scoped_string & scopedstrText, ::i32 x, ::i32 y);
31
32 void on_click(const ::payload& payload, ::user::mouse * pmouse) override;
33
34 void on_draw(::nano::graphics::context * pnanodevice) override;
35
36
37};
38
39
40 } // namespace user
41
42
43} // namespace nano
44
45
46
Definition elemental.h:38
Definition context.h:24