[r20]: cbrpager-maemo / branches / MAEMO_0_9_20 / src / global.h Maximize Restore History

Download this file

global.h    64 lines (56 with data), 2.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
* global.h - auxiliary routines, mainly gp screen management
*
* Copyright (C) 1997-2004 John Coppens (john@jcoppens.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#define FOLLOW_TIMER 150
int ok_dialog(char *ttl, char *msg);
void initial_setup(void);
void set_sort_strategy(void);
void start_show(void);
void show_page(int nr);
void next_page(int adv, gboolean show_indicator);
void previous_page(int prv, gboolean show_indicator);
void goto_begin(void);
void goto_end(void);
void file_list_tbtn_clicked(void);
void update_nav_position(void);
void install_timer(void);
void clean_up(void);
void main_canvas_keyevent(GdkEventKey *event, gboolean is_pressed);
void main_canvas_buttonpressed(GdkEventButton *event);
void main_canvas_buttonreleased(GdkEventButton *event);
void main_canvas_motion(GdkEventMotion *event);
void set_zoom_factor(double factor);
void set_zoom_fit(void);
void set_zoom_width(void);
void fit_page(int w, int h);
void fit_width(int w);
void rotate(gboolean reset_fit);
void reset_fit_settings(void);
void about_box(GtkWidget* main_window);
void goto_page(void);
void toggle_fullscreen(void);
void toggle_keymode(void);
void toggle_rotation_direction(void);
void scroll_down(void);
void scroll_up(void);
void scroll_right(void);
void scroll_left(void);
void page_down(void);
void page_up(void);