Audacity  2.2.0
InvisiblePanel Class Referencefinal

An InvisiblePanel is a panel which does not repaint its own background. More...

Inheritance diagram for InvisiblePanel:
wxTabTraversalWrapper< Base >

Public Member Functions

 InvisiblePanel (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
 
 ~InvisiblePanel ()
 
void OnPaint (wxPaintEvent &event)
 
void OnErase (wxEraseEvent &)
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Detailed Description

An InvisiblePanel is a panel which does not repaint its own background.

It is used (a) To group together widgets which need to be refreshed together. A single refresh of the panel causes all the subwindows to refresh. (b) as a base class for some flicker-free classes for which the backgorund is never repainted.

JKC: InvisiblePanel will probably be replaced in time by a mechanism for registering for changes.

Constructor & Destructor Documentation

InvisiblePanel::InvisiblePanel ( wxWindow *  parent,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL 
)
inline
InvisiblePanel::~InvisiblePanel ( )
inline

Member Function Documentation

void InvisiblePanel::OnErase ( wxEraseEvent &  )
inline
void InvisiblePanel::OnPaint ( wxPaintEvent &  event)

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