cookbook: Made stage slightly smaller for scroll event example

Reduced the size of the stage to make for a smaller video.
This commit is contained in:
Elliot Smith 2010-08-11 17:11:29 +01:00
parent f5db4943de
commit 1cfa87853a

View File

@ -1,6 +1,6 @@
#include <clutter/clutter.h> #include <clutter/clutter.h>
#define STAGE_HEIGHT 400 #define STAGE_HEIGHT 300
#define STAGE_WIDTH STAGE_HEIGHT #define STAGE_WIDTH STAGE_HEIGHT
#define SCROLL_AMOUNT STAGE_HEIGHT * 0.125 #define SCROLL_AMOUNT STAGE_HEIGHT * 0.125