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:
parent
affd61f6be
commit
d476dd822f
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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 ******/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user