mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
neutrino: make button bar use available space intelligently
modify the paintButtons() function, so that it spreads the buttons
over the available width with constant space between them.
Port over all users to the new method and clean up quite some custom
button drawing code on the way.
Conflicts:
src/gui/audioplayer.cpp
src/gui/bouquetlist.cpp
src/gui/channellist.cpp
src/gui/epgview.cpp
src/gui/eventlist.cpp
src/gui/filebrowser.cpp
src/gui/widget/buttons.cpp
src/gui/widget/stringinput.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: e09bc260da
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-10-03 (Mon, 03 Oct 2011)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
[CST] Focus
parent
37774baa82
commit
42e163074f
@@ -885,9 +885,9 @@ void CTimerList::paintFoot()
|
||||
{
|
||||
|
||||
if (timerlist.empty())
|
||||
::paintButtons( x, y + height, width, 2, &(TimerListButtons[1]));
|
||||
::paintButtons(x, y + height, width, 2, &(TimerListButtons[1]), width);
|
||||
else
|
||||
::paintButtons( x, y + height, width, 4, TimerListButtons);
|
||||
::paintButtons(x, y + height, width, 4, TimerListButtons, width);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user