Kerbal Space Program
1.12.4
|
A scalable (by dragging the mouse) messaging app frame More...
Public Member Functions | |
void | AddGlobalInputDelegate (UnityAction< PointerEventData > pointerEnter, UnityAction< PointerEventData > pointerExit) |
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 | 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... | |
TMPro.TextMeshProUGUI | deleteButtonText |
Delete button text More... | |
PointerClickHandler | deleteHandler |
Contains the delete button PointerClickHandler in order to make it accessible for the MessageSystem and let it assign the delete messages method. More... | |
DragHandler | dragFooter |
App frame drag footer, assists the app frame resize More... | |
DragHandler | dragHeader |
App frame drag header, assists the app frame resize More... | |
TMPro.TextMeshProUGUI | header |
App text title More... | |
PointerEnterExitHandler | hoverController |
Controls if the pointer enters or exits the AppFrame More... | |
int | maxHeight = 476 |
int | minHeight = 176 |
UIList | scrollList |
App messages list container More... | |
A scalable (by dragging the mouse) messaging app frame
|
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.MessageSystemAppFrame.anchorToAppButton = false |
Force the app frame to be anchored to the button
TMPro.TextMeshProUGUI KSP.UI.MessageSystemAppFrame.deleteButtonText |
Delete button text
PointerClickHandler KSP.UI.MessageSystemAppFrame.deleteHandler |
Contains the delete button PointerClickHandler in order to make it accessible for the MessageSystem and let it assign the delete messages method.
DragHandler KSP.UI.MessageSystemAppFrame.dragFooter |
App frame drag footer, assists the app frame resize
DragHandler KSP.UI.MessageSystemAppFrame.dragHeader |
App frame drag header, assists the app frame resize
TMPro.TextMeshProUGUI KSP.UI.MessageSystemAppFrame.header |
App text title
PointerEnterExitHandler KSP.UI.MessageSystemAppFrame.hoverController |
Controls if the pointer enters or exits the AppFrame
int KSP.UI.MessageSystemAppFrame.maxHeight = 476 |
int KSP.UI.MessageSystemAppFrame.minHeight = 176 |
UIList KSP.UI.MessageSystemAppFrame.scrollList |
App messages list container