ListCursor: store only height, move width to class ListWindow
[ncmpc-debian.git] / src / ListCursor.cxx
index 22a3a53..331f021 100644 (file)
@@ -50,9 +50,9 @@ ListCursor::CheckSelected() noexcept
 }
 
 void
-ListCursor::Resize(Size _size) noexcept
+ListCursor::SetHeight(unsigned _height) noexcept
 {
-       size = _size;
+       height = _height;
        CheckOrigin();
 }