MenuControl Class

Definition

Line 59 of System.Screen/Menu.cm

Inheritance

Constructors & Destructor

public nothrow MenuControl(MenuControlCreateParams& createParams)

Member Functions

public nothrow ConsoleColor DisabledColor() const
public nothrow ConsoleColor FocusedItemBackColor() const
public nothrow ConsoleColor FocusedItemForeColor() const
public nothrow MenuItem* FocusedMenuItem() const
public nothrow int Gap() const
public nothrow ConsoleColor HighlightColor() const
public nothrow bool IsChanged() const
public nothrow bool IsOpen() const
public override void OnGotFocus()
public override void OnLostFocus()
public nothrow void ResetChanged()
public virtual nothrow void ResetOpen()
public nothrow void SetChanged()
public nothrow void SetFocusedMenuItem(MenuItem* focusedMenuItem_)
public nothrow void SetOpen()

Member Variables

private ConsoleColor disabledColor
private MenuControlFlags flags
private ConsoleColor focusedItemBackColor
private ConsoleColor focusedItemForeColor
private MenuItem* focusedMenuItem
private int gap
private ConsoleColor highlightColor

Constructor& Destructor Details

MenuControl Constructor

public nothrow MenuControl(MenuControlCreateParams& createParams)

Definition
Line 61 of System.Screen/Menu.cm


Member Function Details

DisabledColor Member Function

public nothrow ConsoleColor DisabledColor()

Definition
Line 141 of System.Screen/Menu.cm


FocusedItemBackColor Member Function

public nothrow ConsoleColor FocusedItemBackColor()

Definition
Line 149 of System.Screen/Menu.cm


FocusedItemForeColor Member Function

public nothrow ConsoleColor FocusedItemForeColor()

Definition
Line 145 of System.Screen/Menu.cm


FocusedMenuItem Member Function

public nothrow MenuItem* FocusedMenuItem()

Definition
Line 157 of System.Screen/Menu.cm


Gap Member Function

public nothrow int Gap()

Definition
Line 153 of System.Screen/Menu.cm


HighlightColor Member Function

public nothrow ConsoleColor HighlightColor()

Definition
Line 137 of System.Screen/Menu.cm


IsChanged Member Function

public nothrow bool IsChanged()

Definition
Line 108 of System.Screen/Menu.cm


IsOpen Member Function

public nothrow bool IsOpen()

Definition
Line 133 of System.Screen/Menu.cm


OnGotFocus Member Function

public override void OnGotFocus()

Definition
Line 165 of System.Screen/Menu.cm


OnLostFocus Member Function

public override void OnLostFocus()

Definition
Line 169 of System.Screen/Menu.cm


ResetChanged Member Function

public nothrow void ResetChanged()

Definition
Line 112 of System.Screen/Menu.cm


ResetOpen Member Function

public virtual nothrow void ResetOpen()

Definition
Line 124 of System.Screen/Menu.cm


SetChanged Member Function

public nothrow void SetChanged()

Definition
Line 104 of System.Screen/Menu.cm


SetFocusedMenuItem Member Function

public nothrow void SetFocusedMenuItem(MenuItem* focusedMenuItem_)

Definition
Line 161 of System.Screen/Menu.cm


SetOpen Member Function

public nothrow void SetOpen()

Definition
Line 116 of System.Screen/Menu.cm