puae 2.5.1b4

This commit is contained in:
Mustafa Tufan 2012-12-20 22:31:51 +02:00
parent b62c17db32
commit 83d48916cf
3 changed files with 57 additions and 0 deletions

18
src/gfx-sdl/sdlkeys_dik.h Normal file
View File

@ -0,0 +1,18 @@
#pragma once
#ifndef GFX_SDL_SDLKEYS_DIK_H_INCLUDED
#define GFX_SDL_SDLKEYS_DIK_H_INCLUDED 1
static int kc_dik_decode (int key);
extern int sdlk2dik (int key);
static int decode_dik_fr (int key);
static int decode_dik_us (int key);
static int decode_dik_de (int key);
static int decode_dik_dk (int key);
static int decode_dik_se (int key);
static int decode_dik_it (int key);
static int decode_dik_es (int key);
static int decode_dik_fi (int key);
static int decode_dik_tr (int key);
#endif // GFX_SDL_SDLKEYS_DIK_H_INCLUDED

11
src/gui-sdl/Makefile.am Normal file
View File

@ -0,0 +1,11 @@
AM_CPPFLAGS = @UAE_CPPFLAGS@
AM_CPPFLAGS += -I$(top_srcdir)/src/include -I$(top_builddir)/src -I$(top_srcdir)/src
AM_CFLAGS = @UAE_CFLAGS@
AM_CFLAGS += @SDL_CFLAGS@
noinst_LIBRARIES = libguidep.a
libguidep_a_SOURCES = inputmode.c menu.c menu_load.c menu_prefs.c \
menu_tweak.c vkbd.cpp volumecontrol.c
noinst_HEADERS = inputmode.h menu.h vkbd.h volumecontrol.h

View File

@ -0,0 +1,28 @@
#ifndef SRC_INCLUDE_GCC_WARNINGS_H_INCLUDED
#define SRC_INCLUDE_GCC_WARNINGS_H_INCLUDED 1
/* The following pragma chain can be used to temporarily silence gcc warnings.
* It has been written by Jonathan Wakely and modified by Patrick Horgan.
* See http://dbp-consulting.com/tutorials/SuppressingGCCWarnings.html for
* further information on this.
*/
#if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 402
#define GCC_DIAG_STR(s) #s
#define GCC_DIAG_JOINSTR(x,y) GCC_DIAG_STR(x ## y)
# define GCC_DIAG_DO_PRAGMA(x) _Pragma (#x)
# define GCC_DIAG_PRAGMA(x) GCC_DIAG_DO_PRAGMA(GCC diagnostic x)
# if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406
# define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(push) \
GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W,x))
# define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(pop)
# else
# define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W,x))
# define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W,x))
# endif
#else
# define GCC_DIAG_OFF(x)
# define GCC_DIAG_ON(x)
#endif
#endif /* SRC_INCLUDE_GCC_WARNINGS_H_INCLUDED */