wxPDFView  0.1
wxWidgets PDFium Integration Library
Public Member Functions | Protected Member Functions | List of all members
wxPDFViewThumbnailListBox Class Reference

PDF document thumbnails list box. More...

#include <PDFViewThumbnailListBox.h>

+ Inheritance diagram for wxPDFViewThumbnailListBox:

Public Member Functions

 wxPDFViewThumbnailListBox ()
 
 wxPDFViewThumbnailListBox (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxVListBoxNameStr)
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxVListBoxNameStr)
 
 ~wxPDFViewThumbnailListBox ()
 
void SetPDFView (wxPDFView *pdfView)
 
wxPDFViewGetPDFView () const
 
virtual void ScrollWindow (int dx, int dy, const wxRect *rect=NULL)
 

Protected Member Functions

virtual void OnDrawItem (wxDC &dc, const wxRect &rect, size_t n) const
 
virtual wxCoord OnMeasureItem (size_t n) const
 

Detailed Description

PDF document thumbnails list box.

Has to be connected with a wxPDFView with a call to SetPDFView(). It will automatically update from navigation in the wxPDFView.

See also
wxPDFView

Constructor & Destructor Documentation

wxPDFViewThumbnailListBox::wxPDFViewThumbnailListBox ( )
inline
wxPDFViewThumbnailListBox::wxPDFViewThumbnailListBox ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0,
const wxString &  name = wxVListBoxNameStr 
)
inline
wxPDFViewThumbnailListBox::~wxPDFViewThumbnailListBox ( )

Member Function Documentation

bool wxPDFViewThumbnailListBox::Create ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0,
const wxString &  name = wxVListBoxNameStr 
)
wxPDFView* wxPDFViewThumbnailListBox::GetPDFView ( ) const
virtual void wxPDFViewThumbnailListBox::OnDrawItem ( wxDC &  dc,
const wxRect &  rect,
size_t  n 
) const
protectedvirtual
virtual wxCoord wxPDFViewThumbnailListBox::OnMeasureItem ( size_t  n) const
protectedvirtual
virtual void wxPDFViewThumbnailListBox::ScrollWindow ( int  dx,
int  dy,
const wxRect *  rect = NULL 
)
virtual
void wxPDFViewThumbnailListBox::SetPDFView ( wxPDFView pdfView)