From c944aac7d7c3204d424fbba640f0774367dbf2fb Mon Sep 17 00:00:00 2001 From: Minizbot2012 Date: Tue, 9 Feb 2021 14:37:56 -0800 Subject: [PATCH] common --- common/gui/guibuilder.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/gui/guibuilder.go b/common/gui/guibuilder.go index 1b95a46..31f9015 100644 --- a/common/gui/guibuilder.go +++ b/common/gui/guibuilder.go @@ -1,5 +1,6 @@ package gui +//PageType PGrid, PCircle or PList type PageType int const ( @@ -11,10 +12,12 @@ const ( PList ) +//GUI a GUI tree type GUI struct { Pages []Page } +//Page A page of a binding GUI type Page struct { Hive string Name string @@ -22,6 +25,7 @@ type Page struct { Type PageType } +//Key a keybind type Key struct { KeyID int KeyName string