Audacity  2.3.1
Public Member Functions | Protected Attributes | List of all members
ImageRollPanel Class Referencefinal

A wxPanel which displays an ImageRoll. More...

#include <ImageRoll.h>

Inheritance diagram for ImageRollPanel:
wxPanelWrapper wxTabTraversalWrapper< wxPanel >

Public Member Functions

 ImageRollPanel (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
 
void SetLogicalFunction (wxRasterOperationMode func)
 
void OnPaint (wxPaintEvent &evt)
 
void OnSize (wxSizeEvent &evt)
 
- Public Member Functions inherited from wxPanelWrapper
 wxPanelWrapper ()
 
 wxPanelWrapper (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const wxString &name=_("Panel"))
 
bool Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const wxString &name=_("Panel"))
 
- Public Member Functions inherited from wxTabTraversalWrapper< wxPanel >
 wxTabTraversalWrapper (Args &&...args)
 
 wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete
 
 wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete
 
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
 
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete
 

Protected Attributes

wxRasterOperationMode mLogicalFunction
 

Detailed Description

A wxPanel which displays an ImageRoll.

Definition at line 71 of file ImageRoll.h.

Constructor & Destructor Documentation

ImageRollPanel::ImageRollPanel ( wxWindow *  parent,
wxWindowID  id,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL 
)

Definition at line 421 of file ImageRoll.cpp.

426  :
427  wxPanelWrapper(parent, id, pos, size, style),
428  //mImageRoll(imgRoll),
429  mLogicalFunction(wxCOPY)
430 {
431 // SetSizeHints(mImageRoll.GetMinSize(),
432 // mImageRoll.GetMaxSize());
433 }
wxRasterOperationMode mLogicalFunction
Definition: ImageRoll.h:91

Member Function Documentation

void ImageRollPanel::OnPaint ( wxPaintEvent &  evt)

Definition at line 440 of file ImageRoll.cpp.

441 {
442  wxPaintDC dc(this);
443 
444 // mImageRoll.Draw(dc, GetClientRect(), mLogicalFunction);
445 }
void ImageRollPanel::OnSize ( wxSizeEvent &  evt)

Definition at line 447 of file ImageRoll.cpp.

448 {
449  Refresh(false);
450 }
void ImageRollPanel::SetLogicalFunction ( wxRasterOperationMode  func)

Definition at line 435 of file ImageRoll.cpp.

References mLogicalFunction.

Referenced by ExpandingToolBar::StartMoving().

436 {
437  mLogicalFunction = func;
438 }
wxRasterOperationMode mLogicalFunction
Definition: ImageRoll.h:91

Member Data Documentation

wxRasterOperationMode ImageRollPanel::mLogicalFunction
protected

Definition at line 91 of file ImageRoll.h.

Referenced by SetLogicalFunction().


The documentation for this class was generated from the following files: