diff options
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 56 | 
1 files changed, 0 insertions, 56 deletions
@@ -2,7 +2,6 @@  package linuxstatus  import ( -	"go.wit.com/gui"  	"go.wit.com/log"  ) @@ -19,30 +18,6 @@ func (ls *LinuxStatus) Changed() bool {  	return false  } -func (ls *LinuxStatus) Make() { -	if !ls.Ready() { -		return -	} -	log.Log(CHANGE, "Make() window ready =", ls.ready) -	ls.window.Make() -	ls.ready = true -} -func (ls *LinuxStatus) Draw() { -	if !ls.Ready() { -		return -	} -	log.Log(CHANGE, "Draw() window ready =", ls.ready) -	ls.window.Draw() -	ls.ready = true -} -func (ls *LinuxStatus) Draw2() { -	if !ls.Ready() { -		return -	} -	log.Log(CHANGE, "draw(ls) ready =", ls.ready) -	draw(ls) -} -  func (ls *LinuxStatus) Show() {  	if !ls.Ready() {  		return @@ -86,34 +61,3 @@ func (ls *LinuxStatus) Ready() bool {  	}  	return me.ready  } - -func (ls *LinuxStatus) Initialized() bool { -	log.Log(CHANGE, "checking Initialized()") -	if me == nil { -		return false -	} -	if ls == nil { -		return false -	} -	if ls.parent == nil { -		return false -	} -	return true -} - -func (ls *LinuxStatus) SetParent(p *gui.Node) { -	log.Log(CHANGE, "Attempting SetParent") -	if me == nil { -		return -	} -	if ls == nil { -		return -	} -	if ls.parent == nil { -		log.Log(CHANGE, "SetParent =", p) -		ls.parent = p -		return -	} else { -		log.Log(CHANGE, "SetParent was already set to =", ls.parent) -	} -}  | 
