view ms_window.h @ 147:f3686f60985d

Sort of working port of framework. Transaction bug seems to be getting in the way. Going to work around, but want the old version in the repo so I can test later.
author Mike Pavone <pavone@retrodev.com>
date Mon, 22 Nov 2010 01:15:02 -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();