mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
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:
parent
9a609cf629
commit
03b19af38e
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user