mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-14 15:46:17 +00:00
Massive overhaul of property system done over the last few months. There is unfinished/broken stuff still, but it compiles now.
This commit is contained in:
@@ -8,11 +8,12 @@
|
||||
#include <QUndoCommand>
|
||||
|
||||
// todo: make this more general... it shouldn't be relying on a CPropertyModel pointer
|
||||
class CResizeScriptArrayCommand : public IUndoCommand
|
||||
//FIXME
|
||||
/*class CResizeScriptArrayCommand : public IUndoCommand
|
||||
{
|
||||
CWorldEditor *mpEditor;
|
||||
CPropertyPtr mpArray;
|
||||
QVector<IProperty*> mDeletedProperties;
|
||||
CWorldEditor* mpEditor;
|
||||
IPropertyNew* mpArray;
|
||||
QVector<IPropertyNew*> mDeletedProperties;
|
||||
CPropertyModel *mpModel;
|
||||
|
||||
int mOldSize;
|
||||
@@ -20,11 +21,11 @@ class CResizeScriptArrayCommand : public IUndoCommand
|
||||
bool mNewSizeLarger;
|
||||
|
||||
public:
|
||||
CResizeScriptArrayCommand(IProperty *pProp, CWorldEditor *pEditor, CPropertyModel *pModel, int NewSize);
|
||||
CResizeScriptArrayCommand(IPropertyNew *pProp, CWorldEditor *pEditor, CPropertyModel *pModel, int NewSize);
|
||||
~CResizeScriptArrayCommand();
|
||||
void undo();
|
||||
void redo();
|
||||
bool AffectsCleanState() const { return true; }
|
||||
};
|
||||
};*/
|
||||
|
||||
#endif // CRESIZESCRIPTARRAYCOMMAND_H
|
||||
|
||||
Reference in New Issue
Block a user