[RAPPS] application-view refactor (#3003)

* [RAPPS] separate application-view from gui.cpp
* [RAPPS] make the code looks more clear
* [RAPPS] fix &  improve tab-order handle
* [RAPPS] now double-click / right-click & install an item will install exactly this app
* [RAPPS] add handling for DWORD timestamp for InstallDate
* [RAPPS] make the code setting column style more clear
* [RAPPS] change the owner of popup-menu
* [RAPPS] now the popup menu (the one when right-click listview) now belongs to application-view
This commit is contained in:
He Yang 2020-07-24 16:07:43 +08:00 committed by Mark Jansen
parent 10c0ff7416
commit e44c9b6630
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
11 changed files with 3257 additions and 2741 deletions

View file

@ -212,7 +212,7 @@ public:
};
CSize CPoint::operator-(POINT point) const throw()
inline CSize CPoint::operator-(POINT point) const throw()
{
return CSize(x - point.x, y - point.y);
}
@ -539,28 +539,28 @@ public:
}
};
CRect CPoint::operator+(const RECT* lpRect) const throw()
inline CRect CPoint::operator+(const RECT* lpRect) const throw()
{
CRect r(lpRect);
r += *this;
return r;
}
CRect CPoint::operator-(const RECT* lpRect) const throw()
inline CRect CPoint::operator-(const RECT* lpRect) const throw()
{
CRect r(lpRect);
r -= *this;
return r;
}
CRect CSize::operator+(const RECT* lpRect) const throw()
inline CRect CSize::operator+(const RECT* lpRect) const throw()
{
CRect r(lpRect);
r += *this;
return r;
}
CRect CSize::operator-(const RECT* lpRect) const throw()
inline CRect CSize::operator-(const RECT* lpRect) const throw()
{
CRect r(lpRect);
r -= *this;