Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/rest/defpalette.txt
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
commit1030dc837b10a03a02a85d5504cbeec168ce49e2 (patch)
tree698eefa87ac437deaf36a4141b326f8ce7986692 /help/rest/defpalette.txt
Import XaoS r489 (trunk after version 3.5)
Diffstat (limited to 'help/rest/defpalette.txt')
-rw-r--r--help/rest/defpalette.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/help/rest/defpalette.txt b/help/rest/defpalette.txt
new file mode 100644
index 0000000..4b08ae9
--- /dev/null
+++ b/help/rest/defpalette.txt
@@ -0,0 +1,20 @@
+.. _defpalette:
+
+.. index::
+ pair: menu item; Default palette
+ pair: command line option; defaultpalette
+ pair: command; defaultpalette
+
+Default palette
+===============
+
+**Syntax**:(defaultpalette number)
+
+Create a default palette. In the scripting language, number specifies how much
+the palette is shifted by.
+
+Note that changing the palette in truecolor modes forces recalculation of the
+whole screen. To avoid this, you can enable the :ref:`palette emulation filter
+<palettef>` first.
+
+**Available as**: menu item, command line option, command