paintButtons: add max txt length option

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1960 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 2b72b7c57e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-12-08 (Thu, 08 Dec 2011)
This commit is contained in:
Jacek Jendrzej
2011-12-08 16:45:41 +00:00
parent 68ab7c9e78
commit ab42250af3
3 changed files with 22 additions and 4 deletions

View File

@@ -27,6 +27,8 @@
#include <system/localize.h>
#include <gui/color.h>
#include <vector>
typedef struct button_label
{
const char * button;
@@ -44,6 +46,7 @@ int paintButtons( const int &x,
const unsigned char fcolor = COL_INFOBAR_SHADOW,
const char * alt_buttontext = NULL,
const uint &buttontext_id = 0,
bool show = true);
bool show = true,
const std::vector<neutrino_locale_t>& all_buttontext_id = std::vector<neutrino_locale_t>());
#endif /* __gui_widget_buttons_h__ */