Example #1
0
ScrollBar& ScrollBar::AutoHide(bool b) {
	autohide = b;
	if(b)
		SetTotal(totalsize);
	else
		Show();
	WhenVisibility();
	return *this;
}
Example #2
0
void IBuff::AddTotal( DWORD tmTotal )
{
	SetTotal( tmTotal );
	SetInst( ::timeGetTime() );		// +
}
Example #3
0
Progress::Progress(Ctrl *owner, const char *s, int total) {
	Init();
	text = s;
	SetTotal(total);
	SetOwner(owner);
}
Example #4
0
Progress::Progress(const char *s, int total) {
	Init();
	text = s;
	SetTotal(total);
}
Example #5
0
void MythUIEditBar::SetTotal(long long total)
{
    SetTotal((double)total);
}
Example #6
0
void ScrollBars::SetTotal(Size total) {
	SetTotal(total.cx, total.cy);
}