epgtimeline mousecontrol - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167) +--- Thread: epgtimeline mousecontrol (/showthread.php?tid=145671) |
epgtimeline mousecontrol - gnoufre - 2012-11-19 hello, (hope i post in right place) i am user of mediaportal and i test XBMC to see if i replace the frontend. I have no remote control and i use mouse to control the soft. i didnt found how to navigate in EPGtimeline with the mouse. So i made some change in GUIEPGGridContainer.cpp to be able to move up/down and left/down the grid : with the wheel of the mouse : => i scroll channel if my mouse is on channel colonn => i scroll programme else : => i change scroll rate *3 too (too slow for my taste) i will search if i can add harizontal/vertical scrollbar and eventually made it optionnal in the system. Hope it can help some user in same situation like me ---------------here the change i made in source code---------------- bool CGUIEPGGridContainer::OnMouseWheel(char wheel, const CPoint &point) { if ((point.x >= m_channelPosX) && (point.x <= m_channelPosX + m_channelWidth) && (point.y >= m_channelPosY) && (point.y <= m_channelPosY + m_gridHeight)) ChannelScroll(-wheel); else ///doesn't work while an item is selected? ProgrammesScroll(-wheel *3); return true; --------------------------------------------------------------------------------------- |