summaryrefslogtreecommitdiff
path: root/grid.go
diff options
context:
space:
mode:
Diffstat (limited to 'grid.go')
-rw-r--r--grid.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/grid.go b/grid.go
index e1eb7ac..d48edcd 100644
--- a/grid.go
+++ b/grid.go
@@ -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)