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