00001 /* 00002 * This file is part of browser. 00003 * 00004 * browser is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * browser is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00026 /* browser - A mozilla based browser application on the eReader platform 00027 * Copyright (C) 2005-2008 iRex Technologies B.V. 00028 * 00029 */ 00030 00031 #ifndef __EREADER_PAGEBAR_H__ 00032 #define __EREADER_PAGEBAR_H__ 00033 00040 void pagebar_init(); 00041 00049 void pagebar_goto_page(int page); 00050 00058 void pagebar_set_pagecount(int count); 00059 00067 void pagebar_set_offset(int offset); 00068 00076 void pagebar_redraw(); 00077 00078 00087 void browser_pagebar_page_selected(int pagenumber, Ereader *browser); 00088 00094 BrowserPageStatus* browser_create_page_status(void); 00095 00102 void browser_destroy_page_status(BrowserPageStatus* pageStatus); 00103 00113 gboolean browser_set_page_status_indexfile(BrowserPageStatus* pageStatus, char* indexfile); 00114 00124 gboolean page_status_handle_type_update(BrowserPageStatus* pageStatus, gchar* pageType); 00125 00126 00127 00128 #endif //__EREADER_PAGEBAR_H__ 00129 00130 00131 00132
1.5.6