File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ enum GridType {
19
19
dd_factor
20
20
}
21
21
22
- type GridData = Factor | []bool | []f64 | []int | []string
22
+ pub type GridData = Factor | []bool | []f64 | []int | []string
23
23
24
24
@[heap]
25
25
pub struct GridComponent {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import os
7
7
const tree_sep = ':'
8
8
const root_sep = '_|||_'
9
9
10
- type TreeItem = Tree | string
10
+ pub type TreeItem = Tree | string
11
11
12
12
pub struct Tree {
13
13
pub mut :
Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ enum ButtonState {
20
20
hovering
21
21
}
22
22
23
- type ButtonFn = fn (& Button)
23
+ pub type ButtonFn = fn (& Button)
24
24
25
- type ButtonU32Fn = fn (& Button, u32 )
25
+ pub type ButtonU32Fn = fn (& Button, u32 )
26
26
27
- type ButtonMouseFn = fn (& Button, & MouseEvent)
27
+ pub type ButtonMouseFn = fn (& Button, & MouseEvent)
28
28
29
- type ButtonMouseMoveFn = fn (& Button, & MouseMoveEvent)
29
+ pub type ButtonMouseMoveFn = fn (& Button, & MouseMoveEvent)
30
30
31
31
@[heap]
32
32
pub struct Button {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pub mut:
21
21
y int
22
22
}
23
23
24
- interface ChunkContent {
24
+ pub interface ChunkContent {
25
25
mut :
26
26
bb Rect
27
27
init (cv & ChunkView)
You can’t perform that action at this time.
0 commit comments