Apply GUI resource and layout to progressbar
[platform/core/security/ode.git] / tools / apps / ode-gui / include / ode.h
1 /*
2  *
3  * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18
19 #ifndef __ODE_H__
20 #define __ODE_H__
21
22 #include <stdio.h>
23 #include <stdlib.h>
24 #include <string.h>
25 #include <limits.h>
26
27 #include <app.h>
28 #include <app_common.h>
29 #include <bundle.h>
30 #include <dlog.h>
31 #include <Elementary.h>
32 #include <efl_extension.h>
33 #include <system_settings.h>
34
35 #ifdef  LOG_TAG
36 #undef  LOG_TAG
37 #endif
38 #define LOG_TAG "ODE"
39
40 #if !defined(PACKAGE)
41 #define PACKAGE "org.tizen.ode-gui"
42 #endif
43
44 #define __(str) dgettext("ode-gui", str)
45
46 #define SUB_TITLE_STYLE_W "DEFAULT='font=Tizen:style=Regular font_size=40 color=#ffffff wrap=mixed align=center'"
47 #define SUB_CONTENT_STYLE_W "DEFAULT='font=Tizen:style=Regular font_size=32 color=#ffffff wrap=mixed align=center'"
48
49 void create_base_window();
50 void create_progress_view(const char *type, const char *target);
51
52 #endif /* __ODE_H__ */