mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
CComponents: add members setRealXPos() and setRealYPos()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 17a2bd59d1
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-06 (Thu, 06 Jun 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -123,7 +123,11 @@ class CComponents
|
|||||||
///to set the real screen position, look at setRealPos()
|
///to set the real screen position, look at setRealPos()
|
||||||
inline virtual void setPos(const int& xpos, const int& ypos){x = xpos; y = ypos;};
|
inline virtual void setPos(const int& xpos, const int& ypos){x = xpos; y = ypos;};
|
||||||
|
|
||||||
///sets real position on screen. Use this, if item contains own render methods and item is added to a form
|
///sets real x position on screen. Use this, if item is added to a parent form
|
||||||
|
virtual void setRealXPos(const int& xr){cc_xr = xr;};
|
||||||
|
///sets real y position on screen. Use this, if item is added to a parent form
|
||||||
|
virtual void setRealYPos(const int& yr){cc_yr = yr;};
|
||||||
|
///sets real x and y position on screen at once. Use this, if item is added to a parent form
|
||||||
virtual void setRealPos(const int& xr, const int& yr){cc_xr = xr; cc_yr = yr;};
|
virtual void setRealPos(const int& xr, const int& yr){cc_xr = xr; cc_yr = yr;};
|
||||||
///get 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_xr;};
|
virtual int getRealXPos(){return cc_xr;};
|
||||||
|
Reference in New Issue
Block a user