2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "utils/Geometry.h"
15 class CDirtyRegion
: public CRect
18 explicit CDirtyRegion(const CRect
&rect
) : CRect(rect
) { m_age
= 0; }
19 CDirtyRegion(float left
, float top
, float right
, float bottom
) : CRect(left
, top
, right
, bottom
) { m_age
= 0; }
20 CDirtyRegion() : CRect() { m_age
= 0; }
22 int UpdateAge() { return ++m_age
; }
27 typedef std::vector
<CDirtyRegion
> CDirtyRegionList
;