mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponentsItem/Form: add var for real item position
If items are used in forms it can be usefully to have a variable which contains the real position on screen. This can happen e.g. if an item contains separate render methods, because within forms usual x/y values related to form dimensions and be converted.
This commit is contained in:
@@ -54,6 +54,7 @@ void CComponentsItem::initVarItem()
|
||||
//CComponents
|
||||
initVarBasic();
|
||||
cc_item_index = CC_NO_INDEX;
|
||||
cc_item_xr = cc_item_yr = -1;
|
||||
}
|
||||
|
||||
// Paint container background in cc-items with shadow, background and frame.
|
||||
|
Reference in New Issue
Block a user