NCBI C Toolkit Cross Reference

C/ddv/ddvgraph.h


  1 /*  $Id: ddvgraph.h,v 1.14 2000/07/24 22:00:08 hurwitz Exp $
  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:  ddvgraph.h
 27 *
 28 * Author:  Patrick Durand
 29 *
 30 * Version Creation Date:   06/19/99
 31 *
 32 * $Revision: 1.14 $
 33 *
 34 * File Description: 
 35 *
 36 * Modifications:
 37 * --------------------------------------------------------------------------
 38 * $Log: ddvgraph.h,v $
 39 * Revision 1.14  2000/07/24 22:00:08  hurwitz
 40 * fixed bug that 1/2 characters were displayed sometimes
 41 *
 42 * Revision 1.13  2000/07/08 20:43:58  vakatov
 43 * Get all "#include" out of the 'extern "C" { }' scope;  other cleanup...
 44 *
 45 * Revision 1.12  2000/05/16 19:43:01  hurwitz
 46 * grey out create block, delete block, undo, and redo as needed
 47 *
 48 * Revision 1.11  2000/02/15 15:31:47  lewisg
 49 * move DDVRulerDescr to pgppop
 50 *
 51 * Revision 1.10  2000/02/03 15:56:47  hurwitz
 52 * added constructor and destructor for DDVRulerDescrPtr
 53 *
 54 * Revision 1.9  2000/01/26 13:38:54  durand
 55 * update the GUI for the editor. Add functions to create the data to be used by the editor
 56 *
 57 * Revision 1.8  1999/11/18 14:37:15  durand
 58 * avoid flashing sequence during selection
 59 *
 60 * Revision 1.7  1999/11/09 17:09:00  durand
 61 * transfer some functions from ddvgraph to ddvcreate, so that ddvcreate remains Vibrant free and can be compiled with BLAST
 62 *
 63 * Revision 1.6  1999/11/03 21:29:49  durand
 64 * add CTRL and SHFT keys for mouse selection. redesign the loader functions of DDV to properly register the message callbacks
 65 *
 66 * Revision 1.5  1999/10/29 14:15:39  durand
 67 * add simple mouse selection functions
 68 *
 69 * Revision 1.4  1999/10/20 13:17:18  durand
 70 * add display for disc. SeqAlign tails
 71 *
 72 * Revision 1.3  1999/10/15 21:57:36  durand
 73 * add a UI for display options
 74 *
 75 * Revision 1.2  1999/10/12 15:07:52  durand
 76 * resolve problems with CVS
 77 *
 78 * Revision 1.1  1999/09/30 14:10:27  durand
 79 * add ddv to toolkit
 80 *
 81 * Revision 1.7  1999/09/22 20:40:20  durand
 82 * update the drawing procedure to deal with discontinuous seqalign
 83 *
 84 * Revision 1.6  1999/09/09 21:54:24  durand
 85 * create a display for disconitnuous SeqAlign
 86 *
 87 * Revision 1.5  1999/08/04 18:01:51  wheelan
 88 * changes to support new seqalign indexing
 89 *
 90 * Revision 1.4  1999/07/27 13:11:44  durand
 91 * transfer defines to udvdef.h
 92 *
 93 * Revision 1.3  1999/07/20 14:58:01  durand
 94 * use the Color Manager to display colored MSA
 95 *
 96 * Revision 1.2  1999/06/21 20:33:28  durand
 97 * add display type
 98 *
 99 * Revision 1.1  1999/06/19 17:21:07  durand
100 * add Vibrant DDV code
101 *
102 *
103 *
104 * ==========================================================================
105 */
106 
107 #ifndef _DDVGRAPH_
108 #define _DDVGRAPH_
109 
110 #include <udviewer.h>
111 #include <udvdef.h>
112 #include <ddvmain.h>
113 #include <ddvcolor.h>
114 
115 #undef NLM_EXTERN
116 #ifdef NLM_IMPORT
117 #define NLM_EXTERN NLM_IMPORT
118 #else
119 #define NLM_EXTERN extern
120 #endif
121 
122 #ifdef __cplusplus
123 extern "C" {
124 #endif
125 
126 /******************************************************************************
127 
128         structures
129 
130 ******************************************************************************/
131 
132 /******************************************************************************
133 
134         defines
135 
136 ******************************************************************************/
137 
138 /******************************************************************************
139 
140         Exported functions
141 
142 ******************************************************************************/
143 
144 extern Int2 DDV_ComputeColWidth(Int2 cxChar);
145 extern void  DDV_DrawPanelContent (PaneL p,DdvMainPtr dmp);
146 extern void  DDV_DrawViewer (PaneL p);
147 extern void DDV_InvalRegion(PaneL hWndDDV,UnDViewerGraphDataPtr GrData,
148                 Int4 disp_from,Int4 disp_to,Int4 disp_row,Boolean IsSelect);
149 extern void DDV_GetCurrentDispRange(PaneL hWndDDV,UnDViewerGraphDataPtr GrData,
150                 Int4 LengthAli,Int4Ptr from_col,Int4Ptr to_col,Int4Ptr from_row,
151                 Int4Ptr to_row);
152 NLM_EXTERN ValNodePtr DDV_GetRulerForEditor(ValNodePtr descr_head,Int4 from_disp,
153                 Int4 to_disp);
154 extern ValNodePtr DDV_ComputeRuler(SeqAlignPtr sap,DDV_Disp_OptPtr ddop);
155 extern void     DDV_AdjustDrawingRect(RecT * rcP,UDVFontDataPtr udv_font, DdvMainPtr dmp);
156 extern void DDV_DrawPanelContent_H (PaneL p,DdvMainPtr dmp,RecT PNTR MyUpdateRect,
157                 Boolean bSelect);
158 extern void DDV_GreyOut(DdvMainWinPtr mWin_d, Boolean Start, Boolean End);
159 
160 #ifdef __cplusplus
161 }
162 #endif
163 
164 #undef NLM_EXTERN
165 #ifdef NLM_EXPORT
166 #define NLM_EXTERN NLM_EXPORT
167 #else
168 #define NLM_EXTERN
169 #endif
170 
171 #endif /* ndef _DDVGRAPH_ */
172 

source navigation ]   [ diff markup ]   [ identifier search ]   [ freetext search ]   [ file search ]  

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.