Files
Blocks3D/Property.cpp
2018-10-22 22:01:46 -07:00

21 lines
297 B
C++

#include "Property.h"
Property::Property(PROPGRIDITEM * item, void(*onPropUpdate)(PROPGRIDITEM))
{
this->callbackFuncOnChange = onPropUpdate;
this->item = item;
}
Property::~Property(void)
{
delete item;
}
void Property::updateProperty(PROPGRIDITEM item)
{
callbackFuncOnChange(item);
}