From 9b18d0cf5b153902d29eaf71d0080ab365e93235 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 27 Feb 2014 19:49:33 +0100 Subject: [PATCH] CComponentsItem: comments corrected --- src/gui/components/cc_base.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gui/components/cc_base.h b/src/gui/components/cc_base.h index f9ecf678b..5f71048b3 100644 --- a/src/gui/components/cc_base.h +++ b/src/gui/components/cc_base.h @@ -287,12 +287,11 @@ class CComponentsItem : public CComponents ///To generate an index, use genIndex() virtual void setIndex(const int& index){cc_item_index = index;}; - ///set screen x-position, parameter as uint8_t, percent value of screen x + ///set screen x-position, parameter as uint8_t, percent x value related to current width of parent form or screen virtual void setXPosP(const uint8_t& xpos_percent); - ///set screen y-position, parameter as uint8_t, percent value of screen y + ///set screen y-position, parameter as uint8_t, percent y value related to current height of parent form or screen virtual void setYPosP(const uint8_t& ypos_percent); - ///set x and y position as percent value from current parent or screen dimensions at once - ///Note: position of bound components (items) means position related within parent form, not for screen! + ///set x and y position as percent value related to current parent form or screen dimensions at once virtual void setPosP(const uint8_t& xpos_percent, const uint8_t& ypos_percent); ///do center item on screen or within a parent form, parameter along_mode assigns direction of centering