easycurses/
constants.rs

1//! Special constants for things like drawing ascii art.
2
3#[allow(missing_docs)]
4pub mod acs {
5  use pancurses::*;
6
7  pub fn llcorner() -> chtype {
8    ACS_LLCORNER()
9  }
10  pub fn lrcorner() -> chtype {
11    ACS_LRCORNER()
12  }
13  pub fn ulcorner() -> chtype {
14    ACS_ULCORNER()
15  }
16  pub fn urcorner() -> chtype {
17    ACS_URCORNER()
18  }
19  pub fn btee() -> chtype {
20    ACS_BTEE()
21  }
22  pub fn hline() -> chtype {
23    ACS_HLINE()
24  }
25  pub fn ltee() -> chtype {
26    ACS_LTEE()
27  }
28  pub fn plus() -> chtype {
29    ACS_PLUS()
30  }
31  pub fn rtee() -> chtype {
32    ACS_RTEE()
33  }
34  pub fn ttee() -> chtype {
35    ACS_TTEE()
36  }
37  pub fn vline() -> chtype {
38    ACS_VLINE()
39  }
40  pub fn s1() -> chtype {
41    ACS_S1()
42  }
43  pub fn s9() -> chtype {
44    ACS_S9()
45  }
46  pub fn bullet() -> chtype {
47    ACS_BULLET()
48  }
49  pub fn ckboard() -> chtype {
50    ACS_CKBOARD()
51  }
52  pub fn degree() -> chtype {
53    ACS_DEGREE()
54  }
55  pub fn diamond() -> chtype {
56    ACS_DIAMOND()
57  }
58  pub fn plminus() -> chtype {
59    ACS_PLMINUS()
60  }
61  pub fn block() -> chtype {
62    ACS_BLOCK()
63  }
64  pub fn board() -> chtype {
65    ACS_BOARD()
66  }
67  pub fn darrow() -> chtype {
68    ACS_DARROW()
69  }
70  pub fn lantern() -> chtype {
71    ACS_LANTERN()
72  }
73  pub fn larrow() -> chtype {
74    ACS_LARROW()
75  }
76  pub fn rarrow() -> chtype {
77    ACS_RARROW()
78  }
79  pub fn uarrow() -> chtype {
80    ACS_UARROW()
81  }
82  pub fn s3() -> chtype {
83    ACS_S3()
84  }
85  pub fn s7() -> chtype {
86    ACS_S7()
87  }
88  pub fn gequal() -> chtype {
89    ACS_GEQUAL()
90  }
91  pub fn lequal() -> chtype {
92    ACS_LEQUAL()
93  }
94  pub fn nequal() -> chtype {
95    ACS_NEQUAL()
96  }
97  pub fn pi() -> chtype {
98    ACS_PI()
99  }
100  pub fn sterling() -> chtype {
101    ACS_STERLING()
102  }
103  pub fn bbss() -> chtype {
104    ACS_BBSS()
105  }
106  pub fn bssb() -> chtype {
107    ACS_BSSB()
108  }
109  pub fn sbbs() -> chtype {
110    ACS_SBBS()
111  }
112  pub fn sbss() -> chtype {
113    ACS_SBSS()
114  }
115  pub fn ssbb() -> chtype {
116    ACS_SSBB()
117  }
118  pub fn ssbs() -> chtype {
119    ACS_SSBS()
120  }
121  pub fn sssb() -> chtype {
122    ACS_SSSB()
123  }
124  pub fn bsbs() -> chtype {
125    ACS_BSBS()
126  }
127  pub fn bsss() -> chtype {
128    ACS_BSSS()
129  }
130  pub fn sbsb() -> chtype {
131    ACS_SBSB()
132  }
133  pub fn ssss() -> chtype {
134    ACS_SSSS()
135  }
136}