4 * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
6 * Contact: Jin Yoon <jinny.yoon@samsung.com>
7 * Junkyu Han <junkyu.han@samsung.com>
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
23 #ifndef __MENU_SCREEN_PAGE_H__
24 #define __MENU_SCREEN_PAGE_H__
30 extern void page_mark_dirty(Evas_Object *page);
31 extern void page_clean_dirty(Evas_Object *page);
32 extern void page_unmark_dirty(Evas_Object *page);
33 extern int page_is_dirty(Evas_Object *page);
35 extern Evas_Object *page_get_item_at(Evas_Object *menu, unsigned int idx);
37 extern menu_screen_error_e page_unpack_item(Evas_Object *page, Evas_Object *item);
38 extern Evas_Object *page_unpack_item_at(Evas_Object *page, int idx);
40 extern void page_pack_item(Evas_Object *menu, int idx, Evas_Object *item);
41 extern void page_set_item(Evas_Object *page, int idx, Evas_Object *item);
43 extern unsigned int page_count_item(Evas_Object *page);
45 extern Evas_Object *page_create(Evas_Object *scroller, int idx, int rotate);
46 extern void page_destroy(Evas_Object *scroller, Evas_Object *page);
48 extern int page_find_empty_near(Evas_Object *menu_edje, int pivot);
49 extern int page_find_first_empty(Evas_Object *page, int pivot);
50 extern void page_trim_items(Evas_Object *page);
52 #endif //__MENU_SCREEN_PAGE_H__