mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/glfw/glfw: move xkb_unicode.* and X11 files
This commit is contained in:
parent
8df1b6578a
commit
bccb33236f
@ -22,8 +22,6 @@ package glfw
|
|||||||
#include "glfw/src/x11_init.c"
|
#include "glfw/src/x11_init.c"
|
||||||
#include "glfw/src/x11_monitor.c"
|
#include "glfw/src/x11_monitor.c"
|
||||||
#include "glfw/src/x11_window.c"
|
#include "glfw/src/x11_window.c"
|
||||||
#include "glfw/src/glx_context.c"
|
|
||||||
#endif
|
#endif
|
||||||
#include "glfw/src/xkb_unicode.c"
|
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include "posix_thread.h"
|
#include "posix_thread.h"
|
||||||
#include "posix_time_linbsd.h"
|
#include "posix_time_linbsd.h"
|
||||||
#include "xkb_unicode.h"
|
#include "xkb_unicode_linbsd.h"
|
||||||
#include "egl_context.h"
|
#include "egl_context.h"
|
||||||
#include "osmesa_context.h"
|
#include "osmesa_context.h"
|
||||||
|
|
||||||
|
@ -125,8 +125,8 @@ typedef XRenderPictFormat* (* PFN_XRenderFindVisualFormat)(Display*,Visual const
|
|||||||
|
|
||||||
#include "posix_thread.h"
|
#include "posix_thread.h"
|
||||||
#include "posix_time_linbsd.h"
|
#include "posix_time_linbsd.h"
|
||||||
#include "xkb_unicode.h"
|
#include "xkb_unicode_linbsd.h"
|
||||||
#include "glx_context.h"
|
#include "glx_context_linbsd.h"
|
||||||
#include "egl_context.h"
|
#include "egl_context.h"
|
||||||
#include "osmesa_context.h"
|
#include "osmesa_context.h"
|
||||||
|
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
// It is fine to use C99 in this file because it will not be built with VS
|
// It is fine to use C99 in this file because it will not be built with VS
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
//go:build (freebsd || linux || netbsd || openbsd) && !wayland
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
@ -25,6 +25,8 @@
|
|||||||
//
|
//
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
//go:build (freebsd || linux || netbsd || openbsd) && !wayland
|
||||||
|
|
||||||
#define GLX_VENDOR 1
|
#define GLX_VENDOR 1
|
||||||
#define GLX_RGBA_BIT 0x00000001
|
#define GLX_RGBA_BIT 0x00000001
|
||||||
#define GLX_WINDOW_BIT 0x00000001
|
#define GLX_WINDOW_BIT 0x00000001
|
@ -27,6 +27,8 @@
|
|||||||
// It is fine to use C99 in this file because it will not be built with VS
|
// It is fine to use C99 in this file because it will not be built with VS
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
//go:build freebsd || linux || netbsd || openbsd
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
|
|
@ -24,6 +24,8 @@
|
|||||||
//
|
//
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
//go:build freebsd || linux || netbsd || openbsd
|
||||||
|
|
||||||
#define GLFW_INVALID_CODEPOINT 0xffffffffu
|
#define GLFW_INVALID_CODEPOINT 0xffffffffu
|
||||||
|
|
||||||
uint32_t _glfwKeySym2Unicode(unsigned int keysym);
|
uint32_t _glfwKeySym2Unicode(unsigned int keysym);
|
Loading…
Reference in New Issue
Block a user