summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/techspecs/layout_files.rst
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-11-26 13:47:02 +1100
committer Vas Crabb <vas@vastheman.com>2020-11-26 13:47:02 +1100
commite8998a9236992afa5c1fa4a41beaad534209faf9 (patch)
treefa0ed2d8697d32d8d5033d35ceaa5fe92cc864d9 /docs/source/techspecs/layout_files.rst
parent149a2523fe9db23120b48f2e5596219733c7a5e7 (diff)
-luaengine_render.cpp: Work around MSVC ambiguous overload error.
-docs: Clean up a little. * Includes typo fixes from Alexander Miller.
Diffstat (limited to 'docs/source/techspecs/layout_files.rst')
-rw-r--r--docs/source/techspecs/layout_files.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/source/techspecs/layout_files.rst b/docs/source/techspecs/layout_files.rst
index 69e978713d6..7581d7f332e 100644
--- a/docs/source/techspecs/layout_files.rst
+++ b/docs/source/techspecs/layout_files.rst
@@ -602,8 +602,8 @@ the state of an active-high output:
.. code-block:: XML
<element name="led" defstate="0">
- <rect state="0"><color red="0.43" green="0.35" blue="0.39" /></rect>
- <rect state="1"><color red="1.0" green="0.18" blue="0.20" /></rect>
+ <disk state="0"><color red="0.43" green="0.35" blue="0.39" /></disk>
+ <disk state="1"><color red="1.0" green="0.18" blue="0.20" /></disk>
</element>
An example element for a button that gives visual feedback when clicked:
@@ -773,7 +773,7 @@ The ``orientation`` element supports the following attributes, all of which are
optional:
rotate
- If present, applies clockwise rotation in ninety degree implements. Must be
+ If present, applies clockwise rotation in ninety degree increments. Must be
an integer equal to 0, 90, 180 or 270.
swapxy
Allows the screen, element or group to be mirrored along a line at
@@ -1419,7 +1419,7 @@ in case of an I/O error. If an output file name is specified, the file will be
created/overwritten on success or removed on failure.
To check a layout file for common errors, run the script with the path to the
-file no check and no output file name or base variable name. For example:
+file to check and no output file name or base variable name. For example:
**python scripts/build/complay.py artwork/dino/default.lay**