~ubuntu-branches/ubuntu/raring/vice/raring

« back to all changes in this revision

Viewing changes to src/arch/unix/x11/xaw/widgets/MultiList.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090331003715-mzclchtl0dp7fcl0
Tags: upstream-2.1.dfsg
ImportĀ upstreamĀ versionĀ 2.1.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
#include <X11/IntrinsicP.h>
62
62
#include <X11/StringDefs.h>
 
63
#include <X11/Xmu/Drawing.h>
63
64
 
64
65
#include "lib.h"
65
66
 
72
73
 
73
74
 *===========================================================================*/
74
75
 
75
 
Pixmap XmuCreateStippledPixmap();
76
 
extern void XawInitializeWidgetSet();
77
 
 
78
76
#define SUPERCLASS      &(simpleClassRec)
79
77
 
80
78
#define FontAscent(f)   ((f)->max_bounds.ascent)
87
85
#define abs(a)                  ((a) < 0 ? -(a) : (a))
88
86
#endif
89
87
 
 
88
#ifndef max
90
89
#define max(a,b)                ((a) > (b) ? (a) : (b))
 
90
#endif
 
91
 
 
92
#ifndef min
91
93
#define min(a,b)                ((a) < (b) ? (a) : (b))
 
94
#endif
 
95
 
92
96
#define XtStrlen(s)             ((s) ? strlen(s) : 0)
93
97
 
94
98
#define TypeAlloc(t,n)          (t *)lib_malloc(sizeof(t) * n)