cookbook: Added some judicious note elements

In some cases, there were blocks of text which
were really asides/interrupts to the flow, but
which weren't explicitly marked as such. I fixed
them by turning them into <note> blocks.
This commit is contained in:
Elliot Smith 2010-07-06 16:09:58 +01:00
parent 9a609cf629
commit 03b19af38e
2 changed files with 4 additions and 4 deletions

View File

@ -138,14 +138,14 @@ _key_press_cb (ClutterActor *actor,
</programlisting>
</informalexample>
<para>Note that Clutter provides a range of key value definitions
<note><para>Clutter provides a range of key value definitions
(like <constant>CLUTTER_Up</constant>, used above). These are
generated from the list in the
<ulink url="http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h">X.Org source code</ulink>
(replace "XK" with "CLUTTER" in the definitions there to get the
CLUTTER equivalents; alternatively, look at the
<filename>clutter-keysyms.h</filename> header file for the
list).</para>
list).</para></note>
<para><constant>CLUTTER_SHIFT_MASK</constant>,
<constant>CLUTTER_CONTROL_MASK</constant> and other modifiers are

View File

@ -146,14 +146,14 @@ cairo_destroy (cr);
</programlisting>
</informalexample>
<para>Note that if the page is larger than the Cairo context,
<note><para>If the page is larger than the Cairo context,
some of it might not be visible. Similarly, if the
<type>ClutterCairoTexture</type> is larger than the stage,
some of that might not be visible. So you
may need to do some work to make the <type>ClutterCairoTexture</type>
fit inside the stage properly (e.g. resize the stage), and/or some work
to make the PDF page sit inside the Cairo context (e.g. scale the PDF
page or put it inside a scrollable actor).</para>
page or put it inside a scrollable actor).</para></note>
</section>