mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CComponentsItem: add members to set pointer for parent object
Pointer is typically of type CComponentsForm or derived classes, default intialized with NULL and serves to access for properties of parent object by embedded items.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public
|
||||
License along with this program; if not, write to the
|
||||
@@ -53,10 +53,11 @@ void CComponentsItem::initVarItem()
|
||||
{
|
||||
//CComponents
|
||||
initVarBasic();
|
||||
cc_item_index = CC_NO_INDEX;
|
||||
cc_item_index = CC_NO_INDEX;
|
||||
cc_item_xr = cc_item_yr = -1;
|
||||
cc_item_enabled = true;
|
||||
cc_item_selected = false;
|
||||
cc_item_enabled = true;
|
||||
cc_item_selected = false;
|
||||
cc_parent = NULL;
|
||||
}
|
||||
|
||||
// Paint container background in cc-items with shadow, background and frame.
|
||||
|
Reference in New Issue
Block a user