OSRS Plugin API
    Preparing search index...

    Class Colour

    The colour designations for individual sections of ImGUI elements.

    -- This sets the text colour for the window and subcontent
    exampleWindow.style.colour.text = osrs.Colour4.new(1.0, 0.0, 0.0, 1.0)
    Index

    Constructors

    Properties

    border: Colour4

    The colour of this element's border.

    borderShadow: Colour4

    The colour of this element's shadow.

    button: Colour4

    The colour of a button element when unfocused

    buttonActive: Colour4

    The colour of a button element when clicked.

    buttonHovered: Colour4

    The colour of a button element when hovered

    checkMark: Colour4

    The colour of the checkbox element

    childBackground: Colour4

    The colour of the background of children of this element.

    dragDropTarget: Colour4

    The colour of the rectangle highlighting a drop target.

    frameBackground: Colour4

    The colour of this element's frames (checkbox, radio button, plot, slider, text input) when not focused.

    frameBackgroundActive: Colour4

    The colour of this element's frames when focused.

    frameBackgroundHovered: Colour4

    The colour of this element's frames when hovered but not focused.

    header: Colour4

    The colour of the header (CollapsingHeader, TreeNode, Selectable, MenuItem) when not hovered or focused.

    headerActive: Colour4

    The colour of the header when focused.

    headerHovered: Colour4

    The colour of the header when hovered.

    menuBarBackground: Colour4

    The color of the menu bar element.

    modalWindowDimBackground: Colour4

    Colour of entire screen behind a modal window, when one is active.

    navigationHighlight: Colour4

    Currently highlighted item when using keyboard or controller

    navigationWindowingDimBackground: Colour4

    Colour of entire screen behind the CTRL+TAB window list, when active.

    navigationWindowingHighlight: Colour4

    Highlight window when using CTRL+TAB

    plotHistogram: Colour4

    The colour of a Histogram element when unfocused

    plotHistogramHovered: Colour4

    The colour of a Histogram element when hovered.

    plotLines: Colour4

    The colour of lines in a plot element.

    plotLinesHovered: Colour4

    The colour of lines in a plot element when hovered.

    popupBackground: Colour4

    The colour of the background of pop-ups generated by this element.

    resizeGrip: Colour4

    The colour of the resizeGrip when not hovered or focused.

    resizeGripActive: Colour4

    The colour of the resizeGrip when focused.

    resizeGripHovered: Colour4

    The colour of the resizeGrip when hovered.

    scrollbarBackground: Colour4

    The colour of the scrollbar background

    scrollbarGrab: Colour4

    The colour of the scrollbar grab handle when unfocused

    scrollbarGrabActive: Colour4

    The colour of the scrollbar grab handle when dragged

    scrollbarGrabHovered: Colour4

    The colour of the scrollbar grab handle when hovered

    separator: Colour4

    The colour of the separator when not hovered or focused.

    separatorActive: Colour4

    The colour of the separator when focused.

    separatorHovered: Colour4

    The colour of the separator when hovered.

    sliderGrab: Colour4

    The colour of the grab handle of the Slider element when unfocused

    sliderGrabActive: Colour4

    The colour of the grab handle of the Slider element when grabbed

    tab: Colour4

    The colour of an inactive tab header in a tab box element.

    tabActive: Colour4

    The colour of an active tab header in a tab box element.

    tabHovered: Colour4

    The colour of a tab header when moused over in a tab box element.

    tableBorderLight: Colour4

    The colour of the border separating non-header cells in a table element.

    tableBorderStrong: Colour4

    The colour of the border around a table element and its header cells.

    tableHeaderBackground: Colour4

    The colour of the header of a table.

    tableRowBackground: Colour4

    The colour of the background of rows of a table. (Only even rows if alternating rows are enabled.)

    tableRowBackgroundAlternate: Colour4

    The colour of the background of odd rows of a table, if enabled.

    tabUnfocused: Colour4

    The colour of a non-selected tab, when in an unfocused window.

    tabUnfocusedActive: Colour4

    The colour of a selected tab, when in an unfocused window.

    text: Colour4

    The default colour of text in the element and its children.

    textDisabled: Colour4

    The colour of disabled text in the element.

    textSelectedBackground: Colour4

    The highlight colour of text when selected in a input text element

    titleBackground: Colour4

    The colour of the title bar of this element when not focused.

    titleBackgroundActive: Colour4

    The colour of the title bar of this element when focused.

    titleBackgroundCollapsed: Colour4

    The colour of the title bar when the window is collapsed.

    windowBackground: Colour4

    The colour of the background of the window of this element.