Kerbal Space Program
1.12.4
|
A scalable (by dragging the mouse) generic app frame More...
Public Member Functions | |
void | AddGlobalInputDelegate (UnityAction< PointerEventData > pointerEnter, UnityAction< PointerEventData > pointerExit) |
void | AutoScale () |
void | OnBeginDragFooter (PointerEventData eventData) |
void | OnBeginDragHeader (PointerEventData eventData) |
void | OnDragFooter (PointerEventData eventData) |
void | OnDragHeader (PointerEventData eventData) |
void | OnEndDragFooter (PointerEventData eventData) |
void | OnEndDragHeader (PointerEventData eventData) |
void | Reposition () |
void | Setup (ApplicationLauncherButton appLauncherButton, string appName, string displayName) |
void | Setup (ApplicationLauncherButton appLauncherButton, string appName, string displayName, int width, int height) |
void | Setup (ApplicationLauncherButton appLauncherButton, string appName, string displayName, int width, int height, bool scaleHeightToContainList) |
void | UpdateDraggingBounds (int height) |
void | UpdateDraggingBoundsAtBottom (float height, float pos) |
scale and move the transform so it sticks to the bottom Note: only positions based on sizeDelta are affected by scale. Height is not affected by scaling. More... | |
Public Attributes | |
bool | anchorToAppButton = false |
Force the app frame to be anchored to the button More... | |
DragHandler | dragFooter |
DragHandler | dragHeader |
Image | gfxBg |
Image | gfxFooter |
Image | gfxHeader |
TMPro.TextMeshProUGUI | header |
PointerEnterExitHandler | hoverController |
int | maxHeight = 476 |
int | minHeight = 176 |
UIList | scrollList |
A scalable (by dragging the mouse) generic app frame
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
scale and move the transform so it sticks to the bottom Note: only positions based on sizeDelta are affected by scale. Height is not affected by scaling.
height | unscaled height. |
pos | scaled position. |
bool KSP.UI.GenericAppFrame.anchorToAppButton = false |
Force the app frame to be anchored to the button
DragHandler KSP.UI.GenericAppFrame.dragFooter |
DragHandler KSP.UI.GenericAppFrame.dragHeader |
Image KSP.UI.GenericAppFrame.gfxBg |
Image KSP.UI.GenericAppFrame.gfxFooter |
Image KSP.UI.GenericAppFrame.gfxHeader |
TMPro.TextMeshProUGUI KSP.UI.GenericAppFrame.header |
PointerEnterExitHandler KSP.UI.GenericAppFrame.hoverController |
int KSP.UI.GenericAppFrame.maxHeight = 476 |
int KSP.UI.GenericAppFrame.minHeight = 176 |
UIList KSP.UI.GenericAppFrame.scrollList |