From 03b19af38ecbf7f51188317c20a368ef24cb448f Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Tue, 6 Jul 2010 16:09:58 +0100 Subject: [PATCH] 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 blocks. --- doc/cookbook/events.xml | 4 ++-- doc/cookbook/textures.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/cookbook/events.xml b/doc/cookbook/events.xml index 16744ace9..ae17af285 100644 --- a/doc/cookbook/events.xml +++ b/doc/cookbook/events.xml @@ -138,14 +138,14 @@ _key_press_cb (ClutterActor *actor, - Note that Clutter provides a range of key value definitions + Clutter provides a range of key value definitions (like CLUTTER_Up, used above). These are generated from the list in the X.Org source code (replace "XK" with "CLUTTER" in the definitions there to get the CLUTTER equivalents; alternatively, look at the clutter-keysyms.h header file for the - list). + list). CLUTTER_SHIFT_MASK, CLUTTER_CONTROL_MASK and other modifiers are diff --git a/doc/cookbook/textures.xml b/doc/cookbook/textures.xml index 33903d8ce..f839edb33 100644 --- a/doc/cookbook/textures.xml +++ b/doc/cookbook/textures.xml @@ -146,14 +146,14 @@ cairo_destroy (cr); - Note that if the page is larger than the Cairo context, + If the page is larger than the Cairo context, some of it might not be visible. Similarly, if the ClutterCairoTexture is larger than the stage, some of that might not be visible. So you may need to do some work to make the ClutterCairoTexture 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). + page or put it inside a scrollable actor).