diff options
Diffstat (limited to 'ui/context.go')
-rw-r--r-- | ui/context.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/context.go b/ui/context.go index ae9e5610..ca3f4522 100644 --- a/ui/context.go +++ b/ui/context.go @@ -15,6 +15,14 @@ type Context struct { height int } +func (ctx *Context) X() int { + return ctx.x +} + +func (ctx *Context) Y() int { + return ctx.y +} + func (ctx *Context) Width() int { return ctx.width } |