#ifndef DATALISTVIEW_H #define DATALISTVIEW_H #include "data.h" #include "listview.h" #define DLVSIKEY 0 #define DLVSIVALUE 1 struct DataListView : public ListView { DataListView(Window& parent); /* Return manual height, if set, or calculate height * appropriate for number of items. */ int Height() noexcept override; void ResizeColumns(int w) override; /* Set manual height. */ void SetHeight(int h); void ShowEpisode(int iEpisode); private: int m_height = 0; }; #endif