mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
CComponentsItem: add members to get real item position
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9420edd932
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-12 (Fri, 12 Apr 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <driver/pictureviewer/pictureviewer.h>
|
#include <driver/pictureviewer/pictureviewer.h>
|
||||||
|
|
||||||
//#define DEBUG_CC
|
#define DEBUG_CC
|
||||||
|
|
||||||
class CComponents
|
class CComponents
|
||||||
{
|
{
|
||||||
@@ -111,6 +111,8 @@ class CComponentsItem : public CComponents
|
|||||||
|
|
||||||
///sets real position on screen. Use this, if item contains own render methods and item is added to a form
|
///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;};
|
virtual void setRealPos(const int& xr, const int& yr){cc_item_xr = xr; cc_item_yr = yr;};
|
||||||
|
virtual int getRealXPos(){return cc_item_xr;};
|
||||||
|
virtual int getRealYPos(){return cc_item_yr;};
|
||||||
|
|
||||||
virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES) = 0;
|
virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES) = 0;
|
||||||
virtual void hide(bool no_restore = false);
|
virtual void hide(bool no_restore = false);
|
||||||
|
Reference in New Issue
Block a user