Ember
Loading...
Searching...
No Matches
EmberForge::VirtualLogListCtrl Class Reference

Virtual list control for efficient log display. More...

#include <LogTab.h>

Inheritance diagram for EmberForge::VirtualLogListCtrl:

Public Member Functions

 VirtualLogListCtrl (wxWindow *parent, wxWindowID id, LogTab *logTab)
void SetEntries (std::vector< std::shared_ptr< EmberCore::LogEntry > > *entries)

Protected Member Functions

wxString OnGetItemText (long item, long column) const override
wxListItemAttr * OnGetItemAttr (long item) const override

Private Attributes

LogTabm_logTab
std::vector< std::shared_ptr< EmberCore::LogEntry > > * m_entries
wxListItemAttr m_itemAttr

Detailed Description

Virtual list control for efficient log display.

Uses wxLC_VIRTUAL to only render visible items, making it efficient for large numbers of log entries (1000+).

Definition at line 23 of file LogTab.h.

Constructor & Destructor Documentation

◆ VirtualLogListCtrl()

EmberForge::VirtualLogListCtrl::VirtualLogListCtrl ( wxWindow * parent,
wxWindowID id,
LogTab * logTab )

Definition at line 18 of file LogTab.cpp.

Member Function Documentation

◆ OnGetItemAttr()

wxListItemAttr * EmberForge::VirtualLogListCtrl::OnGetItemAttr ( long item) const
overrideprotected

Definition at line 63 of file LogTab.cpp.

◆ OnGetItemText()

wxString EmberForge::VirtualLogListCtrl::OnGetItemText ( long item,
long column ) const
overrideprotected

Definition at line 39 of file LogTab.cpp.

◆ SetEntries()

void EmberForge::VirtualLogListCtrl::SetEntries ( std::vector< std::shared_ptr< EmberCore::LogEntry > > * entries)

Definition at line 33 of file LogTab.cpp.

Member Data Documentation

◆ m_entries

std::vector<std::shared_ptr<EmberCore::LogEntry> >* EmberForge::VirtualLogListCtrl::m_entries
private

Definition at line 37 of file LogTab.h.

◆ m_itemAttr

wxListItemAttr EmberForge::VirtualLogListCtrl::m_itemAttr
mutableprivate

Definition at line 38 of file LogTab.h.

◆ m_logTab

LogTab* EmberForge::VirtualLogListCtrl::m_logTab
private

Definition at line 36 of file LogTab.h.


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