Added visible and float booleans

This commit is contained in:
andreja6
2018-04-13 20:09:20 -07:00
parent 7d623bb99d
commit b12c753179
4 changed files with 21 additions and 2 deletions

View File

@@ -16,9 +16,11 @@ Color4 boxColorDn;
Color4 boxOutlineColorDn;
bool centeredWithinBox;
std::string title;
G3D::GFontRef font;
G3D::GFontRef* font;
int textSize;
bool floatBottom;
bool floatRight;
bool visible;
TextButtonInstance::TextButtonInstance(void)
{
@@ -32,6 +34,9 @@ TextButtonInstance::TextButtonInstance(void)
boxColor = Color4(0.6F,0.6F,0.6F,0.4F);
boxOutlineColor = Color4(0, 0, 0, 0);
textSize = 12;
floatBottom = false;
floatRight = false;
visible = true;
}