mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed cPixmapMemory::DrawEllipse() for quadrants -1 and -4
This commit is contained in:
parent
55b6ab1dc6
commit
1f5cf1db58
4
HISTORY
4
HISTORY
@ -7051,3 +7051,7 @@ Video Disk Recorder Revision History
|
||||
- Reverted some improvements to Make.config.template (thanks to Christian Ruppert).
|
||||
- Fixed handling IDLEPRIORITY in cDvbDevice::ProvidesChannel() (thanks to Frank
|
||||
Schmirler).
|
||||
|
||||
2012-03-28: Version 1.7.28
|
||||
|
||||
- Fixed cPixmapMemory::DrawEllipse() for quadrants -1 and -4.
|
||||
|
10
config.h
10
config.h
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: config.h 2.45 2012/03/11 10:41:44 kls Exp $
|
||||
* $Id: config.h 2.46 2012/03/28 10:42:32 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
@ -22,13 +22,13 @@
|
||||
|
||||
// VDR's own version number:
|
||||
|
||||
#define VDRVERSION "1.7.27"
|
||||
#define VDRVERSNUM 10727 // Version * 10000 + Major * 100 + Minor
|
||||
#define VDRVERSION "1.7.28"
|
||||
#define VDRVERSNUM 10728 // Version * 10000 + Major * 100 + Minor
|
||||
|
||||
// The plugin API's version number:
|
||||
|
||||
#define APIVERSION "1.7.27"
|
||||
#define APIVERSNUM 10727 // Version * 10000 + Major * 100 + Minor
|
||||
#define APIVERSION "1.7.28"
|
||||
#define APIVERSNUM 10728 // Version * 10000 + Major * 100 + Minor
|
||||
|
||||
// When loading plugins, VDR searches them by their APIVERSION, which
|
||||
// may be smaller than VDRVERSION in case there have been no changes to
|
||||
|
10
osd.c
10
osd.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: osd.c 2.27 2012/03/05 10:28:01 kls Exp $
|
||||
* $Id: osd.c 2.28 2012/03/28 10:40:12 kls Exp $
|
||||
*/
|
||||
|
||||
#include "osd.h"
|
||||
@ -1382,10 +1382,10 @@ void cPixmapMemory::DrawEllipse(const cRect &Rect, tColor Color, int Quadrants)
|
||||
case 0:
|
||||
case 6: DrawRectangle(cRect(cx - x, cy - y, 2 * x + 1, 1), Color); if (Quadrants == 6) break;
|
||||
case 8: DrawRectangle(cRect(cx - x, cy + y, 2 * x + 1, 1), Color); break;
|
||||
case -1: DrawRectangle(cRect(cx + x, cy - y, x2 - x + 1, 1), Color); break;
|
||||
case -1: DrawRectangle(cRect(cx + x, cy - y, rx - x + 1, 1), Color); break;
|
||||
case -2: DrawRectangle(cRect(x1, cy - y, cx - x - x1 + 1, 1), Color); break;
|
||||
case -3: DrawRectangle(cRect(x1, cy + y, cx - x - x1 + 1, 1), Color); break;
|
||||
case -4: DrawRectangle(cRect(cx + x, cy + y, x2 - x + 1, 1), Color); break;
|
||||
case -4: DrawRectangle(cRect(cx + x, cy + y, rx - x + 1, 1), Color); break;
|
||||
default: ;
|
||||
}
|
||||
y++;
|
||||
@ -1417,10 +1417,10 @@ void cPixmapMemory::DrawEllipse(const cRect &Rect, tColor Color, int Quadrants)
|
||||
case 0:
|
||||
case 6: DrawRectangle(cRect(cx - x, cy - y, 2 * x + 1, 1), Color); if (Quadrants == 6) break;
|
||||
case 8: DrawRectangle(cRect(cx - x, cy + y, 2 * x + 1, 1), Color); break;
|
||||
case -1: DrawRectangle(cRect(cx + x, cy - y, x2 - x + 1, 1), Color); break;
|
||||
case -1: DrawRectangle(cRect(cx + x, cy - y, rx - x + 1, 1), Color); break;
|
||||
case -2: DrawRectangle(cRect(x1, cy - y, cx - x - x1 + 1, 1), Color); break;
|
||||
case -3: DrawRectangle(cRect(x1, cy + y, cx - x - x1 + 1, 1), Color); break;
|
||||
case -4: DrawRectangle(cRect(cx + x, cy + y, x2 - x + 1, 1), Color); break;
|
||||
case -4: DrawRectangle(cRect(cx + x, cy + y, rx - x + 1, 1), Color); break;
|
||||
default: ;
|
||||
}
|
||||
x++;
|
||||
|
Loading…
Reference in New Issue
Block a user