1
0
forked from 0ad/0ad
0ad/source/tools/atlas/AtlasUI/ArchiveViewer/FilePreviewer.h
olsner db045c330b # Made Atlas compile on linux
graphics: basic terrain passibility
atlas: lots of changes to make atlas compile under linux
unix/X: more clipboard support - copy from 0AD to other programs
unix/debug: use sys_get_executable_name instead of hard-coded paths
... and lots of other misc. changes

This was SVN commit r4640.
2006-11-12 04:02:36 +00:00

15 lines
389 B
C++

#include "DatafileIO/Stream/Stream.h"
class FilePreviewer : public wxPanel
{
public:
FilePreviewer(wxWindow* parent);
// stream can be deleted by callers after this function returns
void PreviewFile(const wxString& filename, DatafileIO::SeekableInputStream& stream);
private:
wxPanel* m_ContentPanel; // gets deleted and rebuilt when previewing a new file
wxSizer* m_MainSizer;
};