Back to index

tetex-bin  3.0
xm_toolbar.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2001 Marcin Dalecki
00003  * Copyright (c) 2002-2004 the xdvik development team
00004  *
00005  * Permission is hereby granted, free of charge, to any person obtaining a copy
00006  * of this software and associated documentation files (the "Software"), to
00007  * deal in the Software without restriction, including without limitation the
00008  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
00009  * sell copies of the Software, and to permit persons to whom the Software is
00010  * furnished to do so, subject to the following conditions:
00011  *
00012  * The above copyright notice and this permission notice shall be included in
00013  * all copies or substantial portions of the Software.
00014  *
00015  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00016  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00017  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
00018  * PAUL VOJTA OR ANY OTHER AUTHOR OF THIS SOFTWARE BE LIABLE FOR ANY CLAIM,
00019  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
00020  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
00021  * OTHER DEALINGS IN THE SOFTWARE.
00022 
00023  */
00024 
00025 #ifndef XM_TOOLBAR_H_
00026 #define XM_TOOLBAR_H_
00027 
00028 #ifdef MOTIF
00029 
00030 extern Widget create_toolbar(Widget parent, Widget menu_bar);
00031 
00032 extern Boolean toolbar_visible, scrollbars_visible, pagelist_visible;
00033 extern void create_tips(Widget parent);
00034 
00035 #if HAVE_XPM
00036 extern void tb_check_navigation_sensitivity(int pageno);
00037 extern void tb_check_navigation_sensitivity(int pageno);
00038 extern void tb_set_htex_forward_sensitivity(Boolean sensitive);
00039 extern void tb_set_htex_back_sensitivity(Boolean sensitive);
00040 extern void tb_set_pagehist_forward_sensitivity(Boolean sensitive);
00041 extern void tb_set_pagehist_back_sensitivity(Boolean sensitive);
00042 extern void tb_set_zoom_sensitivity(Boolean sensitive);
00043 #endif /* HAVE_XPM */
00044 
00045 extern void toggle_toolbar(void);
00046 extern void toggle_scrollbars(void);
00047 
00048 #endif /* MOTIF */
00049 
00050 #endif /* XM_TOOLBAR_H_ */