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.
20 #include <Elementary.h>
22 #include "data_model.h"
25 * @brief Creates all apps panel
26 * @param parent elm_layout widget with proper swallow part
27 * @return pointer to Evas_Object
29 Evas_Object *all_apps_create(Evas_Object *parent, void *data);
32 * @brief Shows all_apps panel
34 void all_apps_show(void);
37 * @brief [Hides all apps panel
39 void all_apps_hide(void);
42 * @brief [brief description]
43 * @details [long description]
45 void all_apps_del(void);
48 * @brief Sets view mode of all apps view
50 void all_apps_set_view_mode(homescreen_view_t view);
53 * @brief Function blocks srolling of the all_apps panel.
54 * @details It is used during items reposition.
56 * @param is_blocked bool value, true if should be blocked
58 void all_apps_set_scrolling_blocked_state(bool is_blocked);
61 * @brief detaches app icon from grid:
63 void all_apps_detach_from_grid(Elm_Object_Item *grid_item);
66 * @brief attaches app icon to grid number grid_num:
68 Elm_Object_Item *all_apps_attach_to_grid(Evas_Object *icon, int grid_num);
71 * @brief appends new page to the page scroller
73 bool all_apps_append_page(Tree_node_t *page_item);
76 * @brief appends new page to the page scroller
78 void all_apps_remove_empty_pages(void);
81 * @brief it simply updates all pages dynamic index display
83 void all_apps_update_dynamic_index_count(void);
85 #endif /* ALL_APPS_H_ */