Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/CProgressBar.cpp
Show All 14 Lines | |||||
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
#include "precompiled.h" | #include "precompiled.h" | ||||
#include "CProgressBar.h" | #include "CProgressBar.h" | ||||
#include "gui/CGUI.h" | #include "gui/CGUI.h" | ||||
#include "gui/GUI.h" | |||||
#include "lib/ogl.h" | #include "lib/ogl.h" | ||||
CProgressBar::CProgressBar(CGUI& pGUI) | CProgressBar::CProgressBar(CGUI& pGUI) | ||||
: IGUIObject(pGUI) | : IGUIObject(pGUI) | ||||
{ | { | ||||
AddSetting<CGUISpriteInstance>("sprite_background"); | AddSetting<CGUISpriteInstance>("sprite_background"); | ||||
AddSetting<CGUISpriteInstance>("sprite_bar"); | AddSetting<CGUISpriteInstance>("sprite_bar"); | ||||
AddSetting<float>("caption"); // aka value from 0 to 100 | AddSetting<float>("caption"); // aka value from 0 to 100 | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator