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 __PAGE_INDICATOR_H__
18 #define __PAGE_INDICATOR_H__
21 #include <Elementary.h>
23 #define PAGE_INDICATOR_MAX_PAGE_COUNT 7
26 Evas_Object *scroller;
28 Evas_Object *unit[PAGE_INDICATOR_MAX_PAGE_COUNT];
38 page_indicator_t * page_indictor_create(Evas_Object *scroller);
39 void page_indicator_set_page_count(page_indicator_t *page_indicator, int count);
40 void page_indicator_scroller_resize(page_indicator_t *page_indicator, int width, int height);
41 void page_indicator_set_current_page(page_indicator_t *page_indicator, int page_number);
42 void page_indicator_show(page_indicator_t *page_indicator);
43 void page_indicator_hide(page_indicator_t *page_indicator);
45 #endif /* __PAGE_INDICATOR_H__ */