From b1ef7aa083b45b017af4c08a7d064628845e263f Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 20 Feb 2010 21:55:16 +0000 Subject: [PATCH] volumebar radius git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@397 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/79dac3ce1da3eee1b7fd839ba5d7bb8ec20f5165 Author: Jacek Jendrzej Date: 2010-02-20 (Sat, 20 Feb 2010) --- src/neutrino.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index f854a97f6..9f08b9534 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3745,7 +3745,7 @@ printf("CNeutrinoApp::setVolume dx %d dy %d\n", dx, dy); if(pixbuf!= NULL) frameBuffer->SaveScreen(x, y, dx, dy, pixbuf); - frameBuffer->paintBoxRel(x , y , dx, dy, COL_INFOBAR_SHADOW_PLUS_1, dy/2); + frameBuffer->paintBoxRel(x , y , dx, dy, COL_INFOBAR_SHADOW_PLUS_1, g_settings.rounded_corners ? dy/2 : 0); frameBuffer->paintBoxRel (x + dy + (dy/4)-2, y+(dy/4)-2, ((dy/2)*12.5) +4, dy/2+4, COL_INFOBAR_PLUS_3); frameBuffer->paintBoxRel (x + dy + (dy/4), y+(dy/4), (dy/2)*12.5, dy/2, COL_INFOBAR_PLUS_0); frameBuffer->paintIcon(NEUTRINO_ICON_VOLUME,x+dy/2,y+(dy/4), 0, COL_INFOBAR);