mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-07 23:41:47 +02:00
Improve XML summary formatting in RenderCommandType and YesNtWindowStatements
This commit is contained in:
@@ -1,12 +1,14 @@
|
|||||||
namespace RemSox.UI.GUI.Rendering;
|
namespace RemSox.UI.GUI.Rendering;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Render command opcodes, grouped by category:
|
/// <para>Render command opcodes, grouped by category:</para>
|
||||||
/// 0x01–0x0F System/setup
|
/// <para>
|
||||||
/// 0x10–0x1F Window lifecycle
|
/// 0x01–0x0F System/setup<br/>
|
||||||
/// 0x20–0x2F Primitives lifecycle
|
/// 0x10–0x1F Window lifecycle<br/>
|
||||||
/// 0x30–0x3F Primitives draw
|
/// 0x20–0x2F Primitives lifecycle<br/>
|
||||||
|
/// 0x30–0x3F Primitives draw<br/>
|
||||||
/// 0x40+ Future expansion
|
/// 0x40+ Future expansion
|
||||||
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public enum RenderCommandType : byte
|
public enum RenderCommandType : byte
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -15,21 +15,27 @@ using ShapesRectangle = RemSox.UI.GUI.UIEelements.Shapes.Rectangle;
|
|||||||
namespace RemSox.Utils;
|
namespace RemSox.Utils;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
/// <para>
|
||||||
/// Registers all YesNt statements that expose the WindowManager / UI element API.
|
/// Registers all YesNt statements that expose the WindowManager / UI element API.
|
||||||
///
|
/// </para>
|
||||||
|
/// <para>
|
||||||
/// All ui_* and win_* statements support two argument styles:
|
/// All ui_* and win_* statements support two argument styles:
|
||||||
/// positional: ui_rect ${id} 20 20 100 60 0 128 255
|
/// <br/> positional: ui_rect ${id} 20 20 100 60 0 128 255
|
||||||
/// named: ui_rect ${id} x=20 y=20 w=100 h=60 r=0 g=128 b=255
|
/// <br/> named: ui_rect ${id} x=20 y=20 w=100 h=60 r=0 g=128 b=255
|
||||||
///
|
/// </para>
|
||||||
|
/// <para>
|
||||||
/// Commas are treated as whitespace in both modes, so you can write:
|
/// Commas are treated as whitespace in both modes, so you can write:
|
||||||
/// ui_rect ${id} x=20,y=20,w=100,h=60,r=0,g=128,b=255
|
/// <br/> ui_rect ${id} x=20,y=20,w=100,h=60,r=0,g=128,b=255
|
||||||
///
|
/// </para>
|
||||||
|
/// <para>
|
||||||
/// If any argument contains '=', the statement parses in named mode
|
/// If any argument contains '=', the statement parses in named mode
|
||||||
/// (order-independent). Otherwise, positional mode is used.
|
/// (order-independent). Otherwise, positional mode is used.
|
||||||
///
|
/// </para>
|
||||||
|
/// <para>
|
||||||
/// Substitutions:
|
/// Substitutions:
|
||||||
/// %win_last_id expands to the id of the last created window
|
/// <br/> %win_last_id expands to the id of the last created window
|
||||||
/// %ui_last_id expands to the id of the last created UI element
|
/// <br/> %ui_last_id expands to the id of the last created UI element
|
||||||
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class YesNtWindowStatements(Process ownerProcess)
|
public class YesNtWindowStatements(Process ownerProcess)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user