~ubuntu-branches/ubuntu/intrepid/tcm/intrepid

« back to all changes in this revision

Viewing changes to src/ui/liteclue.h

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2003-07-03 20:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20030703200821-se4xtqx25e5miczi
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* 
 
2
LiteClue.h - Public definitions for LiteClue widget
 
3
        See LiteClue documentation
 
4
 
 
5
Copyright 1996 COMPUTER GENERATION, INC.,
 
6
 
 
7
The software is provided "as is", without warranty of any kind, express
 
8
or implied, including but not limited to the warranties of
 
9
merchantability, fitness for a particular purpose and noninfringement.
 
10
In no event shall Computer Generation, inc. nor the author be liable for
 
11
any claim, damages or other liability, whether in an action of contract,
 
12
tort or otherwise, arising from, out of or in connection with the
 
13
software or the use or other dealings in the software.
 
14
 
 
15
Permission to use, copy, modify, and distribute this software and its
 
16
documentation for any purpose and without fee is hereby granted,
 
17
provided that the above copyright notice appear in all copies and that
 
18
both that copyright notice and this permission notice appear in
 
19
supporting documentation.
 
20
 
 
21
Author:
 
22
Gary Aviv 
 
23
Computer Generation, Inc.,
 
24
gary@compgen.com
 
25
*/
 
26
/* Revision History:
 
27
$Log: liteclue.h,v $
 
28
Revision 1.1.1.1  2001/10/06 21:11:02  tcm
 
29
tcm-2.0 import
 
30
 
 
31
Revision 1.5  1998/09/07 14:06:24  gary
 
32
Added const to prototype of XcgLiteClueAddWidget at request from user
 
33
 
 
34
Revision 1.4  1997/06/15 14:07:56  gary
 
35
Added XcgLiteClueDispatchEvent
 
36
 
 
37
Revision 1.3  1997/04/14 13:03:25  gary
 
38
Added XgcNwaitperiod XgcNcancelWaitPeriod and c++ wrappers
 
39
 
 
40
Revision 1.2  1996/10/20 13:39:25  gary
 
41
Version 1.2 freeze
 
42
 
 
43
Revision 1.1  1996/10/19 16:08:04  gary
 
44
Initial
 
45
 
 
46
 
 
47
$log
 
48
Added const to prototype of XcgLiteClueAddWidget at request from user
 
49
$log
 
50
*/
 
51
 
 
52
#ifndef _DEF_LiteClue_h
 
53
#define _DEF_LiteClue_h
 
54
#include <X11/StringDefs.h>
 
55
 
 
56
/*
 
57
 * New resource names
 
58
 */
 
59
 
 
60
#define XgcNcancelWaitPeriod     "cancelWaitPeriod"
 
61
#define XgcNwaitPeriod   "waitPeriod"
 
62
/*
 
63
 * New resource classes
 
64
 */
 
65
#define XgcCCancelWaitPeriod    "cancelWaitPeriod"
 
66
#define XgcCWaitPeriod  "WaitPeriod"
 
67
 
 
68
#if defined(__cplusplus) || defined(c_plusplus)
 
69
extern "C" { 
 
70
#endif
 
71
 
 
72
extern WidgetClass xcgLiteClueWidgetClass; 
 
73
typedef struct _LiteClueClassRec *XcgLiteClueWidgetClass;
 
74
typedef struct _LiteClueRec      *XcgLiteClueWidget;
 
75
void XcgLiteClueAddWidget(Widget w, Widget watch, const char * text, int size, int option );
 
76
void XcgLiteClueDeleteWidget(Widget w, Widget watch);
 
77
void XcgLiteClueSetSensitive(Widget w, Widget watch, Boolean sensitive);
 
78
Boolean XcgLiteClueGetSensitive(Widget w, Widget watch);
 
79
Boolean XcgLiteClueDispatchEvent(Widget w, XEvent  *event);
 
80
 
 
81
#if defined(__cplusplus) || defined(c_plusplus)
 
82
}
 
83
#endif
 
84
 
 
85
#endif