|
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) |
|
◆ CreateGUI()
void Slasher.Editor.Conventions.CreateGUI |
( |
| ) |
|
◆ 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.
◆ ShowExample()
static void Slasher.Editor.Conventions.ShowExample |
( |
| ) |
|
|
static |
◆ 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: