mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
CComponentsFooter: fix missing types for log output
Origin commit data
------------------
Commit: 14ea1de789
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)
This commit is contained in:
@@ -142,7 +142,7 @@ void CComponentsFooter::setButtonLabels(const struct button_label_s * const cont
|
|||||||
int w_rest = max(w_chain - w_used, 0);
|
int w_rest = max(w_chain - w_used, 0);
|
||||||
int btn_offset = w_rest / chain->size();
|
int btn_offset = w_rest / chain->size();
|
||||||
chain->setAppendOffset(btn_offset, 0);
|
chain->setAppendOffset(btn_offset, 0);
|
||||||
dprintf(DEBUG_INFO, "[CComponentsFooter] [%s - %d] btn_offset = %d, w_rest = %d, w_chain = %d, w_used = %d, chain->size() = %u\n", btn_offset, w_rest, w_chain, w_used, chain->size());
|
dprintf(DEBUG_INFO, "[CComponentsFooter] [%s - %d] btn_offset = %d, w_rest = %d, w_chain = %d, w_used = %d, chain->size() = %u\n", __func__, __LINE__, btn_offset, w_rest, w_chain, w_used, chain->size());
|
||||||
|
|
||||||
//set x position of 1st button object inside chain, this is centering button objects inside chain
|
//set x position of 1st button object inside chain, this is centering button objects inside chain
|
||||||
int x_1st_btn = btn_offset/2;
|
int x_1st_btn = btn_offset/2;
|
||||||
|
Reference in New Issue
Block a user