Using _UI suffix for better understanding.

This commit is contained in:
evilynux 2007-01-10 05:04:57 +00:00
parent 1d9b17bd18
commit 8a718d5f27
4 changed files with 12 additions and 4 deletions

View File

@ -3,6 +3,10 @@
#include <string.h>
#include <libgen.h>
#ifndef CLI_UI
#define CLI_UI
#endif
#include "../MMU.h"
#include "../NDSSystem.h"
#include "../cflash.h"

View File

@ -125,7 +125,7 @@ u16 process_ctrls_events(u16 keypad)
break;
/* When GTK is in use, the keyboard, mouse and quit events are handled by GTK. */
#ifndef GTK
#ifndef GTK_UI
case SDL_KEYDOWN:
switch (event.key.keysym.sym)
{
@ -157,7 +157,7 @@ u16 process_ctrls_events(u16 keypad)
case '.': RM_KEY( keypad, 0x100); break;
}
break;
#endif
#endif // GTK_UI
default:
break;
}

View File

@ -22,7 +22,9 @@
#ifndef __GLOBALS_H__
#define __GLOBALS_H__
#define GTK
#ifndef GTK_UI
#define GTK_UI
#endif
#include <stdio.h>
#include <stdlib.h>

View File

@ -23,7 +23,9 @@
#ifndef GLOBALS_H
#define GLOBALS_H
#define GTK
#ifndef GTK_UI
#define GTK_UI
#endif
#include <stdio.h>
#include <stdlib.h>