summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-09-15 20:57:44 (GMT)
committer Ashish Gupta <ashmew2@gmail.com>2017-09-15 20:57:44 (GMT)
commit84c49078a6c65cf91b57224fe0f19ba6f852e0bb (patch)
tree0bb99c5f731e7d606e7664cd4d4715dc5debcdda
parente5f4fcde2a7140a82d480867241fddfb3ef62368 (diff)
downloadlibnsfb-84c49078a6c65cf91b57224fe0f19ba6f852e0bb.tar.gz
libnsfb-84c49078a6c65cf91b57224fe0f19ba6f852e0bb.tar.bz2
Add KOLIBRI surface
-rw-r--r--include/libnsfb.h3
-rw-r--r--src/surface/Makefile1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/libnsfb.h b/include/libnsfb.h
index dfb720c..83a9cc9 100644
--- a/include/libnsfb.h
+++ b/include/libnsfb.h
@@ -41,7 +41,8 @@ enum nsfb_type_e {
NSFB_SURFACE_VNC, /**< VNC surface */
NSFB_SURFACE_ABLE, /**< ABLE framebuffer surface */
NSFB_SURFACE_X, /**< X windows surface */
- NSFB_SURFACE_WL /**< Wayland surface */
+ NSFB_SURFACE_WL, /**< Wayland surface */
+ NSFB_SURFACE_KOLIBRI /**< KolibriOS surface */
};
enum nsfb_format_e {
diff --git a/src/surface/Makefile b/src/surface/Makefile
index ad23cc4..b9f57fe 100644
--- a/src/surface/Makefile
+++ b/src/surface/Makefile
@@ -10,6 +10,7 @@ SURFACE_HANDLER_$(NSFB_SDL_AVAILABLE) += sdl.c
SURFACE_HANDLER_$(NSFB_XCB_AVAILABLE) += x.c
SURFACE_HANDLER_$(NSFB_VNC_AVAILABLE) += vnc.c
SURFACE_HANDLER_$(NSFB_WLD_AVAILABLE) += wld.c
+SURFACE_HANDLER_$(NSFB_KOLIBRI_AVAILABLE) += kolibri.c
DIR_SOURCES := $(SURFACE_HANDLER_yes)