~oem-solutions-group/unity-2d/clutter-1.0

« back to all changes in this revision

Viewing changes to tests/conform/test-pick.c

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2010-03-21 13:27:56 UTC
  • mto: (2.1.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100321132756-nf8yd30yxo3zzwcm
Tags: upstream-1.2.2
ImportĀ upstreamĀ versionĀ 1.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
#include "test-conform-common.h"
4
4
 
5
 
#define STAGE_WIDTH  320
6
 
#define STAGE_HEIGHT 200
 
5
#define STAGE_WIDTH  640
 
6
#define STAGE_HEIGHT 480
7
7
#define ACTORS_X 12
8
8
#define ACTORS_Y 16
9
9
 
127
127
 
128
128
  state.stage = clutter_stage_get_default ();
129
129
 
130
 
  clutter_actor_set_size (state.stage, STAGE_WIDTH, STAGE_HEIGHT);
131
130
  state.actor_width = STAGE_WIDTH / ACTORS_X;
132
131
  state.actor_height = STAGE_HEIGHT / ACTORS_Y;
133
132