mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
Escher: Remove useless code
Change-Id: I84929d823b38792ad399cb3fce673d52c2b815d5
This commit is contained in:
@@ -15,7 +15,6 @@ public:
|
||||
class TableView : public ScrollView {
|
||||
public:
|
||||
TableView(TableViewDataSource * dataSource);
|
||||
void layoutSubviews() override;
|
||||
|
||||
void scrollToRow(int index);
|
||||
View * cellAtIndex(int index);
|
||||
|
||||
@@ -12,17 +12,6 @@ TableView::TableView(TableViewDataSource * dataSource) :
|
||||
setSubview(&m_contentView, 0);
|
||||
}
|
||||
|
||||
void TableView::layoutSubviews() {
|
||||
KDRect frame;
|
||||
frame.x = 0;
|
||||
frame.y = 0;
|
||||
frame.width = m_frame.width;
|
||||
frame.height = 9999; // FIXME: Depends on the datasource, actually...
|
||||
m_contentView.setFrame(frame);
|
||||
|
||||
ScrollView::layoutSubviews();
|
||||
}
|
||||
|
||||
void TableView::scrollToRow(int index) {
|
||||
KDPoint contentOffset;
|
||||
contentOffset.x = 0;
|
||||
|
||||
Reference in New Issue
Block a user