Package me.hackware.api.gui.studio
Class StudioBackground
java.lang.Object
me.hackware.api.gui.studio.StudioBackground
The shell of a Studio screen: one unified rounded
Card with a slightly
darker sidebar rail down the left and a hairline divider between the rail and
the content. Every screen in the Studio visual family draws this first, then
lays a sidebar and a detail pane inside it.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDarkening tint over the sidebar rail. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDraws the card, the rail tint (rounded with the card on the left, squared at the divider) and the rail divider.static voidrailDivider(UiContext ui, int x, int y, int h) A 1-device-pixel vertical divider, ending one device pixel inside the card's border at each end so the T-junctions meet cleanly instead of crossing.
-
Field Details
-
RAIL_TINT
public static final int RAIL_TINTDarkening tint over the sidebar rail.- See Also:
-
-
Method Details
-
draw
Draws the card, the rail tint (rounded with the card on the left, squared at the divider) and the rail divider.railWis the sidebar width. -
railDivider
A 1-device-pixel vertical divider, ending one device pixel inside the card's border at each end so the T-junctions meet cleanly instead of crossing.
-