Debian Codegraph @

foned/SpectrumEditor.h

raw symbols SCIP
1 #cxx . . $ `<file>/foned/SpectrumEditor.h`/ifndef _SpectrumEditor_h_
2 #define _SpectrumEditor_h_cxx . . $ `foned/SpectrumEditor.h:2:9`!
3 /* SpectrumEditor.h
4 *
5 * Copyright (C) 1992-2005,2007-2013,2015,2016,2018-2020,2022 Paul Boersma
6 *
7 * This code is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or (at
10 * your option) any later version.
11 *
12 * This code is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 * See the GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this work. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #include "FunctionEditor.h"cxx . . $ `<file>/foned/FunctionEditor.h`/
22 #include "SpectrumArea.h"cxx . . $ `<file>/foned/SpectrumArea.h`/
23
24 Thing_definecxx . . $ autoSpectrumEditor# (SpectrumEditor, FunctionEditor) {
25 DEFINE_FunctionAreacxx . . $ `foned/FunctionArea.h:209:9`! (1, SpectrumArea, spectrumArea)
26
27 void v1_dataChangedcxx . . $ structSpectrumEditor#v1_dataChanged(c0154a85f79216c7). (Editorcxx . . $ Editor# sender) override {
28 SpectrumEditor_Parentcxx . . $ SpectrumEditor_Parent# :: v1_dataChangedcxx . . $ structFunctionEditor#v1_dataChanged(c0154a85f79216c7). (sender);
29 Thing_castcxx . . $ `sys/Thing.h:246:9`! (Spectrum, spectrum, ourcxx . . $ `melder/melder.h:42:9`! data());
30 ourcxx . . $ `melder/melder.h:42:9`! spectrumAreacxx . . $ structSpectrumEditor#spectrumArea(74709cd63294fd8c).() ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). functionChangedcxx . . $ structFunctionArea#functionChanged(18c8ee0a6873bee4). (spectrum);
31 }
32 void v_distributeAreascxx . . $ structSpectrumEditor#v_distributeAreas(49f6e7a06ebc5aa8). () override {
33 ourcxx . . $ `melder/melder.h:42:9`! spectrumAreacxx . . $ structSpectrumEditor#spectrumArea(74709cd63294fd8c).() ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). setGlobalYRange_fractioncxx . . $ structFunctionArea#setGlobalYRange_fraction(bc12c9ec15586e6a). (0.0, 1.0);
34 }
35 void v_createMenuItems_helpcxx . . $ structSpectrumEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (EditorMenucxx . . $ EditorMenu# menu)
36 override;
37 void v_playcxx . . $ structSpectrumEditor#v_play(bc12c9ec15586e6a). (double fromFrequency, double toFrequency) override {
38 SpectrumArea_playcxx . . $ SpectrumArea_play(a16cff1b14bba2f9). (ourcxx . . $ `melder/melder.h:42:9`! spectrumAreacxx . . $ structSpectrumEditor#spectrumArea(74709cd63294fd8c).().getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), fromFrequency, toFrequency);
39 }
40 conststring32cxx . . $ conststring32# v_domainNamecxx . . $ structSpectrumEditor#v_domainName(1912f6684645c851). ()
41 override { return U"frequency"; }
42 conststring32cxx . . $ conststring32# v_format_domaincxx . . $ structSpectrumEditor#v_format_domain(1912f6684645c851). ()
43 override { return U"Frequency"; }
44 const char * v_format_shortcxx . . $ structSpectrumEditor#v_format_short(33a1f659e94feb42). ()
45 override { return "%.0f"; }
46 const char * v_format_longcxx . . $ structSpectrumEditor#v_format_long(33a1f659e94feb42). ()
47 override { return "%.2f"; }
48 int v_fixedPrecision_longcxx . . $ structSpectrumEditor#v_fixedPrecision_long(b126dc7c1de90089). ()
49 override { return 2; }
50 conststring32cxx . . $ conststring32# v_format_units_longcxx . . $ structSpectrumEditor#v_format_units_long(1912f6684645c851). ()
51 override { return U"hertz"; }
52 conststring32cxx . . $ conststring32# v_format_units_shortcxx . . $ structSpectrumEditor#v_format_units_short(1912f6684645c851). ()
53 override { return U"Hz"; }
54 const char * v_format_totalDurationcxx . . $ structSpectrumEditor#v_format_totalDuration(33a1f659e94feb42). ()
55 override { return u8"Total bandwidth %.2f hertz"; }
56 const char * v_format_windowcxx . . $ structSpectrumEditor#v_format_window(33a1f659e94feb42). ()
57 override { return u8"Visible part %.2f hertz"; }
58 const char * v_format_selectioncxx . . $ structSpectrumEditor#v_format_selection(33a1f659e94feb42). ()
59 override { return u8"%.2f Hz"; }
60
61 #include "SpectrumEditor_prefs.h"cxx . . $ `<file>/foned/SpectrumEditor_prefs.h`/
62 };
63
64 autoSpectrumEditorcxx . . $ autoSpectrumEditor# SpectrumEditor_createcxx . . $ SpectrumEditor_create(c5433dd5afdd30ce). (conststring32cxx . . $ conststring32# title, Spectrumcxx . . $ Spectrum# data);
65
66 /* End of file SpectrumEditor.h */
67 #endif