[gimp-help-2] Add tools presets



commit 9bec49cbe04f572f02722727485e290521cf39a0
Author: Julien Hardelin <jm hard wanadoo fr>
Date:   Sun Apr 1 08:14:51 2012 +0200

    Add tools presets

 images/C/dialogs/tool-preset-editor.png        |  Bin 0 -> 10569 bytes
 images/C/dialogs/tool-presets-dialog.png       |  Bin 0 -> 8113 bytes
 images/C/menus/presets-dialog-context-menu.png |  Bin 0 -> 4832 bytes
 images/C/toolbox/presets-buttons.png           |  Bin 0 -> 3802 bytes
 images/common/gimp-splash.png                  |  Bin 105088 -> 105078 bytes
 src/concepts/tools-presets.xml                 |   54 ++++++++
 src/dialogs/dialogs-misc.xml                   |    2 +
 src/dialogs/tagging.xml                        |    5 +-
 src/dialogs/tool-preset-editor.xml             |   83 +++++++++++
 src/dialogs/tool-presets-dialog.xml            |  175 ++++++++++++++++++++++++
 10 files changed, 317 insertions(+), 2 deletions(-)
---
diff --git a/images/C/dialogs/tool-preset-editor.png b/images/C/dialogs/tool-preset-editor.png
new file mode 100755
index 0000000..1915499
Binary files /dev/null and b/images/C/dialogs/tool-preset-editor.png differ
diff --git a/images/C/dialogs/tool-presets-dialog.png b/images/C/dialogs/tool-presets-dialog.png
new file mode 100755
index 0000000..6aecfbc
Binary files /dev/null and b/images/C/dialogs/tool-presets-dialog.png differ
diff --git a/images/C/menus/presets-dialog-context-menu.png b/images/C/menus/presets-dialog-context-menu.png
new file mode 100755
index 0000000..f3f3d42
Binary files /dev/null and b/images/C/menus/presets-dialog-context-menu.png differ
diff --git a/images/C/toolbox/presets-buttons.png b/images/C/toolbox/presets-buttons.png
new file mode 100755
index 0000000..bdb6c04
Binary files /dev/null and b/images/C/toolbox/presets-buttons.png differ
diff --git a/images/common/gimp-splash.png b/images/common/gimp-splash.png
old mode 100644
new mode 100755
index 9e0aa54..2cd016e
Binary files a/images/common/gimp-splash.png and b/images/common/gimp-splash.png differ
diff --git a/src/concepts/tools-presets.xml b/src/concepts/tools-presets.xml
new file mode 100755
index 0000000..a2c9138
--- /dev/null
+++ b/src/concepts/tools-presets.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+                       "http://www.docbook.org/xml/4.3/docbookx.dtd";>
+<!--Section history
+  2012-03-28 j.h: created
+-->
+
+<sect1 id="gimp-tools-presets">
+  <title>Presets</title>
+
+  <indexterm>
+    <primary>Presets</primary>
+    <secondary>Introduction</secondary>
+  </indexterm>
+
+  <para>
+    If you often use tools with particular settings, presets are for you. You
+    can save these settings and get them back when you want.
+  </para>
+
+  <para>
+    Paint tools, which are normally in Toolbox, have a preset system that have
+    been much improved with <acronym>GIMP</acronym>-2.8. Color tools (except
+    Posterize and Desaturate), which are not normally in Toolbox, have there 
+    own preset system. But, if you add these color tools to Toolbox through 
+    Preferences, you can also create presets for them, according to the same 
+    preset system as for paint tools.
+  </para>
+
+  <para>
+    Four buttons at the bottom of all tools options dialogs allow you to save,
+    restore, delete or reset presets.
+    <mediaobject>
+      <imageobject>
+        <imagedata fileref="images/toolbox/presets-buttons.png" format="PNG"/>
+      </imageobject>
+    </mediaobject>
+  </para>
+
+  <para>
+    Paint tool presets are described in <xref linkend="gimp-presets-dialog"/>.
+  </para>
+
+  <para>
+    Color tool presets are described in Color tools overview.<!--Lien Ã
+crÃer-->
+  </para>
+
+</sect1>
+
+
+    
+
+  
\ No newline at end of file
diff --git a/src/dialogs/dialogs-misc.xml b/src/dialogs/dialogs-misc.xml
index 5734a66..1a529b4 100755
--- a/src/dialogs/dialogs-misc.xml
+++ b/src/dialogs/dialogs-misc.xml
@@ -9,6 +9,8 @@
 <sect1 xmlns:xi="http://www.w3.org/2001/XInclude"; id="gimp-dialogs-misc">
   <title>Misc. Dialogs</title>
   <xi:include href="tools-dialog.xml"/>
+  <xi:include href="tool-presets-dialog.xml"/>
+  <xi:include href="tool-preset-editor.xml"/>
   <xi:include href="device-status-dialog.xml"/>
   <xi:include href="error-console.xml"/>
   <xi:include href="save-file-dialog.xml"/>
diff --git a/src/dialogs/tagging.xml b/src/dialogs/tagging.xml
index 6fe8106..9cf286c 100755
--- a/src/dialogs/tagging.xml
+++ b/src/dialogs/tagging.xml
@@ -14,8 +14,9 @@
   </indexterm>
   
   <para>
-    In Brushes, Gradients, Patterns and Palettes dialogs, you can define
-    tags and then, you can reorganize items according to chosen tags only.
+    In Brushes, Gradients, Patterns and Palettes dialogs and some other
+    dockable dialogs, you can define tags and then, you can reorganize items
+    according to chosen tags only.
   </para>
   
   <para>
diff --git a/src/dialogs/tool-preset-editor.xml b/src/dialogs/tool-preset-editor.xml
new file mode 100755
index 0000000..13466a7
--- /dev/null
+++ b/src/dialogs/tool-preset-editor.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+                       "http://www.docbook.org/xml/4.3/docbookx.dtd";>
+<!--Section history
+  2012-03-31 j.h: created
+-->
+
+<sect2 id="tool-preset-editor">
+  <title>Tool Preset Editor</title>
+
+  <indexterm>
+    <primary>Presets</primary>
+    <secondary>Tool Preset Editor</secondary>
+  </indexterm>
+
+  <figure>
+    <title>The Tool Preset Editor</title>
+    <mediaobject>
+      <imageobject>
+        <imagedata fileref="images/dialogs/tool-preset-editor.png"
+format="PNG"/>
+      </imageobject>
+    </mediaobject>
+  </figure>
+
+  <sect3>
+    <title>Activating the Dialog</title>
+    <para>
+      You can access this dialog through:
+      <itemizedlist>
+        <listitem>
+          <para>
+            a click on the <guibutton>Edit this tool preset</guibutton> button
+            in the button bar of the Tool Presets Dialog.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            a double-click on a preset icon in the Tool Presets Dialog.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            a right-click on a preset in the Tool Presets Dialog to open a
+            context menu and then click on the <guilabel>Edit Tool
+            Preset</guilabel> command.
+          </para>
+        </listitem>
+      </itemizedlist>
+    </para>
+  </sect3>
+
+  <sect3>
+    <title>Using the Tool Preset Editor</title>
+    <para>
+      You can edit presets you have created only; all options of predefined
+      presets are grayed out and disabled.
+    </para>
+    <para>
+      In this dialog you can:
+      <itemizedlist>
+        <listitem>
+          <para>
+            <emphasis role="bold">edit preset name</emphasis> in text box,
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <emphasis role="bold">change preset icon</emphasis> by clicking on
+            preset icon. This opens a window where you can choose a new icon.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <emphasis role="bold">select resources to be saved</emphasis> by
+             clicking on check boxes.
+          </para>
+        </listitem>
+      </itemizedlist>
+    </para>
+  </sect3>
+</sect2>
+
diff --git a/src/dialogs/tool-presets-dialog.xml b/src/dialogs/tool-presets-dialog.xml
new file mode 100755
index 0000000..aa62fd3
--- /dev/null
+++ b/src/dialogs/tool-presets-dialog.xml
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+                       "http://www.docbook.org/xml/4.3/docbookx.dtd";>
+<!--Section history
+  2012-03-29 j.h: created
+-->
+
+<sect2 id="gimp-presets-dialog">
+  <title>Tool Presets Dialog</title>
+
+  <indexterm>
+    <primary>Presets</primary>
+    <secondary>Presets Dialog</secondary>
+  </indexterm>
+
+  <para>
+    In <acronym>GIMP</acronym>-2.6, tool presets were not easy to use. You had
+    to click on a tool first, and then click on the <guibutton>Restore
+    Presets...</guibutton> button in the button bar at the bottom of the Tool
+    options dialog... if you had not disabled this button bar in the Tab menu
+    to make place on your desk! Now, with <acronym>GIMP</acronym>-2.8, a
+    dockable Tool Presets Dialog is available where you just have to click on a
+    preset to open the corresponding tool with its saved options.
+  </para>
+  
+  <figure>
+    <title>The Tool Presets Dialog</title>
+    <mediaobject>
+      <imageobject>
+        <imagedata fileref="images/dialogs/tool-presets-dialog.png"
+format="PNG"/>
+      </imageobject>
+    </mediaobject>
+  </figure>
+
+  <sect3>
+    <title>Activating the Dialog</title>
+    <para>
+      The <quote>Tool Presets Dialog</quote> is a dockable dialog; see the
+      section <xref linkend="gimp-concepts-docks"/> for help on manipulating
+      it.
+    </para>
+    <para>
+      You can access it:
+      <itemizedlist>
+        <listitem>
+          <para>
+            from an image menu:
+            <menuchoice>
+              <guimenu>Windows</guimenu>
+              <guisubmenu>Dockable Dialogs</guisubmenu>
+              <guimenuitem>Tool Presets</guimenuitem>
+            </menuchoice>;
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            or, as a tab in Toolbox window, through
+            <menuchoice>
+              <guimenu>Tab Menu</guimenu>
+              <guisubmenu>Add Tab</guisubmenu>
+              <guimenuitem>Tool Presets</guimenuitem>
+            </menuchoice>.
+          </para>
+        </listitem>
+      </itemizedlist>
+    </para>
+  </sect3>
+
+  <sect3>
+    <title>Using the Tool Presets Dialog</title>
+    <para>
+      This dialog comes with a list of predefined presets. Each of them has an
+      icon representing the tool presets will be applied to and a name.
+    </para>
+    <para>
+      Presets can be tagged so that you can arrange presets display as
+      you want. Please see <xref linkend="gimp-tagging"/> for more information
+      about tagging.
+    </para>
+    <para>
+      Double-clicking on a preset icon opens the Tool Preset Editor.
+    </para>
+    <para>
+      Double-clicking on preset name allows you to edit this name.
+    </para>
+    <para>
+      At the bottom of the dialog appear four buttons:
+      <itemizedlist>
+        <listitem >
+          <para>
+            <guilabel>Edit this tool preset</guilabel>: clicking on this button
+            opens the Tool Preset Editor for the selected preset. You can
+            actually edit presets you have created; predefined presets options
+            are all grayed out and inactive. But you can create a new preset
+            from a predefined preset and edit its options.
+            <mediaobject>
+              <imageobject>
+                <imagedata fileref="images/dialogs/tool-preset-editor.png"
+    format="PNG"/>
+              </imageobject>
+            </mediaobject>
+            The Tool Preset Editor is described in
+              <xref linkend="tool-preset-editor"/>.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <guilabel>Create a new tool preset</guilabel>: before clicking on
+            this button, you can either select an existing preset, or select a
+            tool in Toolbox, for example the Healing Tool which is not in the 
+            presets list. A new preset is created at the top of the dialog and
+            the Tool Preset Editor is opened. Please see
+            <xref linkend="tool-preset-editor"/>.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <guilabel>Delete this tool preset</guilabel>: this button is active
+            only for presets you have created.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <guilabel>Refresh tool presets</guilabel>: If you have added a
+            preset manually in gimp/2.0/tool-presets folder, you have to click
+            on this button to include it in the presets list.
+          </para>
+          <note>
+            <para>
+            With <acronym>GIMP</acronym>-2.8, tool presets are saved in a new
+            format (.gtp). To use your 2.6 presets, you have to convert them
+            using
+       <ulink url="http://wiki.gimp.org/index.php/Mindstorm:Preset_converter"/>,
+            until it is included in GIMP.
+            </para>
+          </note>
+        </listitem>
+      </itemizedlist>
+    </para>
+  </sect3>
+
+  <sect3>
+    <title>The Tool Presets Dialog Context Menu</title>
+    <mediaobject>
+      <imageobject>
+        <imagedata fileref="images/menus/presets-dialog-context-menu.png"
+format="PNG"/>
+      </imageobject>
+    </mediaobject>
+
+    <para>
+      Right-clicking on the Presets Dialog opens a context menu where you find
+      some commands already described with buttons: Edit tool preset, New tool
+      preset, Refresh tool presets. You also find two new commands:
+      <itemizedlist>
+        <listitem>
+          <para>
+            <guilabel>Duplicate Tool Preset</guilabel>: this command is always
+            disabled. It is not necessary since, as we saw above, a duplicate
+            is automatically created when you create a new preset from an
+            existing preset.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <guilabel>Copy Tool Preset Location</guilabel>: this command copies
+            the path to the tool preset file into clipboard.
+          </para>
+        </listitem>
+      </itemizedlist>
+    </para>
+  </sect3>
+</sect2>
+    
\ No newline at end of file



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]