diff options
| author | Jeff Carr <[email protected]> | 2024-01-11 19:32:40 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-11 19:32:40 -0600 |
| commit | ed951e0234d428298bd6b76b07e371ce2ab3cb60 (patch) | |
| tree | 200c77deef52245e59dc96f591e16843a8125927 /grid.go | |
| parent | 5f6afb8cf8293f819711ccdf791296edfd7ce7d6 (diff) | |
var value anyv0.12.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'grid.go')
| -rw-r--r-- | grid.go | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -23,6 +23,16 @@ import ( // -- (1,3) -- -- (3,3) -- // ----------------------------- +type Grid struct { + Width int + Height int +} + +type GridOffset struct { + X int + Y int +} + func (n *Node) NewGrid(name string, w int, h int) *Node { newNode := n.newNode(name, widget.Grid) |
