Skip to content

Commit

Permalink
updated glass Skin font
Browse files Browse the repository at this point in the history
  • Loading branch information
The-AhmadAA committed Oct 14, 2023
1 parent bd58023 commit fba3f30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion source/core/assets/images/ui/buttons/glass.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ com.badlogic.gdx.scenes.scene2d.ui.Label$LabelStyle: {
}
title: {
parent: default
font: title
font: game_paused_title
fontColor: White
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,16 @@ private void addActors() {
title.setPosition(0, 0);

// Create a "Start" TextButton using the default style
// TextButton startBtn = ButtonFactory.createButton("Start");
TextButton startBtn = new TextButton("Start", skin);
TextButton startBtn = ButtonFactory.createButton("Start");

// Create a "Help" TextButton using the default style
// TextButton helpBtn = ButtonFactory.createButton("Help");
TextButton helpBtn = new TextButton("Help", skin);
TextButton helpBtn = ButtonFactory.createButton("Help");

// Create a "Settings" TextButton with a custom image
// TextButton settingsBtn =ButtonFactory.createButton("Settings");
TextButton settingsBtn =new TextButton("Settings", skin);
TextButton settingsBtn =ButtonFactory.createButton("Settings");

// Create a "Quit" TextButton with a custom image
// TextButton exitBtn = ButtonFactory.createButton("Quit");
TextButton exitBtn = new TextButton("Quit", skin);
TextButton exitBtn = ButtonFactory.createButton("Quit");

// Triggers an event when the button is pressed
startBtn.addListener(
Expand Down

0 comments on commit fba3f30

Please sign in to comment.