From 01649342cba1f32686b54e3e0449f9b9044d62c0 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 1 Mar 2020 16:00:59 +0100 Subject: [PATCH] cc_frm_chain: use offset variables as protcted Allows usage inside derived classes. --- src/gui/components/cc_frm_chain.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc_frm_chain.h b/src/gui/components/cc_frm_chain.h index 6c0de5918..7b4a3d185 100644 --- a/src/gui/components/cc_frm_chain.h +++ b/src/gui/components/cc_frm_chain.h @@ -56,13 +56,15 @@ class CComponentsFrmChain : public CComponentsForm fb_pixel_t& color_body, fb_pixel_t& color_shadow); - int chn_l_offset, chn_r_offset; - int chn_t_offset, chn_b_offset; + protected: ///property: mode for arrangement direction of items, see also setDirection(), getDirection() int chn_direction; + int chn_l_offset, chn_r_offset; + int chn_t_offset, chn_b_offset; + void initChainItems(); public: