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