Project

General

Profile

« Previous | Next » 

Revision c393c256

Added by david.sorber 8 months ago

Revamp display widgets. Use a listbox on the left panel and a multiline
text box in the main right panel. Bump version to 0.2.0.

View differences:

src/Catalog.h
{
public:
static inline CatalogItem INVALID_ITEM{"INVALID", "INVALID"};
Catalog();
~Catalog();
......
return m_catalog.end();
}
inline CatalogItem& getItemById(int id)
{
for (auto& iter : m_catalog)
{
if (iter.getId() == id)
{
return iter;
}
}
return INVALID_ITEM;
}
void setAllVisible();
void filter(const std::string& criteria);

Also available in: Unified diff