[3f6bf4]: src / panopluginframe.h  Maximize  Restore  History

Download this file

47 lines (42 with data), 908 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
//
// C++ Interface: $MODULE$
//
// Description:
//
//
// Author: Fabian Wenzel <f.wenzel@gmx.net>, (C) 2003
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PANOPLUGINFRAME_H
#define PANOPLUGINFRAME_H
#include <wx/frame.h>
#include <tuv/CImageByteRGB.h>
#include "panocanvas.h"
enum{
id_snapshot=3,
};
/**
@author Fabian Wenzel
*/
class panoPluginFrame : public wxFrame
{
public:
panoPluginFrame(const wxString &title, const wxPoint &position = wxDefaultPosition, const wxSize &size = wxDefaultSize, const wxSize &canvassize = wxDefaultSize);
panoCanvas *getCanvas()
{
return m_canvas;
}
~panoPluginFrame();
TUVision::CImageByteRGB *getSnapshot();
void OnSnapshot(wxCommandEvent &event);
TUVision::CImageByteRGB *m_snapshot;
private:
panoCanvas *m_canvas;
wxMutex m_mutex;
wxCondition m_condition;
DECLARE_EVENT_TABLE()
};
#endif