Elliot Smith
7c196d31b4
cookbook: Added scribble example for pointer motion recipe
...
Simple scribbler application which demonstrates tracking
mouse enter and motion events on a texture, drawing with
COGL and ClutterPath as they occur.
2010-08-20 12:39:48 +01:00
Elliot Smith
b648bff10c
cookbook: Renamed example for pointer crossing
...
Decided might be better to cover crossing and motion under
a broader "pointer motion" recipe, so renamed the example
(which only shows pointer crossing event handling).
2010-08-20 12:39:48 +01:00
Elliot Smith
72ddd471f0
cookbook: Added example for pointer cross recipe
...
Code example demonstrates detecting pointers entering/leaving
an actor by implementing a (very) simple button with hover
effect.
2010-08-20 12:39:48 +01:00
Emmanuele Bassi
3142b15a9f
build: Use maintainer-clean for the ignore files removal
...
Instead of distclean.
2010-08-15 18:42:54 +01:00
Emmanuele Bassi
94c8635d0f
build: Autogenerate more ignore files
...
The tests/accessibility, tests/micro-bench and the examples directory
in the coobook create a lot of non-installed binaries. Since we know who
they are, and we ignore them, we can auto-generate the ignore files as
well.
The rest of Clutter is covered by the main ignore file.
2010-08-14 08:43:16 +01:00
Elliot Smith
a74d585fc5
cookbook: Mentioned the animation in the sample code
...
Put in comments to make it clear where the animation
for the mouse scroll is coming from in the sample code.
2010-08-11 18:16:07 +01:00
Elliot Smith
1cfa87853a
cookbook: Made stage slightly smaller for scroll event example
...
Reduced the size of the stage to make for a smaller video.
2010-08-11 18:16:07 +01:00
Elliot Smith
f568a68ee1
cookbook: Added walk through of code example for mouse scroll
...
Modified the mouse scroll example to fit better with the tutorial
walkthrough.
Added a stepped walkthrough of the scrollable actor code
example.
2010-08-11 18:16:07 +01:00
Elliot Smith
5e0bc919c3
cookbook: Simplified full scroll example
...
Removed the layout and box to simplify the scrollable
actor example.
2010-08-11 18:16:07 +01:00
Elliot Smith
0f919fcbe3
cookbook: Handle all possible mouse scroll directions
...
Added empty cases for MOUSE_SCROLL_LEFT and MOUSE_SCROLL_RIGHT
to the scroll-event signal handler in the example code.
2010-08-11 18:16:07 +01:00
Elliot Smith
f1312e118d
cookbook: Build mouse scroll example with cookbook
2010-08-11 18:16:07 +01:00
Elliot Smith
241ceab73c
cookbook: Cleaned up redundant comments in code example
...
Removed comments which are only relevant in my local build
environment.
2010-08-11 18:16:07 +01:00
Elliot Smith
ec71866277
cookbook: Added basic mouse scroll recipe
...
Added a recipe explaining the basics of mouse scroll events.
2010-08-11 18:16:06 +01:00
Elliot Smith
eaed9c22da
cookbook: Added layout introduction and "stacking actors" recipe
...
Expanded the layout introduction and added a recipe about
stacking actors using ClutterBinLayout, with two examples.
2010-08-09 16:25:48 +01:00
Damien Lespiau
cbd6e047dd
cookbook: Add a recipe on how to create sub-textures
...
Fiddle with Cogl textures to create a new ClutterTexture that only
displays a rectangular region of a bigger ClutterTexture.
2010-08-06 15:43:15 +01:00
Emmanuele Bassi
8668a019a0
cookbook: Fix the text-shadow recipe
...
Fill out the recipe and add more comments to the example code.
2010-08-05 12:48:16 +01:00
Elliot Smith
12ffe70a86
cookbook: Add example code for animated rotation
...
Add example code demonstrating how to rotate in the x,y,z
axes using ClutterState. Integrated with build.
2010-07-28 11:39:59 +01:00
Emmanuele Bassi
5865d2a4b3
cookbook: Use TESTS_DATA_DIR
...
We need the correct location for redhand.png if we want to load it
in textures-reflection.
2010-07-18 22:53:56 +01:00
Emmanuele Bassi
90b74458d2
cookbook: Add an empty recipe for shadows under text
...
Currently, it's just an example and an image, but it should be easy to
flesh it out properly for the "Text" chapter.
2010-07-18 10:56:35 +01:00
Emmanuele Bassi
bb3dc013bf
cookbook: Add example code
...
The cookbook should also include fully functional code examples. We can
even XInclude them into the docbook XML itself.
The examples should be built with the coobook, so that we can always
make sure they are up to date.
2010-07-18 10:53:06 +01:00