CComponentsFooter: add member to add button labels via vector

Origin commit data
------------------
Commit: 9f902af587
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-19 (Tue, 19 Aug 2014)
This commit is contained in:
2014-08-19 17:11:51 +02:00
committed by [CST] Focus
parent 2dbbd10ce7
commit a68fa0b68d
2 changed files with 31 additions and 1 deletions

View File

@@ -80,7 +80,11 @@ class CComponentsFooter : public CComponentsHeader
void setButtonLabels(const struct button_label_s * const content, const size_t& label_count, const int& chain_width = 0, const int& label_width = 0);
///add button labels with locale label type as content, count as size_t, chain_width as int, label width as int
void setButtonLabels(const struct button_label_l * const content, const size_t& label_count, const int& chain_width = 0, const int& label_width = 0);
///add button labels with locale label type as content, parameter 1 as vector, chain_width as int, label width as int
void setButtonLabels(const std::vector<button_label_l>v_content, const int& chain_width, const int& label_width);
///add button labels with string label type as content, parameter 1 as vector, chain_width as int, label width as int
void setButtonLabels(const std::vector<button_label_s>v_content, const int& chain_width, const int& label_width);
///add button labels with old label type, count as size_t, chain_width as int, label width as int
///NOTE: for compatibility with older button handler find in gui/widget/buttons.h
void setButtonLabels(const struct button_label * const content, const size_t& label_count, const int& chain_width = 0, const int& label_width = 0);