Quick fix for the init_key_codes issue
This commit is contained in:
parent
1c3054d320
commit
649560ef2f
@ -18,7 +18,6 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern short int g_keycodes[512];
|
extern short int g_keycodes[512];
|
||||||
void init_keycodes(void);
|
|
||||||
void keyboard_default(struct mfb_window *window, mfb_key key, mfb_key_mod mod, bool isPressed);
|
void keyboard_default(struct mfb_window *window, mfb_key key, mfb_key_mod mod, bool isPressed);
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
#include <MiniFB_internal.h>
|
#include <MiniFB_internal.h>
|
||||||
#include <MiniFB_enums.h>
|
#include <MiniFB_enums.h>
|
||||||
|
|
||||||
|
//-------------------------------------
|
||||||
void init_keycodes();
|
void init_keycodes();
|
||||||
|
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
|
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
|
||||||
|
void init_keycodes();
|
||||||
|
|
||||||
static void
|
static void
|
||||||
destroy_window_data(SWindowData *window_data)
|
destroy_window_data(SWindowData *window_data)
|
||||||
{
|
{
|
||||||
|
@ -11,6 +11,8 @@ long s_window_style = WS_POPUP | WS_SYSMENU | WS_CAPTION;
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
void init_keycodes();
|
||||||
|
|
||||||
uint32_t translate_mod();
|
uint32_t translate_mod();
|
||||||
mfb_key translate_key(unsigned int wParam, unsigned long lParam);
|
mfb_key translate_key(unsigned int wParam, unsigned long lParam);
|
||||||
void destroy_window_data(SWindowData *window_data);
|
void destroy_window_data(SWindowData *window_data);
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
void init_keycodes(SWindowData_X11 *window_data_x11);
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
stretch_image(uint32_t *srcImage, uint32_t srcX, uint32_t srcY, uint32_t srcWidth, uint32_t srcHeight, uint32_t srcPitch,
|
stretch_image(uint32_t *srcImage, uint32_t srcX, uint32_t srcY, uint32_t srcWidth, uint32_t srcHeight, uint32_t srcPitch,
|
||||||
uint32_t *dstImage, uint32_t dstX, uint32_t dstY, uint32_t dstWidth, uint32_t dstHeight, uint32_t dstPitch);
|
uint32_t *dstImage, uint32_t dstX, uint32_t dstY, uint32_t dstWidth, uint32_t dstHeight, uint32_t dstPitch);
|
||||||
|
Loading…
Reference in New Issue
Block a user