Mercurial > repos > rhope
diff ms_window.h @ 0:76568becd6d6
Rhope Alpha 2a source import
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 28 Apr 2009 23:06:07 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ms_window.h Tue Apr 28 23:06:07 2009 +0000 @@ -0,0 +1,24 @@ +#include "vis_threading.h" +typedef struct +{ + VIS_CRITICAL_SECTION(lock) + datum * orig_window; + datum * title; + double width; + double height; + double xpos; + double ypos; + queue_entry * wait_entry; + int next_msg_code; + datum * handler_list; + datum * widget_handle_lookup; + worker_instance instance; + HWND window_handle; + BOOL is_open; +} vis_window_shown; + +VIS_EXTERN_CRITICAL_SECTION(hwnd_lock); + +#define START_HANDLE_LIST 8 + +void message_loop(); \ No newline at end of file