mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
neutrino: improve menu width calculation
calculate menu width in paint() instead of addItem()
this allows to cahnge the width of a menu later on dynamically
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@308 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 292891db1f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-02-08 (Mon, 08 Feb 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -331,7 +331,7 @@ class CMenuWidget : public CMenuTarget
|
||||
std::vector<unsigned int> page_start;
|
||||
std::string iconfile;
|
||||
|
||||
int needed_width;
|
||||
int min_width;
|
||||
int width;
|
||||
int height;
|
||||
int wanted_height;
|
||||
|
Reference in New Issue
Block a user