diff options
-rw-r--r-- | plugins/HistoryStats/src/utils.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/HistoryStats/src/utils.h b/plugins/HistoryStats/src/utils.h index db42e4c106..6351f8d97f 100644 --- a/plugins/HistoryStats/src/utils.h +++ b/plugins/HistoryStats/src/utils.h @@ -79,14 +79,12 @@ namespace utils void generateGradient(COLORREF fromColor, COLORREF toColor, COLORREF colorTab[256]);
// drawing helpers
- inline POINT point(int x, int y) { POINT p = { x, y }; return p; }
-
struct rect
{
RECT r;
inline rect(int left, int top, int right, int bottom)
{
- r = { left, top, right, bottom };
+ r.left = left; r.top = top; r.right = right; r.bottom = bottom;
}
inline operator const RECT*() const { return &r; }
|