olsner
db045c330b
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.
15 lines
389 B
C++
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;
|
|
};
|