The source code moved from the SPIN with license changed to Flora 1.1
[apps/native/home/homescreen-efl.git] / inc / livebox_all_pages.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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 #ifndef LIVEBOX_ALL_PAGES_H_
18 #define LIVEBOX_ALL_PAGES_H_
19
20 #include <stdbool.h>
21 #include <Elementary.h>
22
23 /**
24  * @brief Shows all pages panel
25  * @return Pointer to all_pages layout
26  */
27 extern Evas_Object *livebox_all_pages_show(void);
28
29 /**
30  * @brief Hides all pages layout
31  * @param page_index if this value is bigger than 0 it closes the all pages view and sets page index as current home page
32  */
33 extern void livebox_all_pages_hide(void);
34
35 /**
36  * @brief Check if page at index is an add_page
37  * @param index page index
38  * @return true if given index indicates add page
39  */
40 extern bool livebox_all_pages_is_add_icon_page(int index);
41
42 /**
43  * @brief Function used for moves page thumb during reposition.
44  * @param x int value of x mouse position
45  * @param y int value of y mouse position
46  */
47 extern void livebox_all_pages_move_item(int x, int y);
48
49 /**
50  * @brief Set item to proper position
51  *
52  */
53 extern void livebox_all_pages_up_item(void);
54
55
56
57 #endif /* LIVEBOX_ALL_PAGES_H_ */