Debian Codegraph @

fon/praat_TimeFunction.h

raw
1 #ifndef _praat_TimeFunction_h_
2 #define _praat_TimeFunction_h_
3 /* praat_TimeFunction.h
4 *
5 * Copyright (C) 2016,2017,2021 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 /*
22 Interface functions for time-based subclasses of Function.
23 */
24
25 #include "Function.h"
26 #include "praatM.h"
27
28 /*
29 Prompting for fromTime and toTime on one row with two fields.
30 */
31 #define praat_TimeFunction_RANGE(fromTime,toTime) \
32 REAL (fromTime, U"left Time range (s)", U"0.0") \
33 REAL (toTime, U"right Time range (s)", U"0.0 (= all)")
34
35 /*
36 Action buttons.
37 */
38 void praat_TimeFunction_query_init (ClassInfo klas); // Query buttons for end points and duration
39 void praat_TimeFunction_modify_init (ClassInfo klas); // Modify buttons for time shifting and time scaling
40
41 /* End of file praat_TimeFunction.h */
42 #endif