Lots of work on the AcessNative kernel
[tpg/acess2.git] / AcessNative / acesskernel_src / ui.h
diff --git a/AcessNative/acesskernel_src/ui.h b/AcessNative/acesskernel_src/ui.h
new file mode 100644 (file)
index 0000000..24298b9
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * Acess2
+ * AcessNative Kernel
+ * 
+ * ui.h - User Interface common header
+ */
+#ifndef _UI_H_
+#define _UI_H_
+
+extern const int       giUI_Width;
+extern const int       giUI_Height;
+extern const int       giUI_Pitch;
+extern const Uint32    * const gUI_Framebuffer;
+
+extern void    UI_SetWindowDims(int Width, int Height);
+extern void    UI_BlitBitmap(int DstX, int DstY, int SrcW, int SrcH, Uint32 *Bitmap);
+extern void    UI_BlitFramebuffer(int DstX, int DstY, int SrcX, int SrcY, int W, int H);
+extern void    UI_FillBitmap(int DstX, int DstY, int SrcW, int SrcH, Uint32 Value);
+extern void    UI_Redraw(void);
+
+typedef void (*tUI_KeybardCallback)(Uint32 Key);
+extern tUI_KeybardCallback     gUI_KeyboardCallback;
+
+#endif

UCC git Repository :: git.ucc.asn.au