SmartAttributeEditorManager::SmartAttributeEditorManager(wxWindow* parent, View::MapDocumentWPtr document) : wxPanel(parent), m_document(document), m_name("") { createEditors(); activateEditor(defaultEditor(), ""); bindObservers(); }
void EntityDefinitionManager::setDefinitions(const EntityDefinitionList& newDefinitions) { clear(); m_definitions = newDefinitions; updateIndices(); updateGroups(); updateCache(); bindObservers(); }
FaceAttribsEditor::FaceAttribsEditor(wxWindow* parent, MapDocumentWPtr document, GLContextManager& contextManager) : wxPanel(parent), m_document(document), m_uvEditor(NULL), m_xOffsetEditor(NULL), m_yOffsetEditor(NULL), m_xScaleEditor(NULL), m_yScaleEditor(NULL), m_rotationEditor(NULL), m_surfaceValueLabel(NULL), m_surfaceValueEditor(NULL), m_faceAttribsSizer(NULL), m_surfaceFlagsLabel(NULL), m_surfaceFlagsEditor(NULL), m_contentFlagsLabel(NULL), m_contentFlagsEditor(NULL) { createGui(contextManager); bindEvents(); bindObservers(); }
void GameDialog::createDialog(wxWindow* parent, const wxString& title, const wxString& infoText) { Create(wxGetTopLevelParent(parent), wxID_ANY, title); createGui(title, infoText); bindObservers(); CentreOnParent(); }