FloatingOrthoView::FloatingOrthoView(int id, const std::string& title, wxWindow* parent) : wxutil::TransientWindow(title, parent, false), XYWnd(id, this) { std::string viewNodePath = RKEY_XYVIEW_VIEW_ROOT + "/view[@name='" + string::to_string(_id) + "']"; InitialiseWindowPosition(-1, -1, viewNodePath); }
// Private constructor sets up dialog LightInspector::LightInspector() : wxutil::TransientWindow(_(LIGHTINSPECTOR_TITLE), GlobalMainFrame().getWxTopLevelWindow(), true), _isProjected(false), _texSelector(NULL), _updateActive(false) { loadNamedPanel(this, "LightInspectorMainPanel"); setupLightShapeOptions(); setupOptionsPanel(); setupTextureWidgets(); makeLabelBold(this, "LightInspectorVolumeLabel"); makeLabelBold(this, "LightInspectorColourLabel"); makeLabelBold(this, "LightInspectorOptionsLabel"); makeLabelBold(this, "LightInspectorTextureLabel"); InitialiseWindowPosition(600, 360, RKEY_WINDOW_STATE); }
PatchInspector::PatchInspector() : TransientWindow(_(WINDOW_TITLE), GlobalMainFrame().getWxTopLevelWindow(), true), _rowCombo(NULL), _colCombo(NULL), _selectionInfo(GlobalSelectionSystem().getSelectionInfo()), _patchRows(0), _patchCols(0), _updateActive(false), _updateNeeded(false) { Connect(wxEVT_IDLE, wxIdleEventHandler(PatchInspector::onIdle), NULL, this); // Create all the widgets and pack them into the window populateWindow(); // Update the widget status rescanSelection(); InitialiseWindowPosition(410, 480, RKEY_WINDOW_STATE); }