|
@@ -68,7 +68,7 @@ With the "`Fonts`" folder still selected.
|
|
|
. btn:[RMB] click `menu:New[Other>GUI>Font]`.
|
|
|
. In the `New Font` dialog, select font "`Arial`".
|
|
|
. Click the btn:[Next >] button when ready.
|
|
|
-. Accept the defaults by selecting btn:[Finish].
|
|
|
+. Accept the defaults by selecting btn:[Finish].
|
|
|
|
|
|
One XML file can contain several, or even all screens. As a reminder: Nifty displays one screen at a time; a screen contains several layers on top of one another; each layer contains panels that are embedded into another; the panels contain the actual content (text, images, or controls).
|
|
|
|
|
@@ -81,7 +81,7 @@ The following minimal XML file contains a start screen and a HUD screen. (Neithe
|
|
|
----
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<nifty xmlns="http://nifty-gui.sourceforge.net/nifty-1.3.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://nifty-gui.sourceforge.net/nifty-1.3.xsd http://nifty-gui.sourceforge.net/nifty-1.3.xsd">
|
|
|
+<nifty xmlns="http://nifty-gui.lessvoid.com/nifty-gui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://raw.githubusercontent.com/void256/nifty-gui/1.4/nifty-core/src/main/resources/nifty.xsd https://raw.githubusercontent.com/void256/nifty-gui/1.4/nifty-core/src/main/resources/nifty.xsd">
|
|
|
<screen id="start">
|
|
|
<!-- ... -->
|
|
|
</screen>
|
|
@@ -90,7 +90,6 @@ The following minimal XML file contains a start screen and a HUD screen. (Neithe
|
|
|
</screen>
|
|
|
</nifty>
|
|
|
|
|
|
-
|
|
|
----
|
|
|
|
|
|
Every Nifty +++<abbr title="Graphical User Interface">GUI</abbr>+++ must have a start screen. The others (in this example, the HUD screen) are optional.
|