DudeCooper
26-01-2009 15:59:34
Hi i am trying to make a progress bar which updates its progress based on the current state of the game. so...
///loading
load something
update progress bar
load somethin else
update progress bar
i have loooked for documentation into it but the link is now dead.
with this the bar flies around constantly which is not what i want, plus its way too fast. is there a way to update the progress every so often?
thank you
///loading
load something
update progress bar
load somethin else
update progress bar
i have loooked for documentation into it but the link is now dead.
MyGUI::ProgressPtr prog = mGUI->createWidget<MyGUI::Progress>("Progress",0,200,400,100,MyGUI::ALIGN_CENTER,"Main");
prog->setEnabled(true);
prog->setProgressRange(100);
prog->setProgressStartPoint(1);
prog->setProgressAutoTrack(true);
with this the bar flies around constantly which is not what i want, plus its way too fast. is there a way to update the progress every so often?
thank you