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.
Inherited Members
Namespace: PopcorningGuineaPig.Engine.UI
Assembly: PopcorningGuineaPig.Engine.dll
Syntax
public static class DropdownRenderer
Methods
| Edit this page View SourceClearQueue()
Clears all queued dropdowns without rendering them
Declaration
public static void ClearQueue()
HasQueuedDropdowns()
Checks if there are any queued dropdowns to render
Declaration
public static bool HasQueuedDropdowns()
Returns
| Type | Description |
|---|---|
| bool |
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 |
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()