view ms_window.h @ 120:cd25171e1bb2

Use List for Subsets instead of a Dictionary for performance reasons. Fix issue with List literals. Compiled compiler is now self-hosting.
author Mike Pavone <pavone@retrodev.com>
date Thu, 21 Oct 2010 23:55:15 -0400
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();