From 3613244ff0f7da156d25406bb5a0ad796237a7e4 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 3 Jun 2011 15:45:24 +0800 Subject: [PATCH] Backup - Adding design for AxWin3 to git --- .../axwin3_src/WM/include/common.h | 0 .../axwin3_src/WM/include/messages.h | 13 +++++++++++ .../Applications/axwin3_src/WM/messageio.c | 22 +++++++++++++++++++ Usermode/Applications/axwin3_src/notes.txt | 4 ++++ 4 files changed, 39 insertions(+) create mode 100644 Usermode/Applications/axwin3_src/WM/include/common.h create mode 100644 Usermode/Applications/axwin3_src/WM/include/messages.h create mode 100644 Usermode/Applications/axwin3_src/WM/messageio.c create mode 100644 Usermode/Applications/axwin3_src/notes.txt diff --git a/Usermode/Applications/axwin3_src/WM/include/common.h b/Usermode/Applications/axwin3_src/WM/include/common.h new file mode 100644 index 00000000..e69de29b diff --git a/Usermode/Applications/axwin3_src/WM/include/messages.h b/Usermode/Applications/axwin3_src/WM/include/messages.h new file mode 100644 index 00000000..24731405 --- /dev/null +++ b/Usermode/Applications/axwin3_src/WM/include/messages.h @@ -0,0 +1,13 @@ +/* + * Acess2 GUI (AxWin3) + */ +#ifndef _MESSAGES_H_ +#define _MESSAGES_H_ + +enum eMessages +{ + MSG_NULL, +}; + +#endif + diff --git a/Usermode/Applications/axwin3_src/WM/messageio.c b/Usermode/Applications/axwin3_src/WM/messageio.c new file mode 100644 index 00000000..b1e2aa6a --- /dev/null +++ b/Usermode/Applications/axwin3_src/WM/messageio.c @@ -0,0 +1,22 @@ +/* + * Acess2 GUI (axwin3) + * By John Hodge (thePowersGang) + * + * messageio.c + * - Common message handling code + */ +#include +#include + +// === PROTOTYPES === + +// === GLOBALS === + +// === CODE === +void DispachMessage(tAxWin_Message *Message) +{ + switch(Message->ID) + { + + } +} diff --git a/Usermode/Applications/axwin3_src/notes.txt b/Usermode/Applications/axwin3_src/notes.txt new file mode 100644 index 00000000..cea9d36c --- /dev/null +++ b/Usermode/Applications/axwin3_src/notes.txt @@ -0,0 +1,4 @@ +Window Based GUI +Every window has a position, size, class and text and three colours (background, text and detail) + +Window Classes provide render information in form of a bytecode -- 2.20.1