Debian Codegraph @

foned/SpectrumEditor.cpp

raw symbols SCIP
1 /* SpectrumEditor.cpp
2 *
3 * Copyright (C) 1992-2022 Paul Boersma
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #include "SpectrumEditor.h"cxx . . $ `<file>/foned/SpectrumEditor.h`/
20 #include "EditorM.h"cxx . . $ `<file>/sys/EditorM.h`/
21
22 Thing_implementcxx . . $ `sys/Thing.h:65:9`! (SpectrumEditor, FunctionEditor, 0);
23
24 #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/
25 #include "SpectrumEditor_prefs.h"cxx . . $ `<file>/foned/SpectrumEditor_prefs.h`/
26 #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/
27 #include "SpectrumEditor_prefs.h"cxx . . $ `<file>/foned/SpectrumEditor_prefs.h`/
28 #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/
29 #include "SpectrumEditor_prefs.h"cxx . . $ `<file>/foned/SpectrumEditor_prefs.h`/
30
31 static void menu_cb_help_SpectrumEditorcxx . . $ menu_cb_help_SpectrumEditor(d8c0fec2667223bd). (SpectrumEditorcxx . . $ SpectrumEditor#, EDITOR_ARGScxx . . $ `sys/EditorM.h:25:9`!) { Melder_helpcxx . . $ Melder_help(ff00d524ab0355ec). (U"SpectrumEditor"); }
32 static void menu_cb_help_Spectrumcxx . . $ menu_cb_help_Spectrum(d8c0fec2667223bd). (SpectrumEditorcxx . . $ SpectrumEditor#, EDITOR_ARGScxx . . $ `sys/EditorM.h:25:9`!) { Melder_helpcxx . . $ Melder_help(ff00d524ab0355ec). (U"Spectrum"); }
33
34 void structSpectrumEditorcxx . . $ structSpectrumEditor# :: v_createMenuItems_helpcxx . . $ structSpectrumEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (EditorMenucxx . . $ EditorMenu# menu) {
35 SpectrumEditor_Parentcxx . . $ SpectrumEditor_Parent# :: v_createMenuItems_helpcxx . . $ structFunctionEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (menu);
36 EditorMenu_addCommandcxx . . $ EditorMenu_addCommand(b3c50ad5ffa1d58a). (menu, U"SpectrumEditor help", '?', menu_cb_help_SpectrumEditorcxx . . $ MelderCallback#MelderCallback(aaa169a015c1cf97).);
37 EditorMenu_addCommandcxx . . $ EditorMenu_addCommand(b3c50ad5ffa1d58a). (menu, U"Spectrum help", 0, menu_cb_help_Spectrumcxx . . $ MelderCallback#MelderCallback(aaa169a015c1cf97).);
38 }
39
40 autoSpectrumEditorcxx . . $ autoSpectrumEditor# SpectrumEditor_createcxx . . $ SpectrumEditor_create(c5433dd5afdd30ce). (conststring32cxx . . $ conststring32# title, Spectrumcxx . . $ Spectrum# spectrum) {
41 try {
42 autoSpectrumEditorcxx . . $ autoSpectrumEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (SpectrumEditor);
43 mycxx . . $ `melder/melder.h:44:9`! spectrumAreacxx . . $ structSpectrumEditor#spectrumArea(74709cd63294fd8c).() =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). SpectrumArea_createcxx . . $ SpectrumArea_create(9a8c382f265ec384). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).());
44 FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, spectrum);
45 return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).;
46 } catch (MelderErrorcxx . . $ MelderError#) {
47 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Spectrum window not created.");
48 }
49 }
50
51 /* End of file SpectrumEditor.cpp */