MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / ShowModal

Method ShowModal

plugins/dm.gui/ReadableEditorDialog.cpp:95–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95int ReadableEditorDialog::ShowModal()
96{
97 // Load the initial values from the entity
98 if (!initControlsFromEntity())
99 {
100 // User clicked cancel, so destroy the window.
101 return wxID_CANCEL;
102 }
103
104 // Initialize proper editing controls.
105 populateControlsFromXData();
106
107 // Initialise the GL widget after the widgets have been shown
108 _guiView->initialiseView();
109
110 return DialogBase::ShowModal();
111}
112
113void ReadableEditorDialog::RunDialog(const cmd::ArgumentList& args)
114{

Callers 13

runMethod · 0.45
RunDialogMethod · 0.45
RunMethod · 0.45
ShowMethod · 0.45
ImportMethod · 0.45
RunDialogMethod · 0.45
onEditReadmeMethod · 0.45
ShowDialogMethod · 0.45
onChooseButtonMethod · 0.45
runDialogMethod · 0.45
ShowDialogMethod · 0.45
onChooseButtonMethod · 0.45

Calls 1

initialiseViewMethod · 0.80

Tested by

no test coverage detected