mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
cc_frm_button: align item name dependently to caption
Origin commit data
------------------
Commit: 189ab7128a
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-12-07 (Mon, 07 Dec 2020)
This commit is contained in:
@@ -95,7 +95,7 @@ void CComponentsButton::initVarButton( const int& x_pos, const int& y_pos, const
|
||||
fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow)
|
||||
{
|
||||
cc_item_type.id = CC_ITEMTYPE_BUTTON;
|
||||
cc_item_type.name = "cc_base_button";
|
||||
cc_item_type.name = caption.empty() ? "cc_button" : caption;
|
||||
|
||||
x = cc_xr = cc_xr_old = x_old = x_pos;
|
||||
y = cc_yr = cc_yr_old = y_old = y_pos;
|
||||
|
Reference in New Issue
Block a user