Crossfire Server, Branch 1.12
R12190
|
00001 #include <Qt> 00002 00003 extern "C" { 00004 #include "global.h" 00005 #include "artifact.h" 00006 } 00007 00008 #include "CREArtifactPanel.h" 00009 #include "CRETreeItemArtifact.h" 00010 #include "CREUtils.h" 00011 00012 CRETreeItemArtifact::CRETreeItemArtifact(const artifact* artifact) 00013 { 00014 myArtifact = artifact; 00015 } 00016 00017 void CRETreeItemArtifact::fillPanel(QWidget* panel) 00018 { 00019 CREArtifactPanel* p = static_cast<CREArtifactPanel*>(panel); 00020 p->setArtifact(myArtifact); 00021 }