Debian Codegraph @

texk/xdvik/gui/xm_toolbar.h

raw
1 /*
2 * Copyright (c) 2001 Marcin Dalecki
3 * Copyright (c) 2002-2004 the xdvik development team
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 * of this software and associated documentation files (the "Software"), to
7 * deal in the Software without restriction, including without limitation the
8 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 * sell copies of the Software, and to permit persons to whom the Software is
10 * furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * PAUL VOJTA OR ANY OTHER AUTHOR OF THIS SOFTWARE BE LIABLE FOR ANY CLAIM,
19 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21 * OTHER DEALINGS IN THE SOFTWARE.
22
23 */
24
25 #ifndef XM_TOOLBAR_H_
26 #define XM_TOOLBAR_H_
27
28 #ifdef MOTIF
29
30 extern Widget create_toolbar(Widget parent, Widget menu_bar);
31
32 extern Boolean toolbar_visible, scrollbars_visible, pagelist_visible;
33 extern void create_tips(Widget parent);
34
35 #if HAVE_XPM
36 extern void tb_check_navigation_sensitivity(int pageno);
37 extern void tb_check_navigation_sensitivity(int pageno);
38 extern void tb_set_htex_forward_sensitivity(Boolean sensitive);
39 extern void tb_set_htex_back_sensitivity(Boolean sensitive);
40 extern void tb_set_pagehist_forward_sensitivity(Boolean sensitive);
41 extern void tb_set_pagehist_back_sensitivity(Boolean sensitive);
42 extern void tb_set_zoom_sensitivity(Boolean sensitive);
43 #endif /* HAVE_XPM */
44
45 extern void toggle_toolbar(void);
46 extern void toggle_scrollbars(void);
47
48 #endif /* MOTIF */
49
50 #endif /* XM_TOOLBAR_H_ */