#ifndef __RELEASEMEMFD_H
#define __RELEASEMEMFD_H

class ReleaseMeMFD: public MFD {
public:
	ReleaseMeMFD (DWORD w, DWORD h, VESSEL *vessel);
	~ReleaseMeMFD ();
	char *ButtonLabel (int bt);
	int ButtonMenu (const MFDBUTTONMENU **menu) const;
	bool ConsumeKeyBuffered (DWORD key);
	bool ConsumeButton (int bt, int event);
	void Update (HDC hDC);
	static int MsgProc (UINT msg, UINT mfd, WPARAM wparam, LPARAM lparam);
private:
	VESSEL *vessel;
	OBJHANDLE object;
	void ReleaseFromAllParents();
	void ReleaseFromParent(VESSEL *vessel);
	int width;
	int heigth;
};

#endif // !__RELEASEMEMFD_H