| 1 | /* FormantModelerList_def.h |
| 2 | * |
| 3 | * Copyright (C) 2020 David Weenink |
| 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. See the GNU |
| 13 | * 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 | #define ooSTRUCT FormantModelerListDrawingSpecification |
| 20 | oo_DEFINE_CLASS (FormantModelerListDrawingSpecification, Daata) |
| 21 | oo_INTEGER (numberOfModelers) |
| 22 | oo_INTEGER (numberOfModelersToDraw) |
| 23 | oo_INTVEC (drawingOrder, numberOfModelers) |
| 24 | oo_INTEGER (selectedCandidate) |
| 25 | oo_DOUBLE (boxLineWidth) // {3.0}; |
| 26 | oo_INTVEC (showOrder, numberOfModelers) |
| 27 | oo_STRING_VECTOR (midTopText, numberOfModelers) |
| 28 | |
| 29 | #if oo_DECLARING |
| 30 | MelderColour oddFormantColour; // {Melder_RED}; |
| 31 | MelderColour evenFormantColour; // {Melder_MAROON}; |
| 32 | MelderColour selectedCandidateColour; // {Melder_RED} |
| 33 | MelderColour midTopText_colour; // {Melder_BLUE}; |
| 34 | #endif |
| 35 | |
| 36 | #if oo_DECLARING |
| 37 | void v1_info () |
| 38 | override { } |
| 39 | #endif |
| 40 | |
| 41 | oo_END_CLASS (FormantModelerListDrawingSpecification) |
| 42 | #undef ooSTRUCT |
| 43 | |
| 44 | #define ooSTRUCT FormantModelerList |
| 45 | oo_DEFINE_CLASS (FormantModelerList, Function) |
| 46 | |
| 47 | oo_INTEGER (numberOfModelers) |
| 48 | oo_INTEGER (numberOfTracksPerModel) |
| 49 | oo_DOUBLE (varianceExponent) |
| 50 | oo_INTVEC (numberOfParametersPerTrack, numberOfTracksPerModel) |
| 51 | oo_COLLECTION_OF (OrderedOf, formantModelers, FormantModeler, 0) |
| 52 | |
| 53 | #if oo_DECLARING || oo_DESTROYING |
| 54 | oo_OBJECT (FormantModelerListDrawingSpecification, 0, drawingSpecification) |
| 55 | #endif |
| 56 | |
| 57 | #if oo_DECLARING |
| 58 | void v1_info () |
| 59 | override; |
| 60 | #endif |
| 61 | |
| 62 | oo_END_CLASS (FormantModelerList) |
| 63 | #undef ooSTRUCT |
| 64 | |
| 65 | /* End of file FormantModelerList_def.h */ |