Style Slasher
A dressup combat roguelike created by Scrungle Studios for the 2025 Swinburne Capstone project.
Slasher.Editor.Conventions Class Reference
Inheritance diagram for Slasher.Editor.Conventions:
Inheritance graph
Collaboration diagram for Slasher.Editor.Conventions:
Collaboration graph

Public Member Functions

void CreateGUI ()
 

Static Public Member Functions

static void ShowExample ()
 

Private Member Functions

void ParseContent (VisualElement root, string content)
 Parses the content string line by line and adds the corresponding UI elements to the root.
 
Label GetHeader (string target, int level)
 
Label GetBody (string target)
 
VisualElement GetList (string[] points)
 
VisualElement GetOrderedList (string[] items)
 

Static Private Attributes

const string CONTENT
 
const float SIZE_MULTIPLIER = 1.2f
 

Member Function Documentation

◆ CreateGUI()

void Slasher.Editor.Conventions.CreateGUI ( )
Here is the call graph for this function:

◆ GetBody()

Label Slasher.Editor.Conventions.GetBody ( string target)
private

◆ GetHeader()

Label Slasher.Editor.Conventions.GetHeader ( string target,
int level )
private

◆ GetList()

VisualElement Slasher.Editor.Conventions.GetList ( string[] points)
private

◆ GetOrderedList()

VisualElement Slasher.Editor.Conventions.GetOrderedList ( string[] items)
private

◆ ParseContent()

void Slasher.Editor.Conventions.ParseContent ( VisualElement root,
string content )
private

Parses the content string line by line and adds the corresponding UI elements to the root.

Now supports headers, paragraphs, unordered (bullet) lists, and ordered lists.

Here is the call graph for this function:

◆ ShowExample()

static void Slasher.Editor.Conventions.ShowExample ( )
static

Member Data Documentation

◆ CONTENT

const string Slasher.Editor.Conventions.CONTENT
staticprivate

◆ SIZE_MULTIPLIER

const float Slasher.Editor.Conventions.SIZE_MULTIPLIER = 1.2f
staticprivate

The documentation for this class was generated from the following file: