Skip to content

Class LemonUI::Menus::NativePanel

ClassList > LemonUI > Menus > NativePanel

Represents a panel shown under the description of the item description.

Inherited by the following classes: LemonUI::Menus::NativeColorPanel, LemonUI::Menus::NativeGridPanel, LemonUI::Menus::NativeStatsPanel

Public Properties

Type Name
property ScaledTexture Background
The Background of the panel itself.
property bool Clickable
If the item has controls that can be clicked.
property bool Visible
If this panel is visible to the user.

Public Functions

Type Name
virtual void Process ()
Processes and Draws the panel.
virtual void Recalculate (PointF position, float width)
Recalculates the menu contents.

Public Properties Documentation

property Background

ScaledTexture LemonUI.Menus.NativePanel.Background;

property Clickable

virtual bool LemonUI.Menus.NativePanel.Clickable;

property Visible

virtual bool LemonUI.Menus.NativePanel.Visible;

Public Functions Documentation

function Process

inline virtual void LemonUI::Menus::NativePanel::Process () 

function Recalculate

Recalculates the menu contents.

inline virtual void LemonUI::Menus::NativePanel::Recalculate (
    PointF position,
    float width
) 

Parameters:

  • position The position of the panel.
  • width The width of the menu.

The documentation for this class was generated from the following file repos/LemonUI/LemonUI/Menus/NativePanel.cs