You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
830 B
Go

package dlg
import (
5 years ago
"github.com/xxjwxc/gormt/data/view/genstruct"
"github.com/xxjwxc/public/mycui"
)
const (
5 years ago
_menuDefine = "menu"
_listDefine = "list"
_viewDefine = "view"
_run = "run"
_set = "set"
_clipboardBtn = "clipboardBtn"
)
var (
5 years ago
uiPart = []float32{4, 5} // x,y 对应列表
mainViewArr = []string{_menuDefine, _listDefine, _viewDefine} // 主菜单列表
mainIndex = 0
btnLogArr = []string{"log_run", "log_set"} // 主菜单列表
formPart = []int{14, 28, 10}
)
// menu 内容
type menuDetails struct {
active int
btnList []*mycui.Button
}
5 years ago
type listDetails struct {
active int
btnList []*mycui.Button
}
5 years ago
var clipboardBtn *mycui.Button
var copyInfo string
var menuDlg *menuDetails
var form *mycui.Form
5 years ago
var gPkg genstruct.GenPackage