From 1a509821aa2aec12c4a60e10f0d557d18c04825d Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 28 May 2013 09:44:10 +0200 Subject: [PATCH] CComponentsItem: typo fixes Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1e0df8842edda14f375e44a7fdb218e5b2190995 Author: Thilo Graf Date: 2013-05-28 (Tue, 28 May 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/components/cc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/components/cc.h b/src/gui/components/cc.h index 34fc6de36..f28ad80ce 100644 --- a/src/gui/components/cc.h +++ b/src/gui/components/cc.h @@ -215,7 +215,7 @@ class CComponentsItem : public CComponents ///initialze of basic framebuffer elements with shadow, background and frame. ///must be called first in all paint() members before paint any item, ///If backround is not required, it's possible to override this with variable paint_bg=false, use doPaintBg(true/false) to set this! - ///arg do_save_bg avoids using of unnecessary pixel memory, eg. if no hide with restore is provided. This is mostly the case whenever + ///arg do_save_bg=false avoids using of unnecessary pixel memory, eg. if no hide with restore is provided. This is mostly the case whenever ///an item will be hide or overpainted with other methods, or it's embedded (bound) in a parent form. void paintInit(bool do_save_bg); @@ -230,9 +230,9 @@ class CComponentsItem : public CComponents ///sets real position on screen. Use this, if item contains own render methods and item is added to a form virtual void setRealPos(const int& xr, const int& yr){cc_item_xr = xr; cc_item_yr = yr;}; - ///set real x-position on screen. Use this, if item contains own render methods and item is bound to a form + ///get real x-position on screen. Use this, if item contains own render methods and item is bound to a form virtual int getRealXPos(){return cc_item_xr;}; - ///set real y-position on screen. Use this, if item contains own render methods and item is bound to a form + ///get real y-position on screen. Use this, if item contains own render methods and item is bound to a form virtual int getRealYPos(){return cc_item_yr;}; ///abstract: paint item, arg: do_save_bg see paintInit() above @@ -240,7 +240,7 @@ class CComponentsItem : public CComponents ///hides item, arg: no_restore see hideCCItem() above virtual void hide(bool no_restore = false); - ///gets the current item type, see attribute cc_item_type above + ///get the current item type, see attribute cc_item_type above virtual int getItemType(); ///syncronizes item colors with current color settings if required, NOTE: overwrites internal values! virtual void syncSysColors();