Work
This commit is contained in:
@@ -51,15 +51,15 @@ func (w *BorderedWidget) Log(txt string) {
|
||||
|
||||
func NewBorderedWidget(id string, wd Widget, s tcell.Style) *BorderedWidget {
|
||||
ret := &BorderedWidget{
|
||||
style: s,
|
||||
widget: wd,
|
||||
}
|
||||
ret.Init(id)
|
||||
ret.Init(id, s)
|
||||
return ret
|
||||
}
|
||||
|
||||
func (w *BorderedWidget) Init(id string) {
|
||||
func (w *BorderedWidget) Init(id string, s tcell.Style) {
|
||||
w.id = id
|
||||
w.style = s
|
||||
w.visible = true
|
||||
w.border = h.BRD_CSIMPLE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user