Skip to content
Snippets Groups Projects
Commit c1b922c3 authored by alja's avatar alja Committed by Sergey Linev
Browse files

Apply corrections from Sergey, PR #7153

parent c1829292
No related branches found
No related tags found
No related merge requests found
......@@ -66,8 +66,8 @@ public:
private:
std::vector<REveDataItem*> fItems;
std::function<void (REveDataItemList*, const std::vector<int>&)> _handler_items_change;
std::function<void (REveDataItemList*, Set_t& impSel)> _handler_fillimp;
std::function<void (REveDataItemList*, const std::vector<int>&)> fHandlerItemsChange;
std::function<void (REveDataItemList*, Set_t& impSel)> fHandlerFillImplied;
std::vector<TTip> fTooltipExpressions;
......
......@@ -217,7 +217,7 @@ public:
void EnforceTimerActive (Bool_t ta) { fTimerActive = ta; }
RWebWindow* GetWebWindow() const { return fWebWindow.get(); }
std::shared_ptr<RWebWindow> GetWebWindow() const { return fWebWindow; }
// void Send(void* buff, unsigned connid);
void Send(unsigned connid, const std::string &data);
......
......@@ -75,7 +75,7 @@ void REveDataItemList::ItemChanged(REveDataItem* iItem)
{
if (chld == iItem) {
ids.push_back(idx);
_handler_items_change( this , ids);
fHandlerItemsChange( this , ids);
return;
}
idx++;
......@@ -88,7 +88,7 @@ void REveDataItemList::ItemChanged(Int_t idx)
{
std::vector<int> ids;
ids.push_back(idx);
_handler_items_change( this , ids);
fHandlerItemsChange( this , ids);
}
//______________________________________________________________________________
......@@ -100,7 +100,7 @@ void REveDataItemList::FillImpliedSelectedSet( Set_t& impSelSet)
for (auto x : RefSelectedSet())
printf("%d \n", x);
*/
_handler_fillimp( this , impSelSet);
fHandlerFillImplied( this , impSelSet);
}
//______________________________________________________________________________
......@@ -134,7 +134,7 @@ Bool_t REveDataItemList::SetRnrState(Bool_t iRnrSelf)
fItems[i]->SetRnrSelf(fRnrSelf);
}
_handler_items_change( this , ids);
fHandlerItemsChange( this , ids);
StampVisibility();
StampObjProps();
......@@ -197,13 +197,13 @@ void REveDataItemList::AddTooltipExpression(const std::string &title, const std:
//______________________________________________________________________________
void REveDataItemList::SetItemsChangeDelegate (std::function<void (REveDataItemList*, const std::vector<int>&)> handler_func)
{
_handler_items_change = handler_func;
fHandlerItemsChange = handler_func;
}
//______________________________________________________________________________
void REveDataItemList::SetFillImpliedSelectedDelegate (std::function<void (REveDataItemList*, Set_t& impSelSet)> handler_func)
{
_handler_fillimp = handler_func;
fHandlerFillImplied = handler_func;
}
//______________________________________________________________________________
......@@ -286,7 +286,7 @@ void REveDataCollection::ApplyFilter()
}
StampObjProps();
fItemList->StampObjProps();
fItemList->_handler_items_change( fItemList , ids);
fItemList->fHandlerItemsChange( fItemList , ids);
}
//______________________________________________________________________________
......@@ -377,7 +377,7 @@ void REveDataCollection::SetMainColor(Color_t newv)
}
fItemList->StampObjProps();
fItemList->SetMainColor(newv);
fItemList->_handler_items_change( fItemList , ids);
fItemList->fHandlerItemsChange( fItemList , ids);
}
//______________________________________________________________________________
......@@ -392,7 +392,7 @@ Bool_t REveDataCollection::SetRnrState(Bool_t iRnrSelf)
}
fItemList->StampObjProps();
fItemList->_handler_items_change( fItemList , ids);
fItemList->fHandlerItemsChange( fItemList , ids);
return ret;
}
......
......@@ -77,7 +77,7 @@ void REveDataProxyBuilderBase::Build()
Clean();
if (!m_collection->GetRnrSelf())
return;
return;
for (auto &pp: m_products)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment