42                                                                      : wxColour( 255, 248, 212 ) );
 
 
   82    SetItemCount( lines );
 
 
  126    if( (index >= 0) && (
GetCount() > 0) )
 
  128        Select( index, State );
 
  129        EnsureVisible( index );
 
 
  145    int key = 
event.GetKeyCode();
 
  164    key = toupper( key );
 
  166    for( 
unsigned ii = 0; ii < 
m_SymbolList.GetCount(); ii++ )
 
  174        for( ; jj < 
text.Len(); jj++ )
 
  176            if( 
text[jj] == 
' ' )
 
  180        for( ; jj < 
text.Len(); jj++ )
 
  182            if( 
text[jj] != 
' ' )
 
  186        int start_char = toupper( 
text[jj] );
 
  188        if( key == start_char )
 
 
The CvPcb application main window.
 
void OnSelectComponent(wxListEvent &event)
Called when clicking on a component in component list window:
 
Base class to display symbol and footprint lists.
 
void UpdateWidth(int aLine=-1)
Update the width of the column based on its contents.
 
ITEMS_LISTBOX_BASE(CVPCB_MAINFRAME *aParent, wxWindowID aId, const wxPoint &aLocation=wxDefaultPosition, const wxSize &aSize=wxDefaultSize, long aStyle=0)
 
virtual CVPCB_MAINFRAME * GetParent() const
 
wxString OnGetItemText(long item, long column) const override
This overloaded function MUST be provided for the wxLC_VIRTUAL mode because real data is not handled ...
 
std::vector< long > m_symbolWarning
 
void OnChar(wxKeyEvent &event)
Called on a key press.
 
wxListItemAttr * OnGetItemAttr(long item) const override
 
wxArrayString m_SymbolList
 
void OnSelectComponent(wxListEvent &event)
 
void SetString(unsigned linecount, const wxString &text)
 
SYMBOLS_LISTBOX(CVPCB_MAINFRAME *parent, wxWindowID id)
 
void SetSelection(int index, bool State=true)
 
void AppendWarning(int index)
 
std::unique_ptr< wxListItemAttr > m_warningAttr
 
void RemoveWarning(int index)
 
void AppendLine(const wxString &text)
 
@ ID_CVPCB_COMPONENT_LIST
 
const wxChar *const kicadTraceKeyEvent
Flag to enable wxKeyEvent debug tracing.
 
wxString dump(const wxArrayString &aArray)
Debug helper for printing wxArrayString contents.
 
wxLogTrace helper definitions.