File: ComboBoP.h

package info (click to toggle)
bibview 2.2-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,252 kB
  • ctags: 1,588
  • sloc: ansic: 15,149; yacc: 1,145; makefile: 297; lex: 221; sh: 17
file content (78 lines) | stat: -rw-r--r-- 2,925 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*********************************************************************/
/*  bibView: Administration of BibTeX-Databases                      */
/*           (Verwaltung von BibTeX-Literaturdatenbanken)            */
/*                                                                   */
/*  Module:  ComboBoP.h                                              */
/*                                                                   */
/*             - Combo Box Widget                                    */
/*               Text widget with selection list                     */
/*                                                                   */
/*  Author:  Holger Martin,  martinh@informatik.tu-muenchen.de       */
/*           Peter M. Urban, urban@informatik.tu-muenchen.de         */
/*                                                                   */
/*  History:                                                         */
/*    11.22.91  HM   created                                         */
/*                                                                   */
/*  Copyright 1991 Martin, Urban                                     */
/*    See ./Copyright for complete rights and liability information. */
/*                                                                   */
/*********************************************************************/


#ifndef ComboBoxP_h
#define ComboBoxP_h

#include "ComboBo.h"

#define XtCSelectMenu "SelectMenu"
#define XtCShowDotFiles "ShowDotFiles"
#define XtCBellLevel "BellLevel"
#define XtCName "Name"           /* NEU: Label fuer Eingabefeld */
#define XtCRcList "RcList"       /* NEU: LISTE */


typedef struct {
    /* resources */
    XtCallbackList      select_callback;
    String              select_menu;
    XtCallbackList      cancel_callback;
    Dimension           margin;
    int                 number_rows;
    Boolean             show_dot_files;
    int                 bell_level;
    String              name;        /* NEU */
    RcListNode          *rclist;     /* NEU */
 
    /* private data */
    Widget              viewport_widget;
    Widget              list_widget;
    Widget		filename_widget;
    Widget              select_widget;
    Widget              path_widget;
    Widget		cancel_widget;	
    Widget              name_widget;    /* NEU */
    Widget              shell_widget;
    String              *listList;
    char                currentDir[MAXPATHLEN];
    Boolean             watchingChanges;
    ComboBoxStruct nomination;
} ComboBoxPart;

typedef struct _ComboBoxRec {
    CorePart		core;
    ComboBoxPart	comboBox;
} ComboBoxRec;

typedef struct {
    XtPointer		extension;
} ComboBoxClassPart;

typedef struct _ComboBoxClassRec {
    CoreClassPart	        core_class;
    ComboBoxClassPart	comboBox_class;
} ComboBoxClassRec, *ComboBoxClass;

extern ComboBoxClassRec comboBoxClassRec;

#endif /* ComboBoxP_h */