2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://floralicense.org/license/
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.
17 #ifndef LIVEBOX_ALL_PAGES_H_
18 #define LIVEBOX_ALL_PAGES_H_
21 #include <Elementary.h>
24 * @brief Shows all pages panel
25 * @return Pointer to all_pages layout
27 extern Evas_Object *livebox_all_pages_show(void);
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
33 extern void livebox_all_pages_hide(void);
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
40 extern bool livebox_all_pages_is_add_icon_page(int index);
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
47 extern void livebox_all_pages_move_item(int x, int y);
50 * @brief Set item to proper position
53 extern void livebox_all_pages_up_item(void);
57 #endif /* LIVEBOX_ALL_PAGES_H_ */