mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
16 lines
753 B
C++
16 lines
753 B
C++
#include "selectable_table_view_with_background.h"
|
|
|
|
SelectableTableViewWithBackground::SelectableTableViewWithBackground(Responder * parentResponder, TableViewDataSource * dataSource, BackgroundView * backgroundView, SelectableTableViewDataSource * selectionDataSource, SelectableTableViewDelegate * delegate) :
|
|
SelectableTableView(parentResponder, dataSource, selectionDataSource, delegate),
|
|
m_backgroundInnerView(this, backgroundView)
|
|
{
|
|
|
|
}
|
|
|
|
void SelectableTableViewWithBackground::BackgroundInnerView::drawRect(KDContext * ctx, KDRect rect) const {
|
|
m_backgroundView->drawRect(ctx, rect);
|
|
}
|
|
|
|
void SelectableTableViewWithBackground::BackgroundInnerView::setBackgroundView(const uint8_t * data) {
|
|
m_backgroundView->setBackgroundImage(data);
|
|
} |