~ubuntu-branches/ubuntu/saucy/gnash/saucy-proposed

« back to all changes in this revision

Viewing changes to testsuite/misc-swfc.all/button_test1runner.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-10-13 14:29:49 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20081013142949-f6qdvnu4mn05ltdc
Tags: 0.8.4~~bzr9980-0ubuntu1
* new upstream release 0.8.4 (LP: #240325)
* ship new lib usr/lib/gnash/libmozsdk.so.* in mozilla-plugin-gnash
  - update debian/mozilla-plugin-gnash.install
* ship new lib usr/lib/gnash/libgnashnet.so.* in gnash-common
  - update debian/gnash-common.install
* add basic debian/build_head script to build latest CVS head packages.
  - add debian/build_head
* new sound architecture requires build depend on libsdl1.2-dev
  - update debian/control
* head build script now has been completely migrated to bzr (upstream +
  ubuntu)
  - update debian/build_head
* disable kde gui until klash/qt4 has been fixed; keep kde packages as empty
  packages for now.
  - update debian/rules
  - debian/klash.install
  - debian/klash.links
  - debian/klash.manpages
  - debian/konqueror-plugin-gnash.install
* drop libkonq5-dev build dependency accordingly
  - update debian/control
* don't install headers manually anymore. gnash doesnt provide a -dev
  package after all
  - update debian/rules
* update libs installed in gnash-common; libgnashserver-*.so is not available
  anymore (removed); in turn we add the new libgnashcore-*.so
  - update debian/gnash-common.install
* use -Os for optimization and properly pass CXXFLAGS=$(CFLAGS) to configure
  - update debian/rules
* touch firefox .autoreg in postinst of mozilla plugin
  - update debian/mozilla-plugin-gnash.postinst
* link gnash in ubufox plugins directory for the plugin alternative switcher
  - add debian/mozilla-plugin-gnash.links
* suggest ubufox accordingly
  - update debian/control
* add new required build-depends on libgif-dev
  - update debian/control
* add Xb-Npp-Description and Xb-Npp-File as new plugin database meta data
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "GnashException.h"
25
25
#include "sprite_instance.h"
26
26
#include "character.h"
27
 
#include "dlist.h"
 
27
#include "DisplayList.h"
28
28
#include "log.h"
29
29
#include "Point2d.h"
30
30
#include "VM.h"
74
74
        rgba green(0,255,0,255);
75
75
        rgba red(255,0,0,255);
76
76
 
77
 
        typedef geometry::Point2d<int> intpoint;
78
 
 
79
77
        // A point on the visible green button
80
 
        intpoint visibleGreen(100, 260);
 
78
        point visibleGreen(100, 260);
81
79
 
82
80
        // A point on the BIG green button, but not on the small one
83
 
        intpoint bigGreen(100, 352);
 
81
        point bigGreen(100, 352);
84
82
 
85
83
        // A point on the yellow box, overlapping the green button
86
 
        intpoint yellowOnGreen(127, 256);
 
84
        point yellowOnGreen(127, 256);
87
85
 
88
86
        // A point on the yellow box, not overlapping the green button
89
 
        intpoint yellowOffGreen(136, 231);
 
87
        point yellowOffGreen(136, 231);
90
88
 
91
89
        // A point on the BIG yellow box, not overlapping the green button,
92
90
        // would be on the small red box...
93
 
        intpoint bigYellowOffGreen(294,365);
 
91
        point bigYellowOffGreen(294,365);
94
92
 
95
93
        // A point on the red box, but out of the red button hit area
96
 
        intpoint redNoHit(241, 351);
 
94
        point redNoHit(241, 351);
97
95
 
98
96
        // A point on the BIG red button, but not on the small one
99
 
        intpoint bigRedNoHit(330, 397);
 
97
        point bigRedNoHit(330, 397);
100
98
 
101
99
        //----------------------------------------
102
100
        // Test starts