~ubuntu-branches/ubuntu/precise/pcb/precise

« back to all changes in this revision

Viewing changes to src/misc.h

  • Committer: Bazaar Package Importer
  • Author(s): Hamish Moffatt
  • Date: 2005-02-20 13:14:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050220131400-pfz66g5vhx0azl8f
Tags: 1.99j+20050127-2
* Improved package description: (closes: #295405)
* Fixed dependency: tk84 -> tk8.4 (closes: #295404)
* Updated README.debian (closes: #269578)
* Applied patch to src/djopt.c to allow compilation with gcc-4.0
  (closes: #294319), thanks to Andreas Jochens for the patch.
* Prevent example files from being compressed

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 *  Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
23
23
 *  Thomas.Nau@rz.uni-ulm.de
24
24
 *
25
 
 *  RCS: $Id: misc.h,v 1.2 1998/02/21 10:27:14 cad Exp $
 
25
 *  RCS: $Id: misc.h,v 1.9 2005/01/03 12:56:59 danmc Exp $
26
26
 */
27
27
 
28
28
/* prototypes for misc routines
37
37
 
38
38
void            Copyright(void);
39
39
void            Usage(void);
 
40
void            SetLineBoundingBox(LineTypePtr);
 
41
void            SetArcBoundingBox(ArcTypePtr);
 
42
void            SetPointBoundingBox(PointTypePtr);
 
43
void            SetPinBoundingBox(PinTypePtr);
 
44
void            SetPadBoundingBox(PadTypePtr);
40
45
void            SetPolygonBoundingBox(PolygonTypePtr);
41
 
void            SetElementBoundingBox(ElementTypePtr, FontTypePtr);
 
46
void            SetElementBoundingBox(DataTypePtr, ElementTypePtr, FontTypePtr);
42
47
Boolean         IsDataEmpty(DataTypePtr);
43
48
BoxTypePtr      GetDataBoundingBox(DataTypePtr);
44
 
void            CenterDisplay(Position, Position, Boolean);
 
49
void            CenterDisplay(LocationType, LocationType, Boolean);
45
50
void            SetFontInfo(FontTypePtr);
46
51
void            UpdateSettingsOnScreen(void);
47
52
int             ParseGroupString(char *, LayerGroupTypePtr);
48
 
int             ParseRouteString(char *, RouteStyleTypePtr);
 
53
int             ParseRouteString(char *, RouteStyleTypePtr, int);
49
54
void            QuitApplication(void);
50
55
char            *EvaluateFilename(char *, char *, char *, char *);
51
56
char            *ExpandFilename(char *, char *);
52
57
void            SetTextBoundingBox(FontTypePtr, TextTypePtr);
53
 
Boolean         GetPosition(char *);
54
58
void            ReleaseOffscreenPixmap(void);
55
59
void            SaveOutputWindow(void);
56
 
unsigned int    SetOutputXCursor(unsigned int);
57
60
int             GetLayerNumber(DataTypePtr, LayerTypePtr);
58
61
int             GetLayerGroupNumberByPointer(LayerTypePtr);
59
62
int             GetLayerGroupNumberByNumber(Cardinal);
60
63
BoxTypePtr      GetObjectBoundingBox(int, void *, void *, void *);
61
64
void            ResetStackAndVisibility(void);
62
 
char            *GetWorkingDirectory(void);
 
65
void            SaveStackAndVisibility(void);
 
66
void            RestoreStackAndVisibility(void);
 
67
char            *GetWorkingDirectory(char *);
63
68
void            CreateQuotedString(DynamicStringTypePtr, char *);
64
69
int             GetGridFactor(void);
65
 
void            SetArcBoundingBox(ArcTypePtr);
66
70
BoxTypePtr      GetArcEnds(ArcTypePtr);
67
71
char            *UniqueElementName(DataTypePtr, char *);
68
 
void            AttachForCopy(Position, Position);
69
 
Boolean         ShiftPressed(void);
70
 
#define         rotateIcon_x_hot 8
71
 
#define         rotateIcon_y_hot 8
 
72
void            AttachForCopy(LocationType, LocationType);
 
73
float           GetValue(String *, Boolean *, Cardinal);
 
74
int             FileExists(const char *);
 
75
char *          Concat (const char *, ...); /* end with NULL */
72
76
 
73
77
#endif