CComponentsInfoBox: comment precised

This commit is contained in:
2013-06-11 08:10:45 +02:00
parent d862de87eb
commit 2e42455e25

View File

@@ -44,9 +44,7 @@ but is also usable like each other CCItems.
class CComponentsInfoBox : public CComponentsText class CComponentsInfoBox : public CComponentsText
{ {
private: private:
///property: start position of textbox within infobox ///property: property: space around fram and beetween picture and textbox, see also setSpaceOffset()
int x_text;
///property: space between picture and textbox
int x_offset; int x_offset;
///object: picture object ///object: picture object
@@ -73,7 +71,7 @@ class CComponentsInfoBox : public CComponentsText
~CComponentsInfoBox(); ~CComponentsInfoBox();
///set property: space between picture and textbox ///set property: space around fram and beetween picture and textbox
inline void setSpaceOffset(const int offset){x_offset = offset;}; inline void setSpaceOffset(const int offset){x_offset = offset;};
///set property: path or name of displayed image ///set property: path or name of displayed image
inline void setPicture(const std::string& picture_name){pic_name = picture_name;}; inline void setPicture(const std::string& picture_name){pic_name = picture_name;};