Fix includes for rawfb demos
This commit is contained in:
parent
6bed7c6836
commit
541348c23b
@ -45,19 +45,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef INCLUDE_STYLE
|
#ifdef INCLUDE_STYLE
|
||||||
#include "../../demo/common/style.c"
|
#include "../../common/style.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_CALCULATOR
|
#ifdef INCLUDE_CALCULATOR
|
||||||
#include "../../demo/common/calculator.c"
|
#include "../../common/calculator.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_CANVAS
|
#ifdef INCLUDE_CANVAS
|
||||||
#include "../../demo/common/canvas.c"
|
#include "../../common/canvas.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_OVERVIEW
|
#ifdef INCLUDE_OVERVIEW
|
||||||
#include "../../demo/common/overview.c"
|
#include "../../common/overview.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_NODE_EDITOR
|
#ifdef INCLUDE_NODE_EDITOR
|
||||||
#include "../../demo/common/node_editor.c"
|
#include "../../common/node_editor.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int translate_sdl_key(struct SDL_Keysym const *k)
|
static int translate_sdl_key(struct SDL_Keysym const *k)
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#define NK_INCLUDE_DEFAULT_FONT
|
#define NK_INCLUDE_DEFAULT_FONT
|
||||||
#define NK_INCLUDE_SOFTWARE_FONT
|
#define NK_INCLUDE_SOFTWARE_FONT
|
||||||
|
|
||||||
|
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
@ -75,19 +74,19 @@ struct nk_wayland {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef INCLUDE_STYLE
|
#ifdef INCLUDE_STYLE
|
||||||
#include "../../demo/common/style.c"
|
#include "../../common/style.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_CALCULATOR
|
#ifdef INCLUDE_CALCULATOR
|
||||||
#include "../../demo/common/calculator.c"
|
#include "../../common/calculator.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_CANVAS
|
#ifdef INCLUDE_CANVAS
|
||||||
#include "../../demo/common/canvas.c"
|
#include "../../common/canvas.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_OVERVIEW
|
#ifdef INCLUDE_OVERVIEW
|
||||||
#include "../../demo/common/overview.c"
|
#include "../../common/overview.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_NODE_EDITOR
|
#ifdef INCLUDE_NODE_EDITOR
|
||||||
#include "../../demo/common/node_editor.c"
|
#include "../../common/node_editor.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -126,19 +126,19 @@ sleep_for(long t)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef INCLUDE_STYLE
|
#ifdef INCLUDE_STYLE
|
||||||
#include "../../demo/common/style.c"
|
#include "../../common/style.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_CALCULATOR
|
#ifdef INCLUDE_CALCULATOR
|
||||||
#include "../../demo/common/calculator.c"
|
#include "../../common/calculator.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_CANVAS
|
#ifdef INCLUDE_CANVAS
|
||||||
#include "../../demo/common/canvas.c"
|
#include "../../common/canvas.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_OVERVIEW
|
#ifdef INCLUDE_OVERVIEW
|
||||||
#include "../../demo/common/overview.c"
|
#include "../../common/overview.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_NODE_EDITOR
|
#ifdef INCLUDE_NODE_EDITOR
|
||||||
#include "../../demo/common/node_editor.c"
|
#include "../../common/node_editor.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ===============================================================
|
/* ===============================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user