acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_window_boot 2.h
1//
2// boot_window.h
3// os
4//
5// Created by Camilo Sasuke Thomas Borregaard Soerensen on 6/8/13 (round_window).
6// Copyright (c) 2013 ca2 Desenvolvimento de Sofware Ltda. All rights reserved.
7//
8
9#pragma once
10
11
12#include "berg/user/user/user_key_enum.h"
13
14
16{
17public:
18
19
20bool m_bDirty;
21
22#ifdef __OBJC__
23 mm_window * m_proundwindow;
24#else
25 void * m_proundwindow;
26#endif
27
28
29 virtual void boot_window_draw(CGContextRef cgc) = 0;
30 virtual void boot_window_mouse_down(::f64 x, ::f64 y) = 0;
31 virtual void boot_window_mouse_up(::f64 x, ::f64 y) = 0;
32 virtual void boot_window_mouse_moved(::f64 x, ::f64 y) = 0;
33 virtual void boot_window_mouse_dragged(::f64 x, ::f64 y) = 0;
34 virtual bool boot_window_key_down(const ::user::e_key & ekey, const_char_pointer characters) = 0;
35 virtual bool boot_window_key_up(const ::user::e_key & ekey, const_char_pointer characters) = 0;
36
37
38 virtual void boot_window_invalidate();
39 virtual void boot_window_show();
40 virtual void boot_window_redraw();
41
42 virtual void boot_window_destroy();
43
44
45 virtual bool boot_window_has_focus();
46
47
48};
49
50
51UIWindow * new_boot_window(boot_window * pwindow, CGRect i32_rectangle);
52void ios_application_main();
53::i32 ios_app_run(::i32 argc, char_pointer argv[]);
Definition aaa_window_boot 2.h:16