view ms_window.h @ 159:d1e206ff75f9

Fix some bugs involving calling a worker object
author Mike Pavone <pavone@retrodev.com>
date Fri, 07 Jan 2011 03:17:20 -0500
parents 76568becd6d6
children
line wrap: on
line source

#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();