Skip to content

Commit

Permalink
removed text from health bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubbad committed May 1, 2017
1 parent 12e1d42 commit 0a519b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/HealthBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ HealthBar::HealthBar(HealthComponent* health) : health(health), PositioningLayou
ListLayout* root = new ListLayout(ListLayout::VERTICAL,Dimension::fromPixels(50),Dimension::fromPixels(35));

Font* font = FontManager::getInstance()->loadAndFetchFont("../fonts/Ubuntu-M.ttf",20);
TextLayout* name = new TextLayout("text",font,Dimension::fromPixels(50),Dimension::fromPixels(25));
TextLayout* name = new TextLayout("",font,Dimension::fromPixels(50),Dimension::fromPixels(25));

PositioningLayout* border = new PositioningLayout(Dimension::fill(),Dimension::fromPixels(10));
border->setBackground((new HUDGraphic(HUDGraphic::Color(string("#000"),0)))->setBorder(1, HUDGraphic::Color(string("#000"))));
Expand Down

0 comments on commit 0a519b5

Please sign in to comment.