mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Escher: Make m_superview protected
Change-Id: I1f04f007ff338a9957eef691a6eb5031bb58655e
This commit is contained in:
@@ -54,12 +54,12 @@ protected:
|
||||
virtual View * subview(int index) = 0;
|
||||
virtual void storeSubviewAtIndex(View * v, int index) = 0;
|
||||
virtual void layoutSubviews() = 0;
|
||||
View * m_superview;
|
||||
KDRect m_frame;
|
||||
private:
|
||||
void redraw(KDRect rect);
|
||||
KDRect absoluteDrawingArea() const;
|
||||
|
||||
View * m_superview;
|
||||
bool m_needsRedraw;
|
||||
//TODO: We may want a dynamic size at some point
|
||||
/*
|
||||
|
||||
@@ -162,6 +162,7 @@ std::ostream &operator<<(std::ostream &os, View &view) {
|
||||
view.logAttributes(os);
|
||||
os << ">";
|
||||
for (int i=0; i<view.numberOfSubviews(); i++) {
|
||||
assert(view.subview(i)->m_superview == &view);
|
||||
os << *view.subview(i);
|
||||
}
|
||||
os << "</" << view.className() << ">";
|
||||
|
||||
Reference in New Issue
Block a user