diff --git a/reference/ui/book.xml b/reference/ui/book.xml
index f731f57118..924f1e1332 100644
--- a/reference/ui/book.xml
+++ b/reference/ui/book.xml
@@ -64,6 +64,7 @@
&reference.ui.ui.draw.text.font.stretch;
&reference.ui.ui.draw.line.cap;
&reference.ui.ui.draw.line.join;
+ &reference.ui.ui.key;
-
-
-
- &reftitle.constants;
-
-
-
- UI\Draw\Line\Cap::Flat
-
-
-
-
-
-
- UI\Draw\Line\Cap::Round
-
-
-
-
-
-
- UI\Draw\Line\Cap::Square
-
-
-
-
-
-
-
-
diff --git a/reference/ui/ui.draw.line.join.xml b/reference/ui/ui.draw.line.join.xml
index 980f1c4bef..eacd50c692 100644
--- a/reference/ui/ui.draw.line.join.xml
+++ b/reference/ui/ui.draw.line.join.xml
@@ -36,54 +36,23 @@
const
integer
- UI\Draw\Line\Join::Miter
+ UI\Draw\Line\Join::Miter
const
integer
- UI\Draw\Line\Join::Round
+ UI\Draw\Line\Join::Round
const
integer
- UI\Draw\Line\Join::Bevel
+ UI\Draw\Line\Join::Bevel
-
-
-
- &reftitle.constants;
-
-
-
- UI\Draw\Line\Join::Miter
-
-
-
-
-
-
- UI\Draw\Line\Join::Round
-
-
-
-
-
-
- UI\Draw\Line\Join::Bevel
-
-
-
-
-
-
-
-
-
diff --git a/reference/ui/ui.draw.text.font.italic.xml b/reference/ui/ui.draw.text.font.italic.xml
index f530653abf..7213d75557 100644
--- a/reference/ui/ui.draw.text.font.italic.xml
+++ b/reference/ui/ui.draw.text.font.italic.xml
@@ -36,19 +36,19 @@
const
integer
- UI\Draw\Text\Font\Italic::Normal
+ UI\Draw\Text\Font\Italic::Normal
0
const
integer
- UI\Draw\Text\Font\Italic::Oblique
+ UI\Draw\Text\Font\Italic::Oblique
1
const
integer
- UI\Draw\Text\Font\Italic::Italic
+ UI\Draw\Text\Font\Italic::Italic
2
@@ -56,37 +56,6 @@
-
-
-
- &reftitle.constants;
-
-
-
- UI\Draw\Text\Font\Italic::Normal
-
-
-
-
-
-
- UI\Draw\Text\Font\Italic::Oblique
-
-
-
-
-
-
- UI\Draw\Text\Font\Italic::Italic
-
-
-
-
-
-
-
-
-
diff --git a/reference/ui/ui.draw.text.font.stretch.xml b/reference/ui/ui.draw.text.font.stretch.xml
index 07fb90214f..6dda28c2e2 100644
--- a/reference/ui/ui.draw.text.font.stretch.xml
+++ b/reference/ui/ui.draw.text.font.stretch.xml
@@ -36,55 +36,55 @@
const
integer
- UI\Draw\Text\Font\Stretch::UltraCondensed
+ UI\Draw\Text\Font\Stretch::UltraCondensed
0
const
integer
- UI\Draw\Text\Font\Stretch::ExtraCondensed
+ UI\Draw\Text\Font\Stretch::ExtraCondensed
1
const
integer
- UI\Draw\Text\Font\Stretch::Condensed
+ UI\Draw\Text\Font\Stretch::Condensed
2
const
integer
- UI\Draw\Text\Font\Stretch::SemiCondensed
+ UI\Draw\Text\Font\Stretch::SemiCondensed
3
const
integer
- UI\Draw\Text\Font\Stretch::Normal
+ UI\Draw\Text\Font\Stretch::Normal
4
const
integer
- UI\Draw\Text\Font\Stretch::SemiExpanded
+ UI\Draw\Text\Font\Stretch::SemiExpanded
5
const
integer
- UI\Draw\Text\Font\Stretch::Expanded
+ UI\Draw\Text\Font\Stretch::Expanded
6
const
integer
- UI\Draw\Text\Font\Stretch::ExtraExpanded
+ UI\Draw\Text\Font\Stretch::ExtraExpanded
7
const
integer
- UI\Draw\Text\Font\Stretch::UltraExpanded
+ UI\Draw\Text\Font\Stretch::UltraExpanded
8
@@ -92,79 +92,6 @@
-
-
-
- &reftitle.constants;
-
-
-
- UI\Draw\Text\Font\Stretch::UltraCondensed
-
-
-
-
-
-
- UI\Draw\Text\Font\Stretch::ExtraCondensed
-
-
-
-
-
-
- UI\Draw\Text\Font\Stretch::Condensed
-
-
-
-
-
-
- UI\Draw\Text\Font\Stretch::SemiCondensed
-
-
-
-
-
-
- UI\Draw\Text\Font\Stretch::Normal
-
-
-
-
-
-
- UI\Draw\Text\Font\Stretch::SemiExpanded
-
-
-
-
-
-
- UI\Draw\Text\Font\Stretch::Expanded
-
-
-
-
-
-
- UI\Draw\Text\Font\Stretch::ExtraExpanded
-
-
-
-
-
-
- UI\Draw\Text\Font\Stretch::UltraExpanded
-
-
-
-
-
-
-
-
-
diff --git a/reference/ui/ui.draw.text.font.weight.xml b/reference/ui/ui.draw.text.font.weight.xml
index 33b637fec1..5b78a9a0d5 100644
--- a/reference/ui/ui.draw.text.font.weight.xml
+++ b/reference/ui/ui.draw.text.font.weight.xml
@@ -36,150 +36,63 @@
const
integer
- UI\Draw\Text\Font\Weight::Thin
+ UI\Draw\Text\Font\Weight::Thin
const
integer
- UI\Draw\Text\Font\Weight::UltraLight
+ UI\Draw\Text\Font\Weight::UltraLight
const
integer
- UI\Draw\Text\Font\Weight::Light
+ UI\Draw\Text\Font\Weight::Light
const
integer
- UI\Draw\Text\Font\Weight::Book
+ UI\Draw\Text\Font\Weight::Book
const
integer
- UI\Draw\Text\Font\Weight::Normal
+ UI\Draw\Text\Font\Weight::Normal
const
integer
- UI\Draw\Text\Font\Weight::Medium
+ UI\Draw\Text\Font\Weight::Medium
const
integer
- UI\Draw\Text\Font\Weight::SemiBold
+ UI\Draw\Text\Font\Weight::SemiBold
const
integer
- UI\Draw\Text\Font\Weight::Bold
+ UI\Draw\Text\Font\Weight::Bold
const
integer
- UI\Draw\Text\Font\Weight::UltraBold
+ UI\Draw\Text\Font\Weight::UltraBold
const
integer
- UI\Draw\Text\Font\Weight::Heavy
+ UI\Draw\Text\Font\Weight::Heavy
const
integer
- UI\Draw\Text\Font\Weight::UltraHeavy
+ UI\Draw\Text\Font\Weight::UltraHeavy
-
-
-
- &reftitle.constants;
-
-
-
- UI\Draw\Text\Font\Weight::Thin
-
-
-
-
-
-
- UI\Draw\Text\Font\Weight::UltraLight
-
-
-
-
-
-
- UI\Draw\Text\Font\Weight::Light
-
-
-
-
-
-
- UI\Draw\Text\Font\Weight::Book
-
-
-
-
-
-
- UI\Draw\Text\Font\Weight::Normal
-
-
-
-
-
-
- UI\Draw\Text\Font\Weight::Medium
-
-
-
-
-
-
- UI\Draw\Text\Font\Weight::SemiBold
-
-
-
-
-
-
- UI\Draw\Text\Font\Weight::Bold
-
-
-
-
-
-
- UI\Draw\Text\Font\Weight::UltraBold
-
-
-
-
-
-
- UI\Draw\Text\Font\Weight::Heavy
-
-
-
-
-
-
- UI\Draw\Text\Font\Weight::UltraHeavy
-
-
-
-
-
-
-
-
-
diff --git a/reference/ui/ui.key.xml b/reference/ui/ui.key.xml
new file mode 100644
index 0000000000..0fbf105962
--- /dev/null
+++ b/reference/ui/ui.key.xml
@@ -0,0 +1,260 @@
+
+
+
+
+
+ Key Identifiers
+ UI\Key
+
+
+
+
+
+ &reftitle.intro;
+
+
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ UI\Key
+
+
+
+
+ final
+ UI\Key
+
+
+
+ Constants
+
+ const
+ integer
+ UI\Key::Escape
+
+
+ const
+ integer
+ UI\Key::Insert
+
+
+ const
+ integer
+ UI\Key::Delete
+
+
+ const
+ integer
+ UI\Key::Home
+
+
+ const
+ integer
+ UI\Key::End
+
+
+ const
+ integer
+ UI\Key::PageUp
+
+
+ const
+ integer
+ UI\Key::PageDown
+
+
+ const
+ integer
+ UI\Key::Up
+
+
+ const
+ integer
+ UI\Key::Down
+
+
+ const
+ integer
+ UI\Key::Left
+
+
+ const
+ integer
+ UI\Key::Right
+
+
+ const
+ integer
+ UI\Key::F1
+
+
+ const
+ integer
+ UI\Key::F2
+
+
+ const
+ integer
+ UI\Key::F3
+
+
+ const
+ integer
+ UI\Key::F4
+
+
+ const
+ integer
+ UI\Key::F5
+
+
+ const
+ integer
+ UI\Key::F6
+
+
+ const
+ integer
+ UI\Key::F7
+
+
+ const
+ integer
+ UI\Key::F8
+
+
+ const
+ integer
+ UI\Key::F9
+
+
+ const
+ integer
+ UI\Key::F10
+
+
+ const
+ integer
+ UI\Key::F11
+
+
+ const
+ integer
+ UI\Key::F12
+
+
+ const
+ integer
+ UI\Key::N0
+
+
+ const
+ integer
+ UI\Key::N1
+
+
+ const
+ integer
+ UI\Key::N2
+
+
+ const
+ integer
+ UI\Key::N3
+
+
+ const
+ integer
+ UI\Key::N4
+
+
+ const
+ integer
+ UI\Key::N5
+
+
+ const
+ integer
+ UI\Key::N6
+
+
+ const
+ integer
+ UI\Key::N7
+
+
+ const
+ integer
+ UI\Key::N8
+
+
+ const
+ integer
+ UI\Key::N9
+
+
+ const
+ integer
+ UI\Key::NDot
+
+
+ const
+ integer
+ UI\Key::NEnter
+
+
+ const
+ integer
+ UI\Key::NAdd
+
+
+ const
+ integer
+ UI\Key::NSubtract
+
+
+ const
+ integer
+ UI\Key::NMultiply
+
+
+ const
+ integer
+ UI\Key::NDivide
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/ui/ui/app/ontick.xml b/reference/ui/ui/app/ontick.xml
new file mode 100644
index 0000000000..5e87f092c3
--- /dev/null
+++ b/reference/ui/ui/app/ontick.xml
@@ -0,0 +1,48 @@
+
+
+
+
+
+ UI\App::onTick
+ Tick Callback
+
+
+
+ &reftitle.description;
+
+ protected UI\App::onTick
+
+
+
+ Should be executed by the main loop as appropriate
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+
+
diff --git a/reference/ui/ui/app/run.xml b/reference/ui/ui/app/run.xml
index f0e798b5d8..ebd394b401 100644
--- a/reference/ui/ui/app/run.xml
+++ b/reference/ui/ui/app/run.xml
@@ -11,8 +11,7 @@
&reftitle.description;
public UI\App::run
- booleanloop
- booleanblock
+ intflags
Will cause the App to enter into the main loop, by default control will not be returned to the caller
@@ -24,32 +23,16 @@
&reftitle.parameters;
- loop
+ flags
- Should be true if the calling script requires control to be returned so that it may loop
-
-
-
-
- block
-
-
- Used when loop is true to determine if the call to run should block
+ Should set App::Loop if control should be returned, should set App::Wait if control should be returned after waiting
-
- &reftitle.returnvalues;
-
-
-
-
-
-