~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to routines/xsci/wf_w_setup.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * FIG : Facility for Interactive Generation of figures
 
3
 * Copyright (c) 1985 by Supoj Sutanthavibul
 
4
 *
 
5
 * "Permission to use, copy, modify, distribute, and sell this software and its
 
6
 * documentation for any purpose is hereby granted without fee, provided that
 
7
 * the above copyright notice appear in all copies and that both the copyright
 
8
 * notice and this permission notice appear in supporting documentation. 
 
9
 * No representations are made about the suitability of this software for 
 
10
 * any purpose.  It is provided "as is" without express or implied warranty."
 
11
 */
 
12
 
 
13
#define         PIX_PER_INCH            80
 
14
#define         PIX_PER_CM              30      /* ((int)(PIX_PER_INCH / 2.54
 
15
                                                 * + (5.0/2))) */
 
16
 
 
17
/* Portrait dimensions */
 
18
#define         DEF_CANVAS_HT_PORT      9*PIX_PER_INCH
 
19
#define         DEF_CANVAS_WD_PORT      8*PIX_PER_INCH
 
20
 
 
21
/* Landscape dimensions */
 
22
#define         DEF_CANVAS_HT_LAND      8*PIX_PER_INCH
 
23
#define         DEF_CANVAS_WD_LAND      10*PIX_PER_INCH
 
24
 
 
25
#define         RULER_WD                24
 
26
#ifndef MAX_TOPRULER_WD
 
27
#define         MAX_TOPRULER_WD         1020
 
28
#endif
 
29
#ifndef MAX_SIDERULER_HT
 
30
#define         MAX_SIDERULER_HT        860
 
31
#endif
 
32
#define         MIN_MOUSEFUN_WD         240
 
33
 
 
34
#define         MAXDEPTH                999
 
35
 
 
36
#define         SW_PER_ROW_PORT 2       /* switches/row in mode panel */
 
37
#define         SW_PER_ROW_LAND 2       /* same for landscape mode */
 
38
#define         SW_PER_COL_PORT 17
 
39
#define         SW_PER_COL_LAND 17
 
40
 
 
41
#define         MODE_SW_HT      32      /* height of a mode switch icon */
 
42
#define         MODE_SW_WD      36      /* width of a mode switch icon */
 
43
 
 
44
#define         DEF_INTERNAL_BW         1
 
45
#define         POPUP_BW                2
 
46
 
 
47
extern int      CMDPANEL_WD;
 
48
extern int      MODEPANEL_WD;
 
49
extern int      MODEPANEL_SPACE;
 
50
extern int      MSGFORM_WD;
 
51
extern int      MSGPANEL_WD;
 
52
extern int      MOUSEFUN_WD;
 
53
extern int      INDPANEL_WD;
 
54
extern int      CANVAS_WD, CANVAS_HT;
 
55
extern int      INTERNAL_BW;
 
56
extern int      TOPRULER_WD, TOPRULER_HT;
 
57
extern int      SIDERULER_WD, SIDERULER_HT;
 
58
extern int      SW_PER_ROW, SW_PER_COL;