~ubuntu-branches/ubuntu/wily/box2d/wily

« back to all changes in this revision

Viewing changes to Box2D/Testbed/Tests/Confined.h

  • Committer: Package Import Robot
  • Author(s): Markus Koschany
  • Date: 2014-05-30 18:42:02 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140530184202-hosw11agojg02ac3
Tags: 2.3.1+ds-1
* Imported Upstream version 2.3.1+ds.
* Fix debian/watch to determine new releases by parsing
  the SVN tags of upstream's version control system.
* Update get-orig-source target for new release.
* dh_strip override: Replace $VER variable with 2.3.0 string.
* debian/copyright: Add new Public Domain and Apache 2.0 license.
* libbox2d-dev.install:
  - Install *.cmake files in /usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Box2D.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
                body->CreateFixture(&fd);
103
103
        }
104
104
 
105
 
        void Keyboard(unsigned char key)
 
105
        void Keyboard(int key)
106
106
        {
107
107
                switch (key)
108
108
                {
109
 
                case 'c':
 
109
                case GLFW_KEY_C:
110
110
                        CreateCircle();
111
111
                        break;
112
112
                }
154
154
                        }
155
155
                }
156
156
 
157
 
                m_debugDraw.DrawString(5, m_textLine, "Press 'c' to create a circle.");
 
157
                g_debugDraw.DrawString(5, m_textLine, "Press 'c' to create a circle.");
158
158
                m_textLine += DRAW_STRING_NEW_LINE;
159
159
        }
160
160