mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 03:39:07 +02:00
Warning fix
This commit is contained in:
1 parent
c00a47c892
commit
f9b19d7789
1 file changed
+2
-2
@@ -291,7 +291,7 @@ View *GetFocusedView();
|
||||
|
||||
class View {
|
||||
public:
|
||||
View(LayoutParams *layoutParams = 0) : layoutParams_(layoutParams), visibility_(V_VISIBLE), measuredWidth_(0), measuredHeight_(0), enabled_(true), enabledPtr_(0) {
|
||||
View(LayoutParams *layoutParams = 0) : layoutParams_(layoutParams), visibility_(V_VISIBLE), measuredWidth_(0), measuredHeight_(0), enabledPtr_(0), enabled_(true) {
|
||||
if (!layoutParams)
|
||||
layoutParams_.reset(new LayoutParams());
|
||||
}
|
||||
@@ -310,7 +310,7 @@ public:
|
||||
void Move(Bounds bounds) {
|
||||
bounds_ = bounds;
|
||||
}
|
||||
|
||||
|
||||
// Views don't do anything here in Layout, only containers implement this.
|
||||
virtual void Measure(const UIContext &dc, MeasureSpec horiz, MeasureSpec vert);
|
||||
virtual void Layout() {}
|
||||
|
||||
Reference in new issue
Block a user