Package edu. duke. cs. osprey. molscope. gui
Types
Link copied to clipboard
Tracks the mouse down and mouse up positions during a click or drag. If the two positions match (within tolerance), a clicked returns true.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Interface to talk to the window that is hosting this feature.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
inline fun <R> Commands.disabledIf(isDisabled: Boolean, block: () -> R): R
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Renders a "i" icon which when hovered will show a popup.
Calls infoTip(block)
to display text in the tooltip. All newlines in the text are discarded and the text is wrapped at the desired width.
Link copied to clipboard
Link copied to clipboard
Calls pushStyleVar
to temporarily modify the ImGUI style, and pushItemFlag
to disable interactions with controls. Make sure to nest other calls to push/pop StyleVar and push/pop ItemFlag correctly.