Ubuntu Platform API
1.0.0
A library helping with tight integration into the Ubuntu platform
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
window.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2013 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License version 3 as
6
* published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authored by: Ricardo Mendoza <ricardo.mendoza@canonical.com>
17
* Thomas Voß <thomas.voss@canonical.com>
18
*/
19
20
#ifndef UBUNTU_APPLICATION_UI_WINDOW_H_
21
#define UBUNTU_APPLICATION_UI_WINDOW_H_
22
23
#include <
ubuntu/visibility.h
>
24
25
#include <
ubuntu/status.h
>
26
#include <
ubuntu/application/instance.h
>
27
#include <
ubuntu/application/ui/window_properties.h
>
28
29
#include <EGL/egl.h>
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
35
typedef
void
UAUiWindow
;
36
typedef
int32_t
UAUiWindowId
;
37
38
UBUNTU_DLL_PUBLIC
UAUiWindow*
39
ua_ui_window_new_for_application_with_properties
(
40
UApplicationInstance
*instance,
41
UAUiWindowProperties
*properties);
42
43
UBUNTU_DLL_PUBLIC
void
44
ua_ui_window_destroy
(
45
UAUiWindow *window);
46
47
UBUNTU_DLL_PUBLIC
UAUiWindowId
48
ua_ui_window_get_id
(
49
UAUiWindow *window);
50
51
UBUNTU_DLL_PUBLIC
UStatus
52
ua_ui_window_move
(
53
UAUiWindow *window,
54
uint32_t new_x,
55
uint32_t new_y);
56
57
UBUNTU_DLL_PUBLIC
UStatus
58
ua_ui_window_resize
(
59
UAUiWindow *window,
60
uint32_t new_width,
61
uint32_t new_height);
62
63
UBUNTU_DLL_PUBLIC
UStatus
64
ua_ui_window_hide
(
65
UAUiWindow *window);
66
67
UBUNTU_DLL_PUBLIC
UStatus
68
ua_ui_window_show
(
69
UAUiWindow *window);
70
71
UBUNTU_DLL_PUBLIC
void
72
ua_ui_window_request_fullscreen
(
73
UAUiWindow *window);
74
75
UBUNTU_DLL_PUBLIC
EGLNativeWindowType
76
ua_ui_window_get_native_type
(
77
UAUiWindow *window);
78
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif
/* UBUNTU_APPLICATION_UI_WINDOW_H_ */
include
ubuntu
application
ui
window.h
Generated on Tue Oct 15 2013 02:50:25 for Ubuntu Platform API by
1.8.4