📄 _std_medium.idlg
字号:
/*
_std_medium.idlg
VERSION 1.0.0 21dec2002
This file defines standard dialog lengths and their meaning.
x
|
y -+--------------------------+---
| | ^
| | |
| | |
| | |
| | ht
| | |
| | |
| | |
| | v
+--------------------------+---
|<--------- wd ----------->|
Shorthand:
x - horizontal position
y - vertical position
lft - left
wd - width
ht - height
vn - variable name
vl - variable list
*/
/* should be replaced by:
_small, _medium, _large, ... */
INCLUDE _medium
/* DEFINE only **************************************************************/
/* left margin */
DEFINE _lft 10
/* top margin */
DEFINE _top 10
/* standard vertical [s]kips: [v]ery [s]mall, [s]mall, [m]edium, [l]arge, ... */
DEFINE _vss +15
DEFINE _ss +20
DEFINE _ms +25
DEFINE _ls +30
DEFINE _xls +40
DEFINE _xxls +50
DEFINE _xxxls +60
DEFINE _xxxxls +70
DEFINE _xxxxxls +80
DEFINE _xxxxxxls +90
/* column sep */
DEFINE _csep +20
/* half column sep */
DEFINE _hcsep +10
/* short seps */
DEFINE _hssep +3
DEFINE _ssep +5
DEFINE _bssep +7
/* EQUATION and DEFINE ******************************************************/
/* 1.5 of _top */
DEFINE _topph 15
/* left margin inside maximal box */
DEFINE _ilft 20
/* horizontal indent */
DEFINE _indent +10
/* horizontal double indent */
DEFINE _indent2 +20
/* horizontal quadruple indent */
DEFINE _indent4 +40
/* negative horizontal indent */
DEFINE _nindent -10
/* negative horizontal double indent */
DEFINE _nindent2 -20
/* negative horizontal quad indent */
DEFINE _nindent4 -40
/* relative inside width */
DEFINE _inwd -20
/* inside width of dialog */
DEFINE _iwd 390
/* inside width of maximal box */
DEFINE _ibwd 370
/* x pos to place a second 50-50 column */
DEFINE _lft2 215
DEFINE _ilft2 225
DEFINE _iilft2 235
/* inside widths of 50-50 columns */
DEFINE _cwd0 205
DEFINE _cwd1 185
DEFINE _cwd2 175
DEFINE _cwd3 165
DEFINE _cwd4 155
DEFINE _cwd5 145
DEFINE _cwd6 135
/* width and column positions for drawing lines for tables with 3 columns */
DEFINE _cwd3_0 130
/* x pos to place the second of 3 equal columns */
DEFINE _lft3_02 140
/* x pos to place the third of 3 equal columns */
DEFINE _lft3_03 270
/* widths of each column */
DEFINE _cwd3_01 131
DEFINE _cwd3_02 131
DEFINE _cwd3_03 130
/* x pos to place the second of 3 equal columns */
DEFINE _lft3_2 146
/* x pos to place the third of 3 equal columns */
DEFINE _lft3_3 283
/* x pos to place the second of 3 equal columns inside maximal box */
DEFINE _ilft3_2 150
/* x pos to place the third of 3 equal columns inside maximal box */
DEFINE _ilft3_3 280
/* x pos to place the second of 3 equal columns inside contained maximal box */
DEFINE _iilft3_2 153
/* x pos to place the third of 3 equal columns inside contained maximal box */
DEFINE _iilft3_3 276
/* inside widths of 3 equal columns */
DEFINE _cwd3_1 116
DEFINE _cwd3_2 110
DEFINE _cwd3_3 103
DEFINE _cwd3_4 96
DEFINE _cwd3_5 90
DEFINE _cwd3_6 83
/* inside width of 2 combined columns */
DEFINE _comb3_1 252
DEFINE _comb3_2 240
DEFINE _comb3_3 232
DEFINE _comb3_4 220
/* width and column positions for drawing lines for tables with 4 columns */
DEFINE _cwd4_0 97
/* x pos to place the second of 4 equal columns */
DEFINE _lft4_02 107
/* x pos to place the third of 4 equal columns */
DEFINE _lft4_03 204
/* x pos to place the fourth of 4 equal columns */
DEFINE _lft4_04 301
/* widths of each column */
DEFINE _cwd4_01 98
DEFINE _cwd4_02 98
DEFINE _cwd4_03 98
DEFINE _cwd4_03 97
/* x pos to place the second of 4 equal columns */
DEFINE _lft4_2 112
/* x pos to place the third of 4 equal columns */
DEFINE _lft4_3 215
/* x pos to place the fourth of 4 equal columns */
DEFINE _lft4_4 317
/* x pos to place the second of 4 equal columns inside maximal box */
DEFINE _ilft4_2 117
/* x pos to place the third of 4 equal columns inside maximal box */
DEFINE _ilft4_3 215
/* x pos to place the fourth of 4 equal columns inside maximal box */
DEFINE _ilft4_4 312
/* x pos to place the second of 4 equal columns inside contained maximal box */
DEFINE _iilft4_2 122
/* x pos to place the third of 4 equal columns inside contained maximal box */
DEFINE _iilft4_3 215
/* x pos to place the fourth of 4 equal columns inside contained maximal box */
DEFINE _iilft4_4 307
/* inside widths of 4 equal columns */
DEFINE _cwd4_1 82
DEFINE _cwd4_2 77
DEFINE _cwd4_3 72
DEFINE _cwd4_4 67
DEFINE _cwd4_5 62
DEFINE _cwd4_6 57
/* inside width of 2 combined columns */
DEFINE _comb4_1 286
DEFINE _comb4_2 271
DEFINE _comb4_3 266
DEFINE _comb4_4 251
/* x pos to place the second of 5 equal columns inside maximal box */
DEFINE _ilft5_2 98
/* x pos to place the third of 5 equal columns inside maximal box */
DEFINE _ilft5_3 176
/* x pos to place the fourth of 5 equal columns inside maximal box */
DEFINE _ilft5_4 254
/* x pos to place the fifth of 5 equal columns inside maximal box */
DEFINE _ilft5_5 332
/* inside widths of 5 equal columns */
DEFINE _cwd5_1 62
DEFINE _cwd5_2 58
DEFINE _cwd5_3 54
DEFINE _cwd5_4 50
DEFINE _cwd5_5 46
DEFINE _cwd5_6 42
/* predefined box heights */
DEFINE _ht0 20
DEFINE _ht1 40
DEFINE _ht2 50
DEFINE _ht3 60
DEFINE _ht4 70
DEFINE _ht5 80
DEFINE _ht6 90
DEFINE _ht7 100
DEFINE _ht8 110
DEFINE _ht9 120
DEFINE _ht10 130
DEFINE _ht11 140
DEFINE _ht12 150
DEFINE _ht13 160
DEFINE _ht14 170
DEFINE _ht15 180
DEFINE _ht16 190
DEFINE _ht17 200
DEFINE _ht18 210
DEFINE _ht19 220
DEFINE _ht20 230
DEFINE _ht21 240
DEFINE _ht22 250
DEFINE _ht23 260
DEFINE _ht24 270
DEFINE _ht25 280
DEFINE _ht26 290
DEFINE _ht27 300
DEFINE _ht28 310
DEFINE _ht29 320
DEFINE _ht30 330
/* halfway between above box heights */
DEFINE _ht0h 25
DEFINE _ht1h 45
DEFINE _ht2h 55
DEFINE _ht3h 65
DEFINE _ht4h 75
DEFINE _ht5h 85
DEFINE _ht6h 95
DEFINE _ht7h 105
DEFINE _ht8h 115
DEFINE _ht9h 125
DEFINE _ht10h 135
DEFINE _ht11h 145
DEFINE _ht12h 155
DEFINE _ht13h 165
DEFINE _ht14h 175
DEFINE _ht15h 185
DEFINE _ht16h 195
DEFINE _ht17h 205
DEFINE _ht18h 215
DEFINE _ht19h 225
DEFINE _ht20h 235
DEFINE _ht21h 245
DEFINE _ht22h 255
DEFINE _ht23h 265
DEFINE _ht24h 275
DEFINE _ht25h 285
DEFINE _ht26h 295
DEFINE _ht27h 305
DEFINE _ht28h 315
DEFINE _ht29h 325
DEFINE _ht30h 335
/* relative skips pared with _ht */
DEFINE _vs0 +30
DEFINE _vs1 +50
DEFINE _vs2 +60
DEFINE _vs3 +70
DEFINE _vs4 +80
DEFINE _vs5 +90
DEFINE _vs6 +100
DEFINE _vs7 +110
DEFINE _vs8 +120
DEFINE _vs9 +130
DEFINE _vs10 +140
DEFINE _vs11 +150
DEFINE _vs12 +160
DEFINE _vs13 +170
DEFINE _vs14 +180
DEFINE _vs15 +190
DEFINE _vs16 +200
DEFINE _vs16h +205
DEFINE _vs17 +210
DEFINE _vs18 +220
DEFINE _vs19 +230
DEFINE _vs20 +240
DEFINE _vs21 +250
DEFINE _vs22 +260
DEFINE _vs23 +270
DEFINE _vs24 +280
DEFINE _vs25 +290
DEFINE _vs26 +300
DEFINE _vs27 +310
DEFINE _vs28 +320
DEFINE _vs29 +330
DEFINE _vs30 +340
/* control lengths *********************************************************/
/* text height */
DEFINE _txht 20
/* spinner width */
DEFINE _spwd 60
/* short sep after spinner */
DEFINE _spsep +65
/* short sep after check box+spinner */
DEFINE _ckwd 20
DEFINE _cksep +20
DEFINE _ckspsep +85
DEFINE _ckspwd 80
/* short sep after radio box+spinner */
DEFINE _rbwd 20
DEFINE _rbsep +20
DEFINE _rbspsep +85
/* button width */
DEFINE _buwd 80
/* Width of an equals sign & separator */
DEFINE _eqlwd 5
DEFINE _eqlsep +10
/* short sep after button */
DEFINE _busep +85
/* edit box for <=7 digits */
DEFINE _en7wd 60
/* short sep after _en7wd */
DEFINE _en7sep +65
/* short sep after check box+en7 */
DEFINE _cken7sep +85
/* short sep after radio box+en7 */
DEFINE _rben7sep +85
/* edit box for <=14 digits */
DEFINE _en14wd 120
/* short sep after _en14wd */
DEFINE _en14sep +125
/* varname edit box width */
DEFINE _vnwd 120
/* short sep after _vnwd */
DEFINE _vnsep +125
/* varname, equals, and short sep */
DEFINE _vneqsep +135
/* short sep after radio box+varname */
DEFINE _rbvnsep +145
/* short sep after check box+varname */
DEFINE _ckvnsep +145
/* varlist after varname x position */
DEFINE _vlx 150
/* varlist by varname width */
DEFINE _vlwd 250
/* varname after varlist x position */
DEFINE _vnx 280
/* varlist by varname width within maximal box */
DEFINE _ivlwd 240
/* short sep after _vlwd */
DEFINE _vlsep +255
/* double sep after _vlwd */
DEFINE _vlcsep +270
/* width of settings... button */
DEFINE _setbuwd 120
/* x pos of settings... button */
DEFINE _xsetbu 280
/* significance level text width */
DEFINE _levelwd 110
/* sep after significance level text */
DEFINE _levelsep +115
/* [by][if]in.idlg: -if- widths */
DEFINE _ifwd 15
/* if's edit field width */
DEFINE _edifwd 265
/* skip after if's edit field */
DEFINE _edifsep +270
/* if's expression building width */
DEFINE _expifwd 350
/* rest of the width left after the specified control **********************/
/* rest of width after spinner */
DEFINE _spr 325
DEFINE _sprb 305
DEFINE _spr2 120
DEFINE _spr2b 100
DEFINE _spr3 51
DEFINE _spr3b 31
DEFINE _spr3c 187
DEFINE _spr3cb 167
DEFINE _spr4 17
DEFINE _spr4c 221
DEFINE _spr4cb 201
/* rest of width after check box+spinner */
DEFINE _ckspr 305
DEFINE _cksprb 285
DEFINE _ckspr2 100
DEFINE _ckspr2b 80
DEFINE _ckspr2bb 60
DEFINE _ckspr3c 167
DEFINE _ckspr3cb 147
DEFINE _ckspr4c 201
DEFINE _ckspr4cb 181
/* rest of width after radio box+spinner */
DEFINE _rbspr 305
DEFINE _rbsprb 285
DEFINE _rbspr2 100
DEFINE _rbspr2b 80
DEFINE _rbspr2bb 70
DEFINE _rbspr3c 167
DEFINE _rbspr3cb 147
DEFINE _rbspr4c 201
DEFINE _rbspr4cb 181
/* rest of width after 7 digit edit box */
DEFINE _en7r 325
DEFINE _en7rb 305
DEFINE _en7r2 120
DEFINE _en7r2b 100
DEFINE _en7r3 51
DEFINE _en7r3b 31
DEFINE _en7r3bb 11
DEFINE _en7r3c 187
DEFINE _en7r3cb 167
DEFINE _en7r4 17
DEFINE _en7r4c 221
DEFINE _en7r4cb 201
/* rest of width after check box+7 digit edit box */
DEFINE _cken7r 305
DEFINE _cken7rb 285
DEFINE _cken7r2 100
DEFINE _cken7r2b 80
DEFINE _cken7r2bb 70
DEFINE _cken7r3c 167
DEFINE _cken7r3cb 147
DEFINE _cken7r4c 201
DEFINE _cken7r4cb 181
/* rest of width after radio box+7 digit edit box */
DEFINE _rben7r 305
DEFINE _rben7rb 285
DEFINE _rben7r2 100
DEFINE _rben7r2b 80
DEFINE _rben7r2bb 70
DEFINE _rben7r3c 167
DEFINE _rben7r3cb 147
DEFINE _rben7r4c 201
DEFINE _rben7r4cb 181
/* rest of width after radio box+varname box */
DEFINE _rbvnr 245
DEFINE _rbvnrb 225
DEFINE _rbvnrbb 205
DEFINE _rbvnr2 40
DEFINE _rbvnr2b 20
DEFINE _rbvnr2bb 10
DEFINE _rbvnr3c 107
DEFINE _rbvnr3cb 87
DEFINE _rbvnr4c 141
DEFINE _rbvnr4cb 121
/* rest of width after check box+varname box */
DEFINE _ckvnr 245
DEFINE _ckvnrb 225
DEFINE _ckvnrbb 205
DEFINE _ckvnr2 40
DEFINE _ckvnr2b 20
DEFINE _ckvnr2bb 10
DEFINE _ckvnr3c 107
DEFINE _ckvnr3cb 87
DEFINE _ckvnr4c 141
DEFINE _ckvnr4cb 121
/* rest of width after 14 digit edit box */
DEFINE _en14r 265
DEFINE _en14rb 245
DEFINE _en14r2 60
DEFINE _en14r2b 40
DEFINE _en14r3c 127
DEFINE _en14r3cb 107
DEFINE _en14r4c 161
DEFINE _en14r4cb 141
/* rest of width after varname box */
DEFINE _vnr 265
DEFINE _vnrb 245
DEFINE _vnr2 60
DEFINE _vnr2b 40
DEFINE _vnr3c 127
DEFINE _vnr3cb 107
DEFINE _vnr4c 161
DEFINE _vnr4cb 141
/* rest of width after varlist box */
DEFINE _vlr 135
DEFINE _vlrb 115
DEFINE _expwd 164
DEFINE _expsep +174
DEFINE _eqxpos +120
DEFINE _eqwd 16
/* END: _std_medium.idlg */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -