1 /*   fstylep.h
2 * ===========================================================================
3 *
4 *                            PUBLIC DOMAIN NOTICE
5 *            National Center for Biotechnology Information (NCBI)
6 *
7 *  This software/database is a "United States Government Work" under the
8 *  terms of the United States Copyright Act.  It was written as part of
9 *  the author's official duties as a United States Government employee and
10 *  thus cannot be copyrighted.  This software/database is freely available
11 *  to the public for use. The National Library of Medicine and the U.S.
12 *  Government do not place any restriction on its use or reproduction.
13 *  We would, however, appreciate having the NCBI and the author cited in
14 *  any work or product based on this material
15 *
16 *  Although all reasonable efforts have been taken to ensure the accuracy
17 *  and reliability of the software and data, the NLM and the U.S.
18 *  Government do not and cannot warrant the performance or results that
19 *  may be obtained by using this software or data. The NLM and the U.S.
20 *  Government disclaim all warranties, express or implied, including
21 *  warranties of performance, merchantability or fitness for any particular
22 *  purpose.
23 *
24 * ===========================================================================
25 *
26 * File Name:  fstylep.h
27 *
28 * Author:  Alex Smirnov
29 *
30 * Version Creation Date:   9/23/94
31 *
32 * $Revision: 6.0 $
33 *
34 * File Description:
35 *
36 * Modifications:
37 * --------------------------------------------------------------------------
38 * Date     Name        Description of modification
39 * -------  ----------  -----------------------------------------------------
40 *
41 * ==========================================================================
42 */
43 
44 #ifndef _FSTYLEP_
45 #define _FSTYLEP_
46 
47 /**************************************************************************/
48 /* INCLUDE */
49 /**************************************************************************/
50 
51 /**************************************************************************/
52 /* DEFINES */
53 /**************************************************************************/
54 #define MSM_TOTAL_POSITIVE   89
55 #define MSM_TOTAL_NOTPOS     8
56 #define MSM_TOTAL_CLASSES    (MSM_TOTAL_POSITIVE+MSM_TOTAL_NOTPOS)
57 #define MSM_TOTAL_POSITIVE_R (MSM_TOTAL_POSITIVE+1)
58 #define MSM_TOTAL_CLASSES_R  (MSM_TOTAL_POSITIVE_R+MSM_TOTAL_NOTPOS)
59 #define MSM_SUBCLASSES_NUM   7
60 #define SM_TOOLS_TOTAL       4
61 #define SM_TOOLS_COLOR       0
62 #define SM_TOOLS_SHADDING    1
63 #define SM_TOOLS_LTYPE       2
64 #define SM_TOOLS_FONT        3
65 
66 #define SM_SHTOOLS_COLOR     0x1
67 #define SM_SHTOOLS_SHADDING  0x2
68 #define SM_SHTOOLS_LTYPE     0x4
69 #define SM_SHTOOLS_FONT      0x8
70 
71 /**************************************************************************/
72 /* TYPEDEFS */
73 /**************************************************************************/
74 typedef void (*Nlm_SmToolsProc) (Int2 tool);
75 
76 /**************************************************************************/
77 /* FUNCTION PROTOTYPES */
78 /**************************************************************************/
79 extern Boolean   Nlm_MuskStyleDialog     (CharPtr styleName);
80 extern void      Nlm_SetMuskManagetTitle ( Boolean resetTitle );
81 
82 extern void      Nlm_EnableSM         ( void );
83 extern void      Nlm_DisableSM        ( void );
84 
85 extern GrouP     Nlm_CtreateToolsSM     ( WindoW w );
86 extern void      Nlm_SetToolsCallbackSM ( Nlm_SmToolsProc proc );
87 extern void      Nlm_SetToolDefaultSM   ( Int2 tool, BigScalar val );
88 extern BigScalar Nlm_GetToolValueSM     ( Int2 tool );
89 extern void      Nlm_ShowToolsSM        ( Int2 tools );
90 
91 extern GrouP   Nlm_CreateDlgCommon    ( GrouP g );
92 extern void    Nlm_ToolDlgCommon      ( Int2 tool );
93 extern void    Nlm_SetTDefCommon      ( void );
94 extern GrouP   Nlm_CreateDlgGroup     ( GrouP g );
95 extern void    Nlm_ToolDlgGroup       ( Int2 tool );
96 extern void    Nlm_SetTDefGroup       ( void );
97 extern GrouP   Nlm_CreateDlgFeatures  ( GrouP g );
98 extern void    Nlm_ToolDlgFeatures    ( Int2 tool );
99 extern void    Nlm_SetTDefFeatures    ( void );
100 extern GrouP   Nlm_CreateDlgExtra     ( GrouP g );
101 extern void    Nlm_ToolDlgExtra       ( Int2 tool );
102 extern void    Nlm_SetTDefExtra       ( void );
103 extern GrouP   Nlm_CreateDlgSeq       ( GrouP g );
104 extern void    Nlm_ToolDlgSeq         ( Int2 tool );
105 extern void    Nlm_SetTDefSeq         ( void );
106 extern GrouP   Nlm_CreateDlgCColor    ( GrouP g );
107 extern void    Nlm_ToolDlgCColor      ( Int2 tool );
108 extern void    Nlm_SetTDefCColor      ( void );
109 extern Boolean Msk_OrderWasModified ( void );
110 
111 #endif /* _FSTYLEP_ */
112 
113 /*END*/
114