home *** CD-ROM | disk | FTP | other *** search
- #include <intuition/intuition.h>
- #include "execdef.h"
- #include "intuidef.h"
- #include "windownode.h"
-
- #include "FindWindowNode.proto"
-
- extern MinList windowList;
-
- WindowNode *
- FindWindowNode(window)
- Window *window;
- {
- WindowNode *node;
-
- for (node = (WindowNode *)windowList.mlh_Head;
- node->node.mln_Succ;
- node = (WindowNode *)node->node.mln_Succ)
- {
- if (node->window == window)
- return node;
- }
- return NULL;
- }
-
-