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 DYNAMIC_INDEX_H_
18 #define DYNAMIC_INDEX_H_
23 #include "page_scroller.h"
27 Evas_Object *scroller;
29 Evas_Object *indices[INDEX_MAX_PAGE_COUNT];
37 * @brief Creates new dynamic index object
38 * @param page_scroller Evas_Object pointer to elm_scroller widget
40 dynamic_index_t *dynamic_index_new(Evas_Object *page_scroller);
43 * @brief Removes dynamic inxed object
44 * @param dynamic_index Pointer to dynamic_index_t type.
46 void dynamic_index_del(dynamic_index_t *dynamic_index);
49 * @brief Clears content and set current index.
50 * @details [long description]
52 * @param dynamic_index [description]
54 void dynamic_index_reload(dynamic_index_t *dynamic_index, int idx, int page_count);
56 #endif /* DYNAMIC_INDEX_H_ */