| 
    KiCad PCB EDA Suite
    
   | 
 
Simple wrapper around wxBusyCursor for used with the generic BUSY_INDICATOR interface. More...
#include <wx_busy_indicator.h>
  
Public Types | |
| using | FACTORY = std::function<std::unique_ptr<BUSY_INDICATOR>()> | 
| A factory function that returns a new busy indicator.   | |
Public Member Functions | |
| WX_BUSY_INDICATOR () | |
| Construct a busy indicator represented by a wxBusyCursor, which will be active as long as this object exists (just like wxBustCursor itself).   | |
Private Attributes | |
| std::unique_ptr< wxBusyCursor > | m_cursor | 
| This is the actual WX cursor that is the indicator.   | |
Simple wrapper around wxBusyCursor for used with the generic BUSY_INDICATOR interface.
Can be used to provide a WX busy cursor (spinner) to generic code that otherwise has no concept of wx cursors.
Definition at line 39 of file wx_busy_indicator.h.
      
  | 
  inherited | 
A factory function that returns a new busy indicator.
Because BUSY_INDICATORs are RAII objects (i.e. the busy-ness is defined by the object's lieftime), it's convenient to pass a factory function for a client to be able to make a busy indicator when needed.
Definition at line 50 of file busy_indicator.h.
| WX_BUSY_INDICATOR::WX_BUSY_INDICATOR | ( | ) | 
Construct a busy indicator represented by a wxBusyCursor, which will be active as long as this object exists (just like wxBustCursor itself).
Definition at line 29 of file wx_busy_indicator.cpp.
References m_cursor.
      
  | 
  private | 
This is the actual WX cursor that is the indicator.
Definition at line 50 of file wx_busy_indicator.h.
Referenced by WX_BUSY_INDICATOR().