21                     int iUncompressedSize, ImageGLCanvas *pCanvas);
 
   25 #include "wx/glcanvas.h" 
   26 void DoTextureCompress(uchar *rgb_bytes, 
vtMiniDatabuf &output_buf,
 
   27                        GLuint &iTex, 
bool bAlpha);
 
   35 class ImageGLCanvas : 
public wxGLCanvas
 
   38     ImageGLCanvas(wxWindow *parent, 
const wxWindowID 
id = -1, 
const wxPoint& pos = wxDefaultPosition,
 
   39       const wxSize& size = wxDefaultSize, 
long style = 0, 
const wxString& name = wxT(
""),
 
   40       int* gl_attrib = NULL);
 
   43     void OnPaint(wxPaintEvent& 
event);
 
   44     void OnSize(wxSizeEvent& 
event);
 
   45     void OnEraseBackground(wxEraseEvent& 
event) {}  
 
   48     wxGLContext *m_context;
 
   56 void DoTextureSquish(uchar *rgb_bytes, 
vtMiniDatabuf &output_buf, 
bool bFast);