845418e5791dd0ec63d81ebedfad76e19931554b
[apps/home/quickpanel.git] / daemon / notifications / noti_win.h
1 /*
2  * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18
19 #ifndef __NOTI_WIN_H__
20 #define __NOTI_WIN_H__
21 #include <Evas.h>
22
23 enum Noti_Orient {
24         NOTI_ORIENT_TOP = 0,
25         NOTI_ORIENT_BOTTOM,
26         NOTI_ORIENT_LAST
27         } ;
28
29 /* Creates and return a new window (of widget type elm_win) of width equal to
30 root window
31 */
32 Evas_Object *noti_win_add(Evas_Object *parent);
33
34 /* Sets an Evas Object as content of the notification window created using
35 noti_win_add
36 */
37 void noti_win_content_set(Evas_Object *obj, Evas_Object *content);
38
39 /* Sets the orientation of the notification window, this can be of type
40 Noti_Orient
41 */
42 void noti_win_orient_set(Evas_Object *obj, enum Noti_Orient orient);
43 #endif