removed DEBUGGL output, Q key quits, set svn:ignore

git-svn-id: svn://anubis/misc/wfobj-view@35 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh 2008-02-13 02:32:29 +00:00
parent affd61f6be
commit d476dd822f
2 changed files with 3 additions and 1 deletions

View File

@ -128,6 +128,8 @@ void Viewer::run()
{ {
if (event.key.keysym.sym == SDLK_ESCAPE) if (event.key.keysym.sym == SDLK_ESCAPE)
break; break;
if (event.key.keysym.sym == SDLK_q)
break;
} }
else if (event.type == SDL_MOUSEBUTTONDOWN) else if (event.type == SDL_MOUSEBUTTONDOWN)
{ {

View File

@ -14,7 +14,7 @@
using namespace std; using namespace std;
#define WHITESPACE " \n\r\t\v" #define WHITESPACE " \n\r\t\v"
#define DEBUGGL //#define DEBUGGL
/****** static functions ******/ /****** static functions ******/