minor rm
This commit is contained in:
parent
efebe00640
commit
546a4e022b
|
@ -93,35 +93,11 @@ func addDropdown() *tree.Node {
|
|||
return addDropdownNew(-222)
|
||||
}
|
||||
|
||||
var notsure *guiWidget
|
||||
|
||||
// use this to test code ideas
|
||||
func theNotsure(g *gocui.Gui, v *gocui.View) error {
|
||||
log.Info("got keypress 2. now what?")
|
||||
w, h := g.MousePosition()
|
||||
redoWindows(w, h)
|
||||
// closes anything under your mouse
|
||||
if notsure == nil {
|
||||
// notsure = makeDropdownView("addWidget() notsure")
|
||||
notsure = addDropdownTK(-118)
|
||||
notsure.node.State.Label = "apple/pear"
|
||||
notsure.makeTK([]string{"apple", "pear"})
|
||||
}
|
||||
notsure.MoveToOffset(w+10, h-6)
|
||||
// notsure.SetText("theNotsure")
|
||||
notsure.drawView()
|
||||
notsure.Show()
|
||||
|
||||
/*
|
||||
for _, tk := range findByXY(w, h) {
|
||||
// vx0, vy0, vx1, vy1, err := g.ViewPosition("msg")
|
||||
log.Log(GOCUI, "verify rect:", tk.v.Name())
|
||||
tk.verifyRect()
|
||||
|
||||
if tk.node.WidgetType == widget.Stdout {
|
||||
}
|
||||
}
|
||||
*/
|
||||
// w, h := g.MousePosition()
|
||||
redoWindows(1, -1)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue