diff options
-rw-r--r-- | ChangeLog | 24 | ||||
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | jim-win32.c | 7 |
3 files changed, 30 insertions, 2 deletions
@@ -1,3 +1,27 @@ +2005-04-21 09:35 patthoyts + + * jim-win32.c: RegisterClass, CreateWindow and UpdateWindow. Need + to add user defined Window procedures though. + +2005-04-20 17:34 patthoyts + + * jim-win32.c: Added some window managing APIs - MoveWindow, + ShowWindow, DestroyWindow and AnimateWindow (which doesn't seem + to work). + +2005-04-19 17:33 patthoyts + + * jim-win32.c: Added CreateDirectory and RemoveDirectory + +2005-04-18 10:31 antirez + + * ChangeLog, Makefile, jim-eventloop.c, jim-eventloop.h, jim.c, + jim.h: First version of the Jim eventloop extension, exporting + [after], [vwait], and the C API to write other extensions using + events. No win32 port for now, just posix. UDP extension will + follow shortly and will be the first extension using the event + loop. + 2005-04-13 21:57 patthoyts * jim-win32.c: Added GetLastInputInfo API @@ -35,6 +35,7 @@ stopit: @echo "Use:" @echo "make jim - to build the Jim interpreter" @echo "---" + @echo "make eventloop - to build only the event loop extension (.SO)" @echo "make aio - to build only the ANSI I/O extension (.SO)" @echo "make aio-dll - to build only the ANSI I/O extension (.DLL)" @echo "---" diff --git a/jim-win32.c b/jim-win32.c index 30ce859..0ccd612 100644 --- a/jim-win32.c +++ b/jim-win32.c @@ -2,7 +2,7 @@ * * Copyright (C) 2005 Pat Thoyts <patthoyts@users.sourceforge.net> * - * $Id: jim-win32.c,v 1.28 2005/04/21 07:35:57 patthoyts Exp $ + * $Id: jim-win32.c,v 1.29 2005/04/26 10:47:21 antirez Exp $ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -315,7 +315,7 @@ Win32_ShowWindow(Jim_Interp *interp, int objc, Jim_Obj *const objv[]) return JIM_OK; } - +#ifndef MINGW /* Many needed structures/definiitons are not present in mingw */ #define F(x) { #x , x } typedef struct { const char *s; unsigned long f; } ANIMATEWINDOWFLAGSMAP; static ANIMATEWINDOWFLAGSMAP AnimateWindowFlagsMap[] = { @@ -386,6 +386,7 @@ Win32_AnimateWindow(Jim_Interp *interp, int objc, Jim_Obj *const objv[]) } return JIM_OK; } +#endif /* !MINGW */ static int Win32_GetActiveWindow(Jim_Interp *interp, int objc, Jim_Obj *const objv[]) @@ -1008,7 +1009,9 @@ Jim_OnLoad(Jim_Interp *interp) CMD(ShowWindow); CMD(MoveWindow); CMD(UpdateWindow); +#ifndef MINGW CMD(AnimateWindow); +#endif CMD(DestroyWindow); CMD(GetActiveWindow); CMD(SetActiveWindow); |