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 GRID_ITEM_RESIZE_H_
18 #define GRID_ITEM_RESIZE_H_
20 #include <Elementary.h>
25 #include "livebox_utils.h"
29 * @brief Adds callbacks to livebox_container
30 * @param livebox_scroller scroller with livebox_container
31 * @param livebox_container Layout created with file: livebox_container.edj,
32 * with grid as its main part
33 * @return true on success
35 extern bool grid_item_init_resize_callbacks(Evas_Object *livebox_scroller,
36 Evas_Object *livebox_container);
39 * @brief Set the resize sliders on @p page based on @p livebox geometry
41 extern void grid_item_set_resize_livebox_sliders(Evas_Object *livebox,
45 * @brief Set the visibility of resize frame
46 * @param page Page containing the frame
47 * @param visible Visibility of the frame
49 extern void grid_item_set_resize_sliders_visibility(Evas_Object *page,
52 #endif /* GRID_ITEM_RESIZE_H_ */