From 9eb22c24c855decd61faf7a5aae87ea7007ce7eb Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 2 Jul 2012 20:53:20 +0400 Subject: [PATCH] gui/channellist.cpp: add comments for detail box draw --- src/gui/channellist.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index e2d859cd9..40a99f109 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -1570,18 +1570,23 @@ void CChannelList::paintItem2DetailsLine (int pos, int /*ch_index*/) if(1) // FIXME why -> ? (!g_settings.channellist_extended) { int fh = fheight > 10 ? fheight - 10: 5; + /* item mark */ frameBuffer->paintBoxRel(xpos+ConnectLineBox_Width-4, ypos1+5, 4, fh, col1); frameBuffer->paintBoxRel(xpos+ConnectLineBox_Width-4, ypos1+5, 1, fh, col2); + /* info mark */ frameBuffer->paintBoxRel(xpos+ConnectLineBox_Width-4, ypos2+7, 4,info_height-14, col1); frameBuffer->paintBoxRel(xpos+ConnectLineBox_Width-4, ypos2+7, 1,info_height-14, col2); + /* vertical connect line */ frameBuffer->paintBoxRel(xpos+ConnectLineBox_Width-16, ypos1a, 4,ypos2a-ypos1a, col1); frameBuffer->paintBoxRel(xpos+ConnectLineBox_Width-16, ypos1a, 1,ypos2a-ypos1a+4, col2); + /* horizontal item line */ frameBuffer->paintBoxRel(xpos+ConnectLineBox_Width-16, ypos1a, 12,4, col1); frameBuffer->paintBoxRel(xpos+ConnectLineBox_Width-16, ypos1a, 12,1, col2); + /* horizontal info line */ frameBuffer->paintBoxRel(xpos+ConnectLineBox_Width-16, ypos2a, 12,4, col1); frameBuffer->paintBoxRel(xpos+ConnectLineBox_Width-12, ypos2a, 8,1, col2);