mirror of https://github.com/miguelmota/cointop
lowercase
Former-commit-id: eedf2b123f6dfbf6ced05e346584fc76d69bdf7b [formerly eedf2b123f6dfbf6ced05e346584fc76d69bdf7b [formerly 198acfa3b2f78062ae8229db2e9534dbe5693d70 [formerly 6b3cf0bcc32514ee16a8f6681261b5df7a0aee52]]] Former-commit-id: a51cf7240a41cffac8d068a2117aa483e47c9579 Former-commit-id: f4458f5e853c2de791e42136e08a80359d4630ee [formerly 4d2376c81b1b219eef964b13efd3592d91327de7] Former-commit-id: 500ca97588612b0f51511398398c1e42b89c19bdpull/15/head
parent
5476f2f249
commit
24dda9fb61
@ -1,18 +1,18 @@
|
||||
package cointop
|
||||
|
||||
// Size returns window width and height
|
||||
func (ct *Cointop) Size() (int, int) {
|
||||
func (ct *Cointop) size() (int, int) {
|
||||
return ct.g.Size()
|
||||
}
|
||||
|
||||
// Width returns window width
|
||||
func (ct *Cointop) Width() int {
|
||||
w, _ := ct.Size()
|
||||
func (ct *Cointop) width() int {
|
||||
w, _ := ct.size()
|
||||
return w
|
||||
}
|
||||
|
||||
// Height returns window height
|
||||
func (ct *Cointop) Height() int {
|
||||
_, h := ct.Size()
|
||||
func (ct *Cointop) height() int {
|
||||
_, h := ct.size()
|
||||
return h
|
||||
}
|
||||
|
Loading…
Reference in New Issue