3 * - By John Hodge (thePowersGang)
5 #include <axwin2/axwin.h>
19 int main(int argc, char *argv[]);
20 int Global_HandleMessage(tAxWin_Message *Message);
21 int Shell_HandleMessage(tAxWin_Message *Message);
24 tAxWin_Element *geConsole;
27 int main(int argc, char *argv[])
29 tAxWin_Element *menu, *tab;
33 fprintf(stderr, "Usage: %s\n", argv[0]);
34 fprintf(stderr, "\tThis application takes no arguments\n");
38 AxWin_Register("Terminal", Global_HandleMessage);
40 menu = AxWin_AddMenuItem(NULL, "File", 0);
41 AxWin_AddMenuItem(menu, "&New Tab\tCtrl-Shift-N", EVENT_NEW_TAB);
42 AxWin_AddMenuItem(menu, NULL, 0);
43 AxWin_AddMenuItem(menu, "&Close Tab\tCtrl-Shift-W", EVENT_CLOSE_TAB);
44 AxWin_AddMenuItem(menu, "E&xit\tAlt-F4", EVENT_EXIT);
46 tab = AxWin_CreateWindow("root@acess: ~");
47 //geConsole = AxWin_CreateElement();
56 int Global_HandleMessage(tAxWin_Message *Message)
65 int Shell_HandleMessage(tAxWin_Message *Message)