GRAPHICS: Remove unused variables
This commit is contained in:
parent
e809320f58
commit
03f2d9b01e
2 changed files with 0 additions and 5 deletions
|
@ -394,12 +394,10 @@ bool MacWindow::isInResizeButton(int x, int y) {
|
||||||
}
|
}
|
||||||
|
|
||||||
WindowClick MacWindow::isInScroll(int x, int y) {
|
WindowClick MacWindow::isInScroll(int x, int y) {
|
||||||
int bLeft = kBorderWidth;
|
|
||||||
int bTop = kBorderWidth;
|
int bTop = kBorderWidth;
|
||||||
int bRight = kBorderWidth;
|
int bRight = kBorderWidth;
|
||||||
int bBottom = kBorderWidth;
|
int bBottom = kBorderWidth;
|
||||||
if (_macBorder.hasOffsets()) {
|
if (_macBorder.hasOffsets()) {
|
||||||
bLeft = _macBorder.getOffset(kBorderOffsetLeft);
|
|
||||||
bTop = _macBorder.getOffset(kBorderOffsetTop);
|
bTop = _macBorder.getOffset(kBorderOffsetTop);
|
||||||
bRight = _macBorder.getOffset(kBorderOffsetRight);
|
bRight = _macBorder.getOffset(kBorderOffsetRight);
|
||||||
bBottom = _macBorder.getOffset(kBorderOffsetBottom);
|
bBottom = _macBorder.getOffset(kBorderOffsetBottom);
|
||||||
|
|
|
@ -235,9 +235,6 @@ void NinePatchBitmap::blit(Graphics::Surface &target, int dx, int dy, int dw, in
|
||||||
|
|
||||||
drawRegions(srf, dx, dy, dw, dh);
|
drawRegions(srf, dx, dy, dw, dh);
|
||||||
|
|
||||||
byte black = getColorIndex(TS_RGB(0, 0, 0), palette);
|
|
||||||
byte white = getColorIndex(TS_RGB(255, 255, 255), palette);
|
|
||||||
|
|
||||||
for (uint i = 0; i < srf.w; ++i) {
|
for (uint i = 0; i < srf.w; ++i) {
|
||||||
for (uint j = 0; j < srf.h; ++j) {
|
for (uint j = 0; j < srf.h; ++j) {
|
||||||
uint32 color = *(uint32*)srf.getBasePtr(i, j);
|
uint32 color = *(uint32*)srf.getBasePtr(i, j);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue