Skip to content

Commit

Permalink
Added Fx keys to AbstractExample.
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Apr 9, 2012
1 parent 996a957 commit e2e46ae
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/AbstractExample.h
Expand Up @@ -36,6 +36,18 @@ class AbstractExample {
Down = GLUT_KEY_DOWN, /**< Down arrow */
Left = GLUT_KEY_LEFT, /**< Left arrow */
Right = GLUT_KEY_RIGHT, /**< Right arrow */
F1 = GLUT_KEY_F1, /**< F1 */
F2 = GLUT_KEY_F2, /**< F2 */
F3 = GLUT_KEY_F3, /**< F3 */
F4 = GLUT_KEY_F4, /**< F4 */
F5 = GLUT_KEY_F5, /**< F5 */
F6 = GLUT_KEY_F6, /**< F6 */
F7 = GLUT_KEY_F7, /**< F7 */
F8 = GLUT_KEY_F8, /**< F8 */
F9 = GLUT_KEY_F9, /**< F9 */
F10 = GLUT_KEY_F10, /**< F10 */
F11 = GLUT_KEY_F11, /**< F11 */
F12 = GLUT_KEY_F12, /**< F12 */
Home = GLUT_KEY_HOME, /**< Home */
End = GLUT_KEY_END, /**< End */
PageUp = GLUT_KEY_PAGE_UP, /**< Page up */
Expand Down
1 change: 1 addition & 0 deletions src/viewer/ViewerExample.cpp
Expand Up @@ -93,6 +93,7 @@ class ViewerExample: public FpsCounterExample {

setFpsCounterEnabled(!fpsCounterEnabled());
break;
default: break;
}

redraw();
Expand Down

0 comments on commit e2e46ae

Please sign in to comment.