acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
drag.h
1// Created by camilo on 2021-01-22 06:11 AM <3ThomasBorregaardSorensen
2#pragma once
3
4
5#include "acme/prototype/geometry2d/point.h"
6#include "acme/prototype/geometry2d/size.h"
7#include "acme/constant/element.h"
8#include "acme/handler/item.h"
9
10
11namespace user
12{
13
14
15 class drag_client;
16 class mouse;
17
18
19 class CLASS_DECL_ACME drag :
20 virtual public ::particle
21 {
22 public:
23
24
25 ::item_pointer m_pitem;
26 //::e_element m_eelement;
27 //e_zorder m_ezorder;
28 bool m_bLButtonDown;
29 bool m_bLButtonDownUsed;
30 ::i32_point m_pointLButtonDown2;
31 ::i32_point m_pointInitial;
32 //::i32_size m_sizeLButtonDownOffset;
33 //::pointer<::user::mouse> m_pmouse;
34 enum_cursor m_ecursorDrag;
35
36 bool m_bDrag;
37
38
39 drag();
40 ~drag() override;
41
42
43 void drag_start(::user::mouse * pmouse, ::user::drag_client * pdragclient, ::item * pitem, const ::i32_point & pointDrag);
44 void drag_end();
45
46
47 //::i32_point point() const;
48
49
50 };
51
52
53
54
55} // namespace user
56
57
58
Definition aaa_item.h:13
Created by camilo on 2026-05-28 12:34 <3ThomasBorregaardSørensen!! Mummi!! Bilbo!!
Definition _.h:67