129 _isRight(true), _isMovable(false), _moveButtonRight(0), _moveButtonLeft(0) {
195 if (
_button->getNode(
"text0")) {
196 _button->getNode(
"text0")->getPosition(pX, pY, pZ);
197 pY -= (4 -
_text->getLineCount()) *
_text->getHeight() * 0.5f;
198 }
else if (
_button->getNode(
"text")) {
199 _button->getNode(
"text")->getPosition(pX, pY, pZ);
200 pY -=
_text->getHeight() / 2;
203 pY = -
_text->getHeight() / 2;
207 _text->setPosition(x + pX, y + pY, z - pZ);
210 _button->getNode(
"addremovebutton")->getPosition(pX, pY, pZ);
216 _button->getNode(
"helpbutton")->getPosition(pX, pY, pZ);
217 _helpButton->setPosition(x + pX, y + pY, z - pZ - 100.f);
223 _button->getNode(
"icon")->getPosition(pX, pY, pZ);
224 _icon->setPosition(x + pX -
_icon->getWidth() / 2, y + pY -
_icon->getHeight() / 2, z - 100.f);
264 _text->setColor(0.5f, 0.5f, 0.5f, 1.f);
268 _text->setColor(r, g, b, a);
A class holding an UTF-8 string.
void reset(PointerType o=0)
Resets the pointer with the new value.
A node within a 3D model.
bool empty() const
Is the string empty?
#define SoundMan
Shortcut for accessing the sound manager.
Sound::ChannelHandle playSound(const Common::UString &sound, Sound::SoundType soundType, bool loop, float volume, bool pitchVariance)
Play this sound resource.
A handle to a sound channel.
Graphics::Aurora::Model * loadModelGUI(const Common::UString &resref)
A portrait model and widget.
Generic Aurora engines utility functions.
#define FontMan
Shortcut for accessing the font manager.
Generic Aurora engines model functions.