Documentation ¶
Index ¶
- type Bar
- func (m *Bar) CountCurrentRate()
- func (m *Bar) CurrentPrintGraphNumber() int
- func (m *Bar) GetBackString() string
- func (m *Bar) HidePercent()
- func (m *Bar) HideProgressBar()
- func (m *Bar) HideRatio()
- func (m *Bar) NoticePrintString() string
- func (m *Bar) PercentPrintString() string
- func (m *Bar) PrintBar(currValue int)
- func (m *Bar) PrintEnd(tip ...string)
- func (m *Bar) PrintSizeBar(size int64)
- func (m *Bar) ProgressPrintString() string
- func (m *Bar) RatioPrintString() string
- func (m *Bar) SetBackColor(color int)
- func (m *Bar) SetBackGraph(graph string)
- func (m *Bar) SetColor(color BarColor)
- func (m *Bar) SetCurrentValue(value int)
- func (m *Bar) SetEnds(start, end string)
- func (m *Bar) SetGraph(graph string)
- func (m *Bar) SetGraphColor(color int)
- func (m *Bar) SetNotice(notice string)
- func (m *Bar) SetNoticeColor(color int)
- func (m *Bar) SetPercentColor(color int)
- func (m *Bar) SetProgressGraphColor(color int)
- func (m *Bar) SetProgressGraphTotal(totalGraph int)
- func (m *Bar) SetRatioColor(color int)
- type BarColor
- type Color
- type Ends
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
type Bar struct {
// contains filtered or unexported fields
}
func (*Bar) CountCurrentRate ¶
func (m *Bar) CountCurrentRate()
func (*Bar) CurrentPrintGraphNumber ¶
func (*Bar) GetBackString ¶
func (*Bar) HidePercent ¶
func (m *Bar) HidePercent()
func (*Bar) HideProgressBar ¶
func (m *Bar) HideProgressBar()
func (*Bar) NoticePrintString ¶
func (*Bar) PercentPrintString ¶
func (*Bar) PrintSizeBar ¶
func (*Bar) ProgressPrintString ¶
func (*Bar) RatioPrintString ¶
func (*Bar) SetBackColor ¶
func (*Bar) SetBackGraph ¶
func (*Bar) SetCurrentValue ¶
func (*Bar) SetGraphColor ¶
func (*Bar) SetNoticeColor ¶
func (*Bar) SetPercentColor ¶
func (*Bar) SetProgressGraphColor ¶
func (*Bar) SetProgressGraphTotal ¶
func (*Bar) SetRatioColor ¶
Click to show internal directories.
Click to hide internal directories.