Свойство | Тип | Описание | |
---|---|---|---|
AfterDeserialized | void | ||
ResetBox | void |
Метод | Описание | |
---|---|---|
Center ( ) : void |
Centers the window according to the SadConsole.Engine.Device.Viewport size.
|
|
Hide ( ) : void |
Hides the window.
|
|
Message ( ColoredString message, string closeButtonText, System.Action closedCallback = null ) : void |
Displays a dialog to the user with a specific message.
|
|
Message ( string message, string closeButtonText, System.Action closedCallback = null ) : void |
Displays a dialog to the user with a specific message.
|
|
ProcessKeyboard ( Input info ) : bool |
Processes the keyboard looking for the ESC key press to close the console, if required. Otherwise the base ControlsConsole will process the keyboard.
|
|
ProcessMouse ( Input info ) : bool |
Processes the mouse. If allowed, will move the console around with the mouse.
|
|
Prompt ( ColoredString message, string yesPrompt, string noPrompt, Action |
Shows a window prompt with two buttons for the user to click.
|
|
Prompt ( string message, string yesPrompt, string noPrompt, Action |
Shows a window prompt with two buttons for the user to click.
|
|
Redraw ( ) : void |
Redraws the border and title of the window.
|
|
Render ( ) : void | ||
Show ( ) : void |
Displays this window using the modal value of the ModalIsDefault property.
|
|
Show ( bool modal ) : void |
Displays this window.
|
|
Window ( int width, int height ) : System |
Метод | Описание | |
---|---|---|
OnVisibleChanged ( ) : void |
Метод | Описание | |
---|---|---|
AfterDeserialized ( StreamingContext context ) : void | ||
ResetBox ( ) : void |
public static Message ( ColoredString message, string closeButtonText, System.Action closedCallback = null ) : void | ||
message | ColoredString | The message. (background color is ignored) |
closeButtonText | string | The text of the dialog's close button. |
closedCallback | System.Action | A callback indicating the message was dismissed. |
Результат | void |
public static Message ( string message, string closeButtonText, System.Action closedCallback = null ) : void | ||
message | string | The message. |
closeButtonText | string | The text of the dialog's close button. |
closedCallback | System.Action | A callback indicating the message was dismissed. |
Результат | void |
public ProcessKeyboard ( Input info ) : bool | ||
info | Input | Keyboard state. |
Результат | bool |
public ProcessMouse ( Input info ) : bool | ||
info | Input | The mouse state. |
Результат | bool |
public static Prompt ( ColoredString message, string yesPrompt, string noPrompt, Action |
||
message | ColoredString | The text to display. (background color is ignored) |
yesPrompt | string | The yes button's text. |
noPrompt | string | The no button's text. |
resultCallback | Action |
Callback with the yes (true) or no (false) result. |
Результат | void |
public static Prompt ( string message, string yesPrompt, string noPrompt, Action |
||
message | string | The text to display. |
yesPrompt | string | The yes button's text. |
noPrompt | string | The no button's text. |
resultCallback | Action |
Callback with the yes (true) or no (false) result. |
Результат | void |
public Show ( bool modal ) : void | ||
modal | bool | When true, the window will be displayed as modal; otherwise false. |
Результат | void |
public Window ( int width, int height ) : System | ||
width | int | |
height | int | |
Результат | System |