~ubuntu-branches/ubuntu/precise/s3d/precise

« back to all changes in this revision

Viewing changes to libs3dw/button.c

  • Committer: Bazaar Package Importer
  • Author(s): Sven Eckelmann
  • Date: 2009-07-11 17:00:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090711170052-2lltwp4rr01e6oly
* New upstream release
* debian/control:
  - Reduce debhelper dependency to 5
  - Only depend on xmlto and docbook-xml in Build-Depends-Indep for
    arch all package s3d-doc
* debian/patches:
  - Add 100-installable-examples.patch, make example usable without
    extra headers
  - Remove upstream merged patches 100-hyphen-used-as-minus-sign.patch,
    101-fix-sigbus-on-mips.patch, 102-send-correct-load-over-net.patch,
    103-endian-safe-float.patch, 104-reduce-depends.patch,
    105-s3dfm-pathnames.patch, 106-g3dorientation.patch,
    107-fix-cmake-ftbfs.patch, 108-fix-gpsd-ftbfs.patch,
    109-strip-libs3d-parameters.patch, 110-s3dosm-api06.patch,
    111-xmlto-documentation.patch
* Install examples with libs3d-dev and libs3dw-dev
* Convert debian/copyright to new dep5 version
* Upgraded to policy 3.8.2, no changes required
* Install upstream changelogs

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        s3dw_button *button = (s3dw_button *)widget;
34
34
        float length;
35
35
        float vertices[8*3];
36
 
        u_int32_t polygons[10*4] = {
 
36
        uint32_t polygons[10*4] = {
37
37
                0, 4, 5, 0,
38
38
                0, 5, 1, 0,
39
39
                1, 5, 6, 0,
141
141
}
142
142
 
143
143
/* handle click on a button */
144
 
int s3dw_button_event_click(s3dw_widget *widget, u_int32_t oid)
 
144
int s3dw_button_event_click(s3dw_widget *widget, uint32_t oid)
145
145
{
146
146
        s3dw_button *button = (s3dw_button *)widget;
147
147
        if ((button->oid_text == oid) || (widget->oid == oid)) {