Starsector API
Loading...
Searching...
No Matches
CustomDialogDelegate.java
Go to the documentation of this file.
1package com.fs.starfarer.api.campaign;
2
3import com.fs.starfarer.api.ui.CustomPanelAPI;
4
5public interface CustomDialogDelegate {
6
7 public interface CustomDialogCallback {
11 void dismissCustomDialog(int option);
12 }
13
14 void createCustomDialog(CustomPanelAPI panel, CustomDialogCallback callback);
15
20 boolean hasCancelButton();
22 String getCancelText();
26}
void createCustomDialog(CustomPanelAPI panel, CustomDialogCallback callback)