mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:31:45 +00:00
[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:
parent
10c0ff7416
commit
e44c9b6630
11 changed files with 3257 additions and 2741 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue