~ubuntu-branches/ubuntu/vivid/ncbi-tools6/vivid

« back to all changes in this revision

Viewing changes to desktop/dlogutil.h

  • Committer: Package Import Robot
  • Author(s): Aaron M. Ucko, Andreas Tille
  • Date: 2012-06-24 22:54:29 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20120624225429-y81u0gzrppi3fhyf
Tags: 6.1.20120620-2
[ Andreas Tille ]
debian/upstream: Strings containing ': ' need to be quoted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*
30
30
* Version Creation Date:   1/22/95
31
31
*
32
 
* $Revision: 6.115 $
 
32
* $Revision: 6.119 $
33
33
*
34
34
* File Description: 
35
35
*
72
72
extern void FreePrintOptions (void);
73
73
 
74
74
extern EnumFieldAssoc  months_alist [];
 
75
extern EnumFieldAssoc  new_pseudogene_alist [];
75
76
 
76
77
extern void DatePtrToVibrant (DatePtr dp, PopuP dateMonth, TexT dateDay, TexT dateYear);
77
78
extern DatePtr VibrantToDatePtr (PopuP dateMonth, TexT dateDay, TexT dateYear);
83
84
  DialoG          data;
84
85
 
85
86
 
86
 
#define FEATURE_FORM_BLOCK          \
87
 
  DESCRIPTOR_FORM_BLOCK             \
88
 
  DialoG          commonRadio;      \
89
 
  GrouP           commonSubGrp [8]; \
90
 
  Int2            commonPage;       \
91
 
  ButtoN          partial;          \
92
 
  ButtoN          exception;        \
93
 
  ButtoN          pseudo;           \
94
 
  DialoG          experiment;       \
95
 
  DialoG          inference;        \
96
 
  TexT            comment;          \
97
 
  TexT            title;            \
98
 
  TexT            exceptText;       \
99
 
  PopuP           evidence;         \
100
 
  Handle          gene;             \
101
 
  PopuP           genePopup;        \
102
 
  LisT            geneList;         \
103
 
  ValNodePtr      geneNames;        \
104
 
  GrouP           useGeneXref;      \
105
 
  GrouP           newGeneGrp;       \
106
 
  TexT            geneSymbol;       \
107
 
  TexT            geneAllele;       \
108
 
  TexT            geneDesc;         \
109
 
  TexT            locusTag;         \
110
 
  TexT            geneSynonym;      \
111
 
  ButtoN          editGeneBtn;      \
112
 
  TexT            protXrefName;     \
113
 
  TexT            protXrefDesc;     \
114
 
  DialoG          location;         \
115
 
  DialoG          product;          \
116
 
  DialoG          featcits;         \
117
 
  DialoG          dbxrefs;          \
118
 
  DialoG          gbquals;          \
119
 
  DialoG          usrobjext;        \
120
 
  TexT            featid;           \
121
 
  TexT            fidxref;          \
122
 
  ButtoN          leave_dlg_up;     \
123
 
  UserObjectPtr   goTermUserObj;    \
124
 
  Int2            badInfAttempts;   \
125
 
  Boolean         acceptBadInf;
 
87
#define FEATURE_FORM_BLOCK            \
 
88
  DESCRIPTOR_FORM_BLOCK               \
 
89
  DialoG            commonRadio;      \
 
90
  GrouP             commonSubGrp [8]; \
 
91
  Int2              commonPage;       \
 
92
  ButtoN            partial;          \
 
93
  ButtoN            exception;        \
 
94
  ButtoN            pseudo;           \
 
95
  PopuP             pseudogene;       \
 
96
  EnumFieldAssocPtr pseudoalist;      \
 
97
  DialoG            experiment;       \
 
98
  DialoG            inference;        \
 
99
  TexT              comment;          \
 
100
  TexT              title;            \
 
101
  TexT              exceptText;       \
 
102
  PopuP             evidence;         \
 
103
  Handle            gene;             \
 
104
  PopuP             genePopup;        \
 
105
  LisT              geneList;         \
 
106
  ValNodePtr        geneNames;        \
 
107
  GrouP             useGeneXref;      \
 
108
  GrouP             newGeneGrp;       \
 
109
  TexT              geneSymbol;       \
 
110
  TexT              geneAllele;       \
 
111
  TexT              geneDesc;         \
 
112
  TexT              locusTag;         \
 
113
  TexT              geneSynonym;      \
 
114
  ButtoN            editGeneBtn;      \
 
115
  TexT              protXrefName;     \
 
116
  TexT              protXrefDesc;     \
 
117
  DialoG            location;         \
 
118
  DialoG            product;          \
 
119
  DialoG            featcits;         \
 
120
  DialoG            dbxrefs;          \
 
121
  DialoG            gbquals;          \
 
122
  DialoG            usrobjext;        \
 
123
  TexT              featid;           \
 
124
  TexT              fidxref;          \
 
125
  ButtoN            leave_dlg_up;     \
 
126
  UserObjectPtr     goTermUserObj;    \
 
127
  Int2              badInfAttempts;   \
 
128
  Boolean           acceptBadInf;
126
129
 
127
130
typedef struct descform {
128
131
  DESCRIPTOR_FORM_BLOCK
164
167
 
165
168
extern Boolean TestInference (FeatureFormPtr ffp, CharPtr badInfQual, size_t len, CharPtr badInfMssg);
166
169
 
 
170
extern void InitPseudogenePopup (FeatureFormPtr ffp, PopuP p, Boolean ispseudo, CharPtr pseudogene, Boolean indexerVersion);
 
171
 
167
172
/*****************************************************************************
168
173
*
169
174
*   Various specific spreadsheet or editor dialogs.
384
389
                                  Pointer dbl_click_data,
385
390
                                  TableDisplayLeftInRed,
386
391
                                  Pointer left_in_red_data);
 
392
extern DialoG EditableTableDisplayDialog (GrouP parent, Int4 width, Int4 height,
 
393
                                  Int4 frozen_header, Int4 frozen_left,
 
394
                                  TableDisplayDblClick dbl_click,
 
395
                                  Pointer dbl_click_data,
 
396
                                  TableDisplayLeftInRed left_in_red,
 
397
                                  Pointer left_in_red_data);
387
398
extern ValNodePtr FreeTableDisplayRowList (ValNodePtr row_list);
388
399
extern void PrintTableDisplayRowListToFile (ValNodePtr row_list, FILE *fp);
389
400
extern ValNodePtr CopyTableDisplayRowList (ValNodePtr row_list);
586
597
 Boolean         show_find,
587
598
 Boolean         display_chosen);
588
599
 
 
600
extern DialoG 
 
601
CreateClickableListDialogExExEx 
 
602
(GrouP h, 
 
603
 CharPtr label1, 
 
604
 CharPtr label2,
 
605
 CharPtr help1,
 
606
 CharPtr help2,
 
607
 ClickableCallback item_single_click_callback,
 
608
 ClickableCallback item_double_click_callback,
 
609
 Pointer         item_click_callback_data,
 
610
 GetClickableItemText get_item_text,
 
611
 Int4            num_item_text_columns,
 
612
 Int4            left_width,
 
613
 Int4            right_width,
 
614
 Boolean         horizontal,
 
615
 Boolean         show_find,
 
616
 Boolean         display_chosen);
 
617
 
589
618
extern void SetClickableListDialogTitles (DialoG d, CharPtr title1, CharPtr title2, CharPtr help1, CharPtr help2);
590
619
extern void SetClickableListDisplayChosen (DialoG d, Boolean set);
591
620