File: 136_design_alias_by_alias.cfg

package info (click to toggle)
boxes 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,800 kB
  • sloc: ansic: 10,566; lex: 517; sh: 503; makefile: 309; yacc: 272; lisp: 78
file content (75 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

BOX design1

sample
    X1 your text X1
ends

shapes {
    w ("X1")
    e ("X1")
}

elastic (
    e, w
)

padding {
    horizontal 1
}

END design1

# -------------------------------------------

BOX design2, alias2

sample
    X2 your text X2
ends

shapes {
    w ("X2")
    e ("X2")
}

elastic (
    e, w
)

padding {
    horizontal 1
}

END design2

# -------------------------------------------

BOX design3,
    alias3a,   # we refer to this design by this alias
    alias3b

# following sample block is empty
sample test4
ends

shapes {
    e ("1","2","3")
    w ("1","2","3","4","5")

    s ("#") n ("#") nw ("#") se ("#") sw ("#") ne ("#")
}

elastic (n,s,e, w)

END design3

# -------------------------------------------

BOX design4

sample
    X your text X
ends

... and so on, this part is no longer parsed.