Files
4JUI/UIElements/Buttons.md
T
2026-09-10 12:53:00 +00:00

15 lines
957 B
Markdown

# Buttons
![Main Menu](../assets/Buttons/Button.png)
# Design Choices
## 1. Scaling
Contrary to popular belief, **LCE** did not implement 9 slice scaling to buttons like **Java** did.
They simply used different textures based on the button type, Here are the assets taken from the source for said buttons (Take `use` with a grain of salt):
| Name | Use | Normal | Highlighted |
|:-----|:----|:-------|:------------|
| `FJ_MainMenuButton_Normal` | Used for all main menus | ![FJ_MainMenuButton_Normal](../assets/Buttons/FJ_MainMenuButton_Normal.png) | ![MainMenuButton_Over](../assets/Buttons/MainMenuButton_Over.png)
| `FJ_ListButton_Normal` | Player list | ![FJ_ListButton_Normal](../assets/Buttons/FJ_ListButton_Normal.png) | ![ListButton_Over](../assets/Buttons/ListButton_Over.png) |
| `Layout_Button` | Controls menu | ![Layout_Button_Bmp](../assets/Buttons/Layout_Button_Bmp.png) | ![LayoutButton_Over](../assets/Buttons/LayoutButton_Over.png) |