1/*
2 * Author:      William Chia-Wei Cheng (bill.cheng@acm.org)
3 *
4 * Copyright (C) 2001-2009, William Chia-Wei Cheng.
5 *
6 * This file may be distributed under the terms of the Q Public License
7 * as defined by Trolltech AS of Norway and appearing in the file
8 * LICENSE.QPL included in the packaging of this file.
9 *
10 * THIS FILE IS PROVIDED AS IS WITH NO WARRANTY OF ANY KIND, INCLUDING
11 * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
12 * PURPOSE.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
13 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
14 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
15 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
16 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 *
18 * @(#)$Header: /mm2/home/cvs/bc-src/tgif/choice.e,v 1.6 2011/05/16 16:21:56 william Exp $
19 */
20
21#ifndef _CHOICE_E_
22#define _CHOICE_E_
23
24extern int	curChoice;
25extern int	cycleThroughChoice;
26
27extern int	setCurChoiceDontUpdateUI;
28
29#ifdef _INCLUDE_FROM_CHOICE_C_
30#undef extern
31#define extern
32#endif /*_INCLUDE_FROM_CHOICE_C_*/
33
34extern void	InitChoice ARGS_DECL((void));
35extern void	CleanUpChoices ARGS_DECL((void));
36
37extern void	ShowColor ARGS_DECL((int PropagateWhereToPrint));
38extern void	ShowHoriAlign ARGS_DECL((void));
39extern void	ShowVertAlign ARGS_DECL((void));
40extern void	ShowJust ARGS_DECL((void));
41extern void	ShowCurFont ARGS_DECL((void));
42extern void	ShowTextVSpace ARGS_DECL((void));
43extern void	ShowZoom ARGS_DECL((void));
44extern void	ShowTextSize ARGS_DECL((void));
45extern void	ShowRotate ARGS_DECL((void));
46extern void	ShowLineWidth ARGS_DECL((void));
47extern void	ShowLineStyle ARGS_DECL((void));
48extern void	ShowLineType ARGS_DECL((void));
49extern void	ShowDash ARGS_DECL((void));
50extern void	ShowWhereToPrint ARGS_DECL((void));
51extern void	ShowFile ARGS_DECL((void));
52extern void	ShowRCBRadius ARGS_DECL((void));
53extern void	ShowMoveMode ARGS_DECL((void));
54extern void	ShowShape ARGS_DECL((void));
55extern void	ShowStretchableTextMode ARGS_DECL((void));
56extern void	ShowFill ARGS_DECL((void));
57extern void	ShowTransPatMode ARGS_DECL((void));
58extern void	ShowPen ARGS_DECL((void));
59extern void	ShowPage ARGS_DECL((void));
60extern void	ShowPageLayout ARGS_DECL((void));
61
62extern void	ShowCurChoiceMouseStatus ARGS_DECL((int choice,
63		                                    unsigned int state,
64		                                    int cur_text_under_mouse));
65extern void	SetCurChoice ARGS_DECL((int NewChoice));
66extern void	PushCurChoice ARGS_DECL((void));
67extern void	FormatFloat ARGS_DECL((float *pfval, char *buf));
68extern void	FormatAngle ARGS_DECL((int DegreeTimes64, char *buf));
69extern int	ChoiceEventHandler ARGS_DECL((XEvent *));
70extern void	RedrawModeWindow ARGS_DECL((void));
71extern int	ModeEventHandler ARGS_DECL((XEvent *));
72
73#ifdef _INCLUDE_FROM_CHOICE_C_
74#undef extern
75#ifndef _NO_RECURSIVE_EXTERN
76#define extern extern
77#endif /* ~_NO_RECURSIVE_EXTERN */
78#endif /*_INCLUDE_FROM_CHOICE_C_*/
79
80#endif /*_CHOICE_E_*/
81