Starsector API
Loading...
Searching...
No Matches
CustomPanelAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.ui;
2
3import java.awt.Color;
4
5import com.fs.starfarer.api.campaign.CustomUIPanelPlugin;
6
7public interface CustomPanelAPI extends UIPanelAPI {
8
9 CustomPanelAPI createCustomPanel(float width, float height, CustomUIPanelPlugin plugin);
10
11 TooltipMakerAPI createUIElement(float width, float height, boolean withScroller);
13
15
16
22
25 UIPanelAPI wrapTooltipWithBox(TooltipMakerAPI tooltip, float padLeft, float padRight, float padBelow, float padAbove, Color color);
26
28
29}
UIPanelAPI wrapTooltipWithBox(TooltipMakerAPI tooltip, float padLeft, float padRight, float padBelow, float padAbove, Color color)
CustomPanelAPI createCustomPanel(float width, float height, CustomUIPanelPlugin plugin)
TooltipMakerAPI createUIElement(float width, float height, boolean withScroller)
void updateUIElementSizeAndMakeItProcessInput(TooltipMakerAPI element)
PositionAPI addUIElement(TooltipMakerAPI element)
UIPanelAPI wrapTooltipWithBox(TooltipMakerAPI tooltip)
UIPanelAPI wrapTooltipWithBox(TooltipMakerAPI tooltip, Color color)