Fix: correct Taskbar UI

Refs #52
This commit is contained in:
Julian Kropff
2026-04-10 20:05:49 +02:00
parent db3f34fddf
commit 4895af9030
@@ -18,31 +18,62 @@
layoutX="50.0" layoutY="710.0">
<!-- Placeholder buttons -->
<Button text="EINSTELLUNGEN" styleClass="gray-button" />
Fix: correct Taskbar UI
Refs #52 <Button text="SETTINGS" styleClass="gray-button" />
<Button text="INFO" styleClass="gray-button" />
<!-- Buten for the Casono Browser -->
<Button text="HILFE" onAction="#onBrowserButtonClick" styleClass="gray-button" />
<Button text="HELP" onAction="#onBrowserButtonClick" styleClass="gray-button" />
<!-- Vertical dividing line: Creates a visual separation between two button areas -->
<Separator orientation="VERTICAL" prefHeight="20" opacity="0.3" />
<!-- Input field: Responds to the Enter key to confirm the entry -->
<TextField fx:id="taskbarInput"
promptText="Betrag setzen..."
promptText="Set amount..."
onKeyPressed="#onInputSubmitted"
styleClass="gray-input-field"
prefWidth="150" />
<!-- Confirmation button: Alternative to the Enter key to submit the entry -->
<Button text="SETZTEN"
<Button text="BET"
fx:id="betButton"
onAction="#onInputSubmittedAction"
styleClass="yellow-button"/>
<!-- Action buttons: Trigger Call -->
<Button text="Call"
fx:id="callButton"
onAction="#onInputPlayerCall"
styleClass="yellow-button"/>
<!-- Action buttons: Trigger Fold -->
<Button text="Fold"
fx:id="foldButton"
onAction="#onInputPlayerFold"
styleClass="yellow-button"/>
<!-- Action buttons: Trigger Raise -->
<Button text="Raise"
fx:id="raiseButton"
onAction="#onInputPlayerRaise"
styleClass="yellow-button"/>
<!-- Vertical dividing line: Creates a visual separation between two button areas -->
<Separator orientation="VERTICAL" prefHeight="20" opacity="0.3" />
<!-- Money display: Shows the player's current balance -->
<VBox alignment="CENTER" spacing="2">
<Label fx:id="moneyLabel"
text="20000$"
styleClass="money-value"/>
</VBox>
<Separator orientation="VERTICAL" prefHeight="20" opacity="0.3" />
<!-- Menu button: Cancels the current game and returns to the main menu -->
<Button text="VERLASSEN"
<Button text="LEAVE"
onAction="#onExitButtonClick"
styleClass="red-button"/>