Popcorning Guinea Pig
Search Results for

    Show / Hide Table of Contents

    Class DropdownRenderer

    Static class responsible for rendering expanded dropdown lists at the highest Z-order. This ensures dropdown options are always visible above other UI elements.

    Inheritance
    object
    DropdownRenderer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PopcorningGuineaPig.Engine.UI
    Assembly: PopcorningGuineaPig.Engine.dll
    Syntax
    public static class DropdownRenderer

    Methods

    | Edit this page View Source

    ClearQueue()

    Clears all queued dropdowns without rendering them

    Declaration
    public static void ClearQueue()
    | Edit this page View Source

    HasQueuedDropdowns()

    Checks if there are any queued dropdowns to render

    Declaration
    public static bool HasQueuedDropdowns()
    Returns
    Type Description
    bool
    | Edit this page View Source

    QueueExpandedDropdown(QueuedDropdownRender)

    Queues an expanded dropdown list for rendering at the end of the frame

    Declaration
    public static void QueueExpandedDropdown(QueuedDropdownRender dropdownData)
    Parameters
    Type Name Description
    QueuedDropdownRender dropdownData
    | Edit this page View Source

    RenderAllQueuedDropdowns()

    Renders all queued dropdown expanded lists and clears the queue. This should be called at the end of the frame after all other UI elements are drawn, but before tooltips.

    Declaration
    public static void RenderAllQueuedDropdowns()
    • Edit this page
    • View Source
    In this article
    Back to top © 2024 Popcorning Guinea Pig Game Engine. A custom C# game engine for indie developers.