소스 검색

fix header and links

mitm001 5 년 전
부모
커밋
0862bc195c
21개의 변경된 파일173개의 추가작업 그리고 245개의 파일을 삭제
  1. 5 9
      docs/modules/contributions/pages/ai/recast.adoc
  2. 1 1
      docs/modules/contributions/pages/ai/steer_behaviours.adoc
  3. 1 1
      docs/modules/contributions/pages/es/entitysystem/entitysystem.adoc
  4. 10 14
      docs/modules/contributions/pages/gui/tonegodgui/alertbox.adoc
  5. 12 16
      docs/modules/contributions/pages/gui/tonegodgui/button.adoc
  6. 10 14
      docs/modules/contributions/pages/gui/tonegodgui/checkbox.adoc
  7. 11 15
      docs/modules/contributions/pages/gui/tonegodgui/dial.adoc
  8. 10 14
      docs/modules/contributions/pages/gui/tonegodgui/dialogbox.adoc
  9. 1 1
      docs/modules/contributions/pages/gui/tonegodgui/indicator.adoc
  10. 7 11
      docs/modules/contributions/pages/gui/tonegodgui/menu.adoc
  11. 10 14
      docs/modules/contributions/pages/gui/tonegodgui/osrviewport.adoc
  12. 10 14
      docs/modules/contributions/pages/gui/tonegodgui/panel.adoc
  13. 10 14
      docs/modules/contributions/pages/gui/tonegodgui/password.adoc
  14. 10 14
      docs/modules/contributions/pages/gui/tonegodgui/radiobutton.adoc
  15. 3 7
      docs/modules/contributions/pages/gui/tonegodgui/screen.adoc
  16. 6 10
      docs/modules/contributions/pages/gui/tonegodgui/scrollarea.adoc
  17. 6 10
      docs/modules/contributions/pages/gui/tonegodgui/slider.adoc
  18. 7 11
      docs/modules/contributions/pages/gui/tonegodgui/spinner.adoc
  19. 30 34
      docs/modules/contributions/pages/gui/tonegodgui/textfield.adoc
  20. 3 7
      docs/modules/contributions/pages/gui/tonegodgui/tonegodgui.adoc
  21. 10 14
      docs/modules/contributions/pages/gui/tonegodgui/window.adoc

+ 5 - 9
docs/modules/contributions/pages/ai/recast.adoc

@@ -1,10 +1,6 @@
 = Recast Navigation for JME
-:author:
-:revnumber:
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../
-:imagesdir: ../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -236,7 +232,7 @@ There is 2 ways to get jNavigation:
 
 === Plugin
 
-You can download “stable version from link:https://github.com/QuietOne/jNavigationPlugin/tree/master[repository]
+You can download "`stable`" version from link:https://github.com/QuietOne/jNavigationPlugin/tree/master[repository]
 
 
 === Developmental project
@@ -258,7 +254,7 @@ static {
 
 ----
 
-If there is problem with building C++ project see <<jme3/advanced/building_recast#,link>>.
+If there is problem with building C++ project see xref:ai/building_recast.adoc[Building Recast].
 
 
 === Questions & Suggestions
@@ -275,6 +271,6 @@ If there is problem with building C++ project see <<jme3/advanced/building_recas
 
 ==== Useful links
 
-*  <<jme3/advanced/building_recast#,How to build the native recast bindings>>
+*  xref:ai/building_recast.adoc[How to build the native recast bindings]
 *  link:http://www.critterai.org/projects/nmgen_study/[Study: Navigation Mesh Generation]
 *  link:http://www.stevefsp.org/projects/rcndoc/prod/index.html[Documentation of C++ Recast library] It can be useful for tracing bugs.

+ 1 - 1
docs/modules/contributions/pages/ai/steer_behaviours.adoc

@@ -21,7 +21,7 @@ Be sure that you have checked the demos: They can be downloaded here: link:http:
 
 == First steps
 
-The steer behaviors AI is integrated with MonkeyBrains so before start coding be sure that you have checked the <<jme3/advanced/monkey_brains#,monkey brains documentation>>.
+The steer behaviors AI is integrated with MonkeyBrains so before start coding be sure that you have checked the xref:ai/monkey_brains.adoc[monkey brains documentation].
 
 Be sure to create a reference to MonkeyBrains from your project.
 

+ 1 - 1
docs/modules/contributions/pages/es/entitysystem/entitysystem.adoc

@@ -37,7 +37,7 @@ xref:es/entitysystem/interviews.adoc[Entity System Approaches and Interviews]
 In the future, more examples will be added to help with solving problems the Entity System way.
 
 *  xref:es/entitysystem/examples/damagesystem.adoc[Making a Damage System]
-*  <<jme3/contributions/entitysystem/examples/own_logic_thread#,Your Own Logic Thread>>
+*  xref:es/entitysystem/examples/own_logic_thread.adoc[Your Own Logic Thread]
 
 
 == Zay-ES Forum

+ 10 - 14
docs/modules/contributions/pages/gui/tonegodgui/alertbox.adoc

@@ -1,10 +1,6 @@
 = alertbox
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -12,7 +8,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 The AlertBox class extends Window, adding a scroll area for displaying messages, as well as a configurable button for closing the AlertBox.
 
-It utilizes the 3 standard constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+It utilizes the 3 standard constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 *Constructor 1:*
 
@@ -24,8 +20,8 @@ It utilizes the 3 standard constructors as shown in the <<jme3/contributions/ton
   * String UID,
   * Vector2f position
   */
- 
-AlertBox alert = new AlertBox(screen, “alert”, new Vector2f(15, 15));
+
+AlertBox alert = new AlertBox(screen, "alert", new Vector2f(15, 15));
 
 ----
 
@@ -36,8 +32,8 @@ AlertBox alert = new AlertBox(screen, “alert”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-AlertBox alert = new AlertBox(screen, “alert”, new Vector2f(15, 15),
+
+AlertBox alert = new AlertBox(screen, "alert", new Vector2f(15, 15),
     new Vector2f(400, 300)
 );
 
@@ -52,10 +48,10 @@ AlertBox alert = new AlertBox(screen, “alert”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-AlertBox alert = new AlertBox(screen, “alert”, new Vector2f(15, 15), new Vector2f(400, 300),
+
+AlertBox alert = new AlertBox(screen, "alert", new Vector2f(15, 15), new Vector2f(400, 300),
     new Vector4f(14,14,14,14),
-    “tonegod/gui/style/def/Window/panel_x.png”
+    "tonegod/gui/style/def/Window/panel_x.png"
 );
 
 ----

+ 12 - 16
docs/modules/contributions/pages/gui/tonegodgui/button.adoc

@@ -1,10 +1,6 @@
 = button
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -18,7 +14,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 *  They have default effects set for Hover, Pressed &amp; LoseFocus
 *  Buttons are an abstract class providing methods for handling user input
 
-Again, the same three options for constructor are available as show in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+Again, the same three options for constructor are available as show in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 *Constructor 1:*
 
@@ -30,8 +26,8 @@ Again, the same three options for constructor are available as show in the <<jme
   * String UID,
   * Vector2f position
   */
- 
-Button button = new Button(screen, “button”, new Vector2f(15, 15));
+
+Button button = new Button(screen, "button", new Vector2f(15, 15));
 
 ----
 
@@ -42,8 +38,8 @@ Button button = new Button(screen, “button”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-Button button = new Button(screen, “button”, new Vector2f(15, 15),
+
+Button button = new Button(screen, "button", new Vector2f(15, 15),
     new Vector2f(100, 25)
 );
 
@@ -58,10 +54,10 @@ Button button = new Button(screen, “button”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-Button button = new Button(screen, “button”, new Vector2f(15, 15), new Vector2f(100, 25),
+
+Button button = new Button(screen, "button", new Vector2f(15, 15), new Vector2f(100, 25),
     new Vector4f(5,5,5,5),
-    “tonegod/gui/style/def/Button/button_u_x.png”
+    "tonegod/gui/style/def/Button/button_u_x.png"
 );
 
 ----
@@ -130,10 +126,10 @@ button.setButtonIcon(float width, float height, String texturePath);
 button.setIsToggleButton(boolean isToggleButton); // Also provides a getter
 button.getIsToggleButton();
 button.getIsToggled();
- 
+
 // Additional state info
 button.clearAltImages();
- 
+
 // Enabling/disabling invternal calls (StillPressed event)
 button.setInterval(float intervalsPerSecond); // 0 deactivates
 

+ 10 - 14
docs/modules/contributions/pages/gui/tonegodgui/checkbox.adoc

@@ -1,10 +1,6 @@
 = checkbox
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -14,7 +10,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 *  They provide a default label (which is only added if the label text is set).
 *  They provide the abstract method onChange for executing code when the CheckBox is altered by the user.
 
-Again, the same three options for constructor are available as show in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+Again, the same three options for constructor are available as show in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 *Constructor 1:*
 
@@ -26,8 +22,8 @@ Again, the same three options for constructor are available as show in the <<jme
   * String UID,
   * Vector2f position
   */
- 
-CheckBox cb = new CheckBox(screen, “cb”, new Vector2f(15, 15));
+
+CheckBox cb = new CheckBox(screen, "cb", new Vector2f(15, 15));
 
 ----
 
@@ -38,8 +34,8 @@ CheckBox cb = new CheckBox(screen, “cb”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-CheckBox cb = new CheckBox(screen, “cb”, new Vector2f(15, 15),
+
+CheckBox cb = new CheckBox(screen, "cb", new Vector2f(15, 15),
     new Vector2f(25, 25)
 );
 
@@ -54,10 +50,10 @@ CheckBox cb = new CheckBox(screen, “cb”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-CheckBox cb = new CheckBox(screen, “cb”, new Vector2f(15, 15), new Vector2f(25, 25),
+
+CheckBox cb = new CheckBox(screen, "cb", new Vector2f(15, 15), new Vector2f(25, 25),
     new Vector4f(3,3,3,3),
-    “tonegod/gui/style/def/Button/checkbox_u_x.png”
+    "tonegod/gui/style/def/Button/checkbox_u_x.png"
 );
 
 ----

+ 11 - 15
docs/modules/contributions/pages/gui/tonegodgui/dial.adoc

@@ -1,10 +1,6 @@
 = dial
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -14,7 +10,7 @@ The Dial class provides:
 
 *  A rotating knob for selecting step values
 
-The Dial class provides the standard 3 common constructors as sown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+The Dial class provides the standard 3 common constructors as sown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 *Constructor 1:*
 
@@ -26,8 +22,8 @@ The Dial class provides the standard 3 common constructors as sown in the <<jme3
   * String UID,
   * Vector2f position
   */
- 
-Dial dial = new Dial(screen, “dial”, new Vector2f(15, 15));
+
+Dial dial = new Dial(screen, "dial", new Vector2f(15, 15));
 
 ----
 
@@ -38,8 +34,8 @@ Dial dial = new Dial(screen, “dial”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-Dial dial = new Dial(screen, “dial”, new Vector2f(15, 15),
+
+Dial dial = new Dial(screen, "dial", new Vector2f(15, 15),
     new Vector2f(35, 35)
 );
 
@@ -54,10 +50,10 @@ Dial dial = new Dial(screen, “dial”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-Dial dial = new Dial(screen, “dial”, new Vector2f(15, 15), new Vector2f(35, 35),
+
+Dial dial = new Dial(screen, "dial", new Vector2f(15, 15), new Vector2f(35, 35),
     new Vector4f(0,0,0,0),
-    “tonegod/gui/style/def/Dial/dial_x.png”
+    "tonegod/gui/style/def/Dial/dial_x.png"
 );
 
 ----
@@ -83,7 +79,7 @@ public void onChange(int selectedIndex, String value);
 // Adding removing list info
 dial.addStepValue(String value);
 dial.removeStepValue(String value);
- 
+
 // Retrieval of current selected step
 dial.getSelectedIndex();
 

+ 10 - 14
docs/modules/contributions/pages/gui/tonegodgui/dialogbox.adoc

@@ -1,10 +1,6 @@
 = dialogbox
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -12,7 +8,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 The DialogBox extends AlertBox adding a Cancel button with event handlers.
 
-It utilizes the 3 standard constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+It utilizes the 3 standard constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 *Constructor 1:*
 
@@ -24,8 +20,8 @@ It utilizes the 3 standard constructors as shown in the <<jme3/contributions/ton
   * String UID,
   * Vector2f position
   */
- 
-DialogBox dialog = new DialogBox(screen, “dialog”, new Vector2f(15, 15));
+
+DialogBox dialog = new DialogBox(screen, "dialog", new Vector2f(15, 15));
 
 ----
 
@@ -36,8 +32,8 @@ DialogBox dialog = new DialogBox(screen, “dialog”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-DialogBox dialog = new DialogBox(screen, “dialog”, new Vector2f(15, 15),
+
+DialogBox dialog = new DialogBox(screen, "dialog", new Vector2f(15, 15),
     new Vector2f(400, 300)
 );
 
@@ -52,10 +48,10 @@ DialogBox dialog = new DialogBox(screen, “dialog”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-DialogBox dialog = new DialogBox(screen, “dialog”, new Vector2f(15, 15), new Vector2f(400, 300),
+
+DialogBox dialog = new DialogBox(screen, "dialog", new Vector2f(15, 15), new Vector2f(400, 300),
     new Vector4f(14,14,14,14),
-    “tonegod/gui/style/def/Window/panel_x.png”
+    "tonegod/gui/style/def/Window/panel_x.png"
 );
 
 ----

+ 1 - 1
docs/modules/contributions/pages/gui/tonegodgui/indicator.adoc

@@ -8,7 +8,7 @@
 
 An indicator is a highly customizable progress bar, which can be used showing/displaying player stats, etc
 
-The Indicator uses the 3 standard constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>> with the addition of one extra parameter:
+The Indicator uses the 3 standard constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide] with the addition of one extra parameter:
 
 *  Orientation appended to the end of the param list for each
 

+ 7 - 11
docs/modules/contributions/pages/gui/tonegodgui/menu.adoc

@@ -1,10 +1,6 @@
 = menu
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -20,7 +16,7 @@ Features:
 *  Unlimited sub-menu mapping
 *  MenuItem toggle states (semi-work-in-progress here)
 
-Menu utilizes the standard 3 constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>> with the addition of a single boolean:
+Menu utilizes the standard 3 constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide] with the addition of a single boolean:
 
 *  isScrollable – appended to the end of the parameter list in each constructor
 
@@ -54,7 +50,7 @@ menu.removeMenuItem(String caption);
 menu.removeMenuItem(Object value);
 menu.removeFirstMenuItem();
 menu.removeLastMenuItem();
- 
+
 // Configuration related methods
 menu.setMenuOverhang(float menuOverhang);
 menu.getMenuOverhang();
@@ -65,7 +61,7 @@ menu.setPreferredSize(Vector2f preferredSize)
 //Menu item related methods
 menu.getMenuItems(); // point to menu item list
 menu.getMenuItem(int index);
- 
+
 // Hide/show methods
 menu.showMenu(Menu caller, float x, float y); // Caller is null if not show by another menu
 menu.hideMenu();
@@ -96,7 +92,7 @@ Cut &amp; Paste the code below into the simpleInitApp() method of a new JME proj
 
 flyCam.setDragToRotate(true);
 inputManager.setCursorVisible(true);
- 
+
 screen = new Screen(this);
 guiNode.addControl(screen);
 
@@ -115,7 +111,7 @@ subMenu.addMenuItem("Some string caption 2", null, null, true);
 // Add a toggle-able menu item and set the default state of the checkbox to checked
 subMenu.addMenuItem("Some string caption 3", null, null, true, true);
 screen.addElement(subMenu);
- 
+
 final Menu menu = new Menu(
     screen,
     new Vector2f(0,0),

+ 10 - 14
docs/modules/contributions/pages/gui/tonegodgui/osrviewport.adoc

@@ -1,10 +1,6 @@
 = osrviewport
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -12,7 +8,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 The OSRViewPort allows you to create a movable, resizable ViewPort with the ability to control the camera's rotation and zoom features via mouse input.
 
-To initialize the OSRViewPort you can call one of the 3 standard constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+To initialize the OSRViewPort you can call one of the 3 standard constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 *Constructor 1:*
 
@@ -24,8 +20,8 @@ To initialize the OSRViewPort you can call one of the 3 standard constructors as
   * String UID,
   * Vector2f position
   */
- 
-OSRViewPort vp = new OSRViewPort(screen, “vp”, new Vector2f(15, 15));
+
+OSRViewPort vp = new OSRViewPort(screen, "vp", new Vector2f(15, 15));
 
 ----
 
@@ -36,8 +32,8 @@ OSRViewPort vp = new OSRViewPort(screen, “vp”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-OSRViewPort vp = new OSRViewPort(screen, “vp”, new Vector2f(15, 15),
+
+OSRViewPort vp = new OSRViewPort(screen, "vp", new Vector2f(15, 15),
     new Vector2f(150, 150)
 );
 
@@ -52,8 +48,8 @@ OSRViewPort vp = new OSRViewPort(screen, “vp”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-OSRViewPort vp = new OSRViewPort(screen, “vp”, new Vector2f(15, 15), new Vector2f(150, 150),
+
+OSRViewPort vp = new OSRViewPort(screen, "vp", new Vector2f(15, 15), new Vector2f(150, 150),
     new Vector4f(0,0,0,0),
     "imagePathToOverlayImage"
 );
@@ -78,7 +74,7 @@ vp.setOSRBridge(Node newScene, int renderWidth, int renderHeight);
 
 vp.setUseCameraControlRotate(boolean rotateEnabled); // enable/disable rotation control
 vp.setUseCameraControlZoom(boolean zoomEnabled); // enable/disable zoom control
- 
+
 vp.setCameraDistance(float distance);
 vp.setCameraHorizonalRotation(float angleInRads);
 vp.setCameraVerticalRotation(float angleInRads);

+ 10 - 14
docs/modules/contributions/pages/gui/tonegodgui/panel.adoc

@@ -1,10 +1,6 @@
 = panel
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -12,7 +8,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 The Panel class extends Element and, like the Label class, it’s only purpose is to provide:
 
-.  The 3 standard constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>
+.  The 3 standard constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide]
 .  Default style information
 
 *Constructor 1:*
@@ -25,8 +21,8 @@ The Panel class extends Element and, like the Label class, it’s only purpose i
   * String UID,
   * Vector2f position
   */
- 
-Panel panel = new Panel(screen, “panel”, new Vector2f(15, 15));
+
+Panel panel = new Panel(screen, "panel", new Vector2f(15, 15));
 
 ----
 
@@ -37,8 +33,8 @@ Panel panel = new Panel(screen, “panel”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-Panel panel = new Panel(screen, “panel”, new Vector2f(15, 15),
+
+Panel panel = new Panel(screen, "panel", new Vector2f(15, 15),
     new Vector2f(400, 300)
 );
 
@@ -53,10 +49,10 @@ Panel panel = new Panel(screen, “panel”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-Panel panel = new Panel(screen, “panel”, new Vector2f(15, 15), new Vector2f(400, 300),
+
+Panel panel = new Panel(screen, "panel", new Vector2f(15, 15), new Vector2f(400, 300),
     new Vector4f(14,14,14,14),
-    “tonegod/gui/style/def/Window/panel_x.png”
+    "tonegod/gui/style/def/Window/panel_x.png"
 );
 
 ----

+ 10 - 14
docs/modules/contributions/pages/gui/tonegodgui/password.adoc

@@ -1,10 +1,6 @@
 = password
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -12,7 +8,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 The password class extends TextField and adds the ability to set a mask character.
 
-It uses the standard 3 constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+It uses the standard 3 constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 *Constructor 1:*
 
@@ -24,8 +20,8 @@ It uses the standard 3 constructors as shown in the <<jme3/contributions/tonegod
   * String UID,
   * Vector2f position
   */
- 
-Password pw = new Password(screen, “password”, new Vector2f(15, 15));
+
+Password pw = new Password(screen, "password", new Vector2f(15, 15));
 
 ----
 
@@ -36,8 +32,8 @@ Password pw = new Password(screen, “password”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-Password pw = new Password(screen, “password”, new Vector2f(15, 15),
+
+Password pw = new Password(screen, "password", new Vector2f(15, 15),
     new Vector2f(150, 25)
 );
 
@@ -52,10 +48,10 @@ Password pw = new Password(screen, “password”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-Password pw = new Password(screen, “password”, new Vector2f(15, 15), new Vector2f(150, 25),
+
+Password pw = new Password(screen, "password", new Vector2f(15, 15), new Vector2f(150, 25),
     new Vector4f(3,3,3,3),
-    “tonegod/gui/style/def/TextField/text_field_x.png”
+    "tonegod/gui/style/def/TextField/text_field_x.png"
 );
 
 ----

+ 10 - 14
docs/modules/contributions/pages/gui/tonegodgui/radiobutton.adoc

@@ -1,10 +1,6 @@
 = radiobutton
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -14,7 +10,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 *  They provide a default label (which is only added if the label text is set).
 *  They provide the abstract method onChange for executing code when the RadioButton is altered by the user.
 
-Again, the same three options for constructor are available as show in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+Again, the same three options for constructor are available as show in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 *Constructor 1:*
 
@@ -26,8 +22,8 @@ Again, the same three options for constructor are available as show in the <<jme
   * String UID,
   * Vector2f position
   */
- 
-RadioButton rb = new RadioButton(screen, “rb”, new Vector2f(15, 15));
+
+RadioButton rb = new RadioButton(screen, "rb", new Vector2f(15, 15));
 
 ----
 
@@ -38,8 +34,8 @@ RadioButton rb = new RadioButton(screen, “rb”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-RadioButton rb = new RadioButton(screen, “rb”, new Vector2f(15, 15),
+
+RadioButton rb = new RadioButton(screen, "rb", new Vector2f(15, 15),
     new Vector2f(25, 25)
 );
 
@@ -54,10 +50,10 @@ RadioButton rb = new RadioButton(screen, “rb”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-RadioButton rb = new RadioButton(screen, “rb”, new Vector2f(15, 15), new Vector2f(25, 25),
+
+RadioButton rb = new RadioButton(screen, "rb", new Vector2f(15, 15), new Vector2f(25, 25),
     new Vector4f(3,3,3,3),
-    “tonegod/gui/style/def/Button/radiobutton_u_x.png”
+    "tonegod/gui/style/def/Button/radiobutton_u_x.png"
 );
 
 ----

+ 3 - 7
docs/modules/contributions/pages/gui/tonegodgui/screen.adoc

@@ -1,16 +1,12 @@
 = screen
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
 == The Screen Class
 
-You can create a screen using one of the two provided constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+You can create a screen using one of the two provided constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 [source,java]
 ----

+ 6 - 10
docs/modules/contributions/pages/gui/tonegodgui/scrollarea.adoc

@@ -1,16 +1,12 @@
 = scrollarea
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
 == ScrollArea class
 
-Utilizes the standard 3 constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>> with the addition of a single boolean:
+Utilizes the standard 3 constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide] with the addition of a single boolean:
 
 *  isTextOnly – appended to the end of the param list for each constructor
 
@@ -28,7 +24,7 @@ The additional parameter is appended to the end of the parameter list for each o
   */
 ScrollArea scrollArea = new ScrollArea(
     screen,
-    “SomeID”,
+    "SomeID",
     new Vector2f(15, 15),
     true
 );
@@ -59,10 +55,10 @@ scrollArea.getIsTextOnly();
 scrollArea.setPadding(float padding);
 scrollArea.getPadding();
 scrollArea.getScrollableHeight();
- 
+
 // Pointer to VScrollBar
 scrollArea.getVScrollBar();
- 
+
 //Scrolling methods
 scrollArea.scrollYTo(float y);
 scrollArea.scrollYBy(float yInc);

+ 6 - 10
docs/modules/contributions/pages/gui/tonegodgui/slider.adoc

@@ -1,19 +1,15 @@
 = slider
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
 == Slider Class
 
-The Slider class provides the same 3 common contrustors shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>> with the addition of two extra parameters.
+The Slider class provides the same 3 common contrustors shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide] with the addition of two extra parameters.
 
 *  The orientation of the Slider
-*  A boolean flag telling the control whether or not the track should “surround” the thumb.
+*  A boolean flag telling the control whether or not the track should "`surround`" the thumb.
 
 The additional parameter are appended to the existing parameter list for all 3 constructors, like so:
 
@@ -30,7 +26,7 @@ The additional parameter are appended to the existing parameter list for all 3 c
   */
 Slider slider1 = new Slider(
     screen,
-    “SomeID”,
+    "SomeID",
     new Vector2f(15, 15),
     Slider.Orientation.HORIZONTAL,
     true
@@ -57,7 +53,7 @@ public void onChange(int selectedIndex, String value);
 // Adding/removing step values
 slider1.addStepValue(String value);
 slider1.removeStepValue(String value);
- 
+
 // Selected values
 slider1.getSelectedIndex();
 

+ 7 - 11
docs/modules/contributions/pages/gui/tonegodgui/spinner.adoc

@@ -1,10 +1,6 @@
 = spinner
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -17,7 +13,7 @@ The Spinner class provides:
 *  A Decrement button
 *  It can be set to cycle (when it reaches heighest step value it cycles to index 0, and reversed for decrement.
 
-The Spinner class provides the same 3 common constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>> with the addition of two extra parameters.
+The Spinner class provides the same 3 common constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide] with the addition of two extra parameters.
 
 *  The orientation of the Spinner
 *  A boolean flag enabling/disabling Spinner cycling.
@@ -37,7 +33,7 @@ The additional parameter are appended to the existing parameter list for all 3 c
   */
 Spinner spinner1 = new Spinner(
     screen,
-    “SomeID”,
+    "SomeID",
     new Vector2f(15, 15),
     Spinner.Orientation.HORIZONTAL,
     true
@@ -63,15 +59,15 @@ public void onChange(int selectedIndex, String value);
 
 // Quickly set interval info for both button
 spinner1.setInterval(float callsPerSecond);
- 
+
 // Adding removing list info
 spinner1.addStepValue(String value);
 spinner1.removeStepValue(String value);
- 
+
 // Quickly populate step values with integers/floats
 spinner1.setStepIntegerRange(int min, int max, int inc);
 spinner1.setStepFloatRange(float min, float max, float inc);
- 
+
 // Retrieval of current selected step
 spinner1.getSelectedIndex();
 

+ 30 - 34
docs/modules/contributions/pages/gui/tonegodgui/textfield.adoc

@@ -1,10 +1,6 @@
 = textfield
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -28,7 +24,7 @@ Textfields are single line text input fields, that provide the following functio
 This control is still a work in progress and will be updated as either time permits or issues arise.  There is a known issue with the Cut &amp; Paste function as of right now and it has been disabled.
 ====
 
-TextFields provide the standard 3 constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+TextFields provide the standard 3 constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 *Constructor 1:*
 
@@ -40,8 +36,8 @@ TextFields provide the standard 3 constructors as shown in the <<jme3/contributi
   * String UID,
   * Vector2f position
   */
- 
-TextField text = new TextField(screen, “text”, new Vector2f(15, 15));
+
+TextField text = new TextField(screen, "text", new Vector2f(15, 15));
 
 ----
 
@@ -52,8 +48,8 @@ TextField text = new TextField(screen, “text”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-TextField text = new TextField(screen, “text”, new Vector2f(15, 15),
+
+TextField text = new TextField(screen, "text", new Vector2f(15, 15),
     new Vector2f(150, 25)
 );
 
@@ -68,10 +64,10 @@ TextField text = new TextField(screen, “text”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-TextField text = new TextField(screen, “text”, new Vector2f(15, 15), new Vector2f(150, 25),
+
+TextField text = new TextField(screen, "text", new Vector2f(15, 15), new Vector2f(150, 25),
     new Vector4f(3,3,3,3),
-    “tonegod/gui/style/def/TextField/text_field_x.png”
+    "tonegod/gui/style/def/TextField/text_field_x.png"
 );
 
 ----
@@ -91,35 +87,35 @@ text.setType(TextField.Type type);
 [cols="2", options="header"]
 |===
 
-a| Rule 
-a| Description 
+a| Rule
+a| Description
 
-a| Type.DEFAULT 
-a| Accept all characters 
+a| Type.DEFAULT
+a| Accept all characters
 
-a| Type.ALPHA 
-a| Accept only lower case, uppercase alpha character + spacebar 
+a| Type.ALPHA
+a| Accept only lower case, uppercase alpha character + spacebar
 
-a| Type.ALPHA_NOSPACE 
-a| Accept only lower case, uppercase alpha character - no spacebar 
+a| Type.ALPHA_NOSPACE
+a| Accept only lower case, uppercase alpha character - no spacebar
 
-a| Type.NUMERIC 
-a| Accept only numeric values + decimal 
+a| Type.NUMERIC
+a| Accept only numeric values + decimal
 
-a| Type.ALPHANUMERIC 
-a| Apply both ALPHA and NUMERIC rules 
+a| Type.ALPHANUMERIC
+a| Apply both ALPHA and NUMERIC rules
 
-a| Type.ALPHANUMERIC_NOSPACE 
-a| Apply both ALPHA_NOSPACE and NUMERIC rules 
+a| Type.ALPHANUMERIC_NOSPACE
+a| Apply both ALPHA_NOSPACE and NUMERIC rules
 
-a| Type.EXCLUDE_SPECIAL 
-a| Exclude all spacial characters 
+a| Type.EXCLUDE_SPECIAL
+a| Exclude all spacial characters
 
-a| Type.EXCLUDE_CUSTOM 
-a| Exclude all user defined character (see below) 
+a| Type.EXCLUDE_CUSTOM
+a| Exclude all user defined character (see below)
 
-a| Type.INCLUDE_CUSTOM 
-a| Accept only user defined characters (see below) 
+a| Type.INCLUDE_CUSTOM
+a| Accept only user defined characters (see below)
 
 |===
 

+ 3 - 7
docs/modules/contributions/pages/gui/tonegodgui/tonegodgui.adoc

@@ -1,10 +1,6 @@
 = tonegodgui
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../
-:imagesdir: ../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -27,7 +23,7 @@ video::x8_94-A4hOM[youtube]
 
 === Quick Start
 
-<<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>
+xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide]
 
 
 === Best Practices

+ 10 - 14
docs/modules/contributions/pages/gui/tonegodgui/window.adoc

@@ -1,10 +1,6 @@
 = window
-:author: 
-:revnumber: 
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../../
-:imagesdir: ../../..
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 
@@ -12,7 +8,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 The window class provides a movable, resizable window with a Drag Bar.
 
-It provides the 3 standard constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+It provides the 3 standard constructors as shown in the xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide].
 
 *Constructor 1:*
 
@@ -24,8 +20,8 @@ It provides the 3 standard constructors as shown in the <<jme3/contributions/ton
   * String UID,
   * Vector2f position
   */
- 
-Window win = new Window(screen, win”, new Vector2f(15, 15));
+
+Window win = new Window(screen, xref:gui/tonegodgui/quickstart.adoc[Quick Start Guide]win”, new Vector2f(15, 15));
 
 ----
 
@@ -36,8 +32,8 @@ Window win = new Window(screen, “win”, new Vector2f(15, 15));
 
 /** Additional Parameter:
   * Vector2f dimensions  */
- 
-Window win = new Window(screen, “win”, new Vector2f(15, 15),
+
+Window win = new Window(screen, "win", new Vector2f(15, 15),
     new Vector2f(400, 300)
 );
 
@@ -52,10 +48,10 @@ Window win = new Window(screen, “win”, new Vector2f(15, 15),
   * Vector4f resizeBorders,
   * String defaultImg
   */
- 
-Window win = new Window(screen, “win”, new Vector2f(15, 15), new Vector2f(400, 300),
+
+Window win = new Window(screen, "win", new Vector2f(15, 15), new Vector2f(400, 300),
     new Vector4f(14,14,14,14),
-    “tonegod/gui/style/def/Window/panel_x.png”
+    "tonegod/gui/style/def/Window/panel_x.png"
 );
 
 ----