| 1 | /* FunctionArea.cpp |
| 2 | * |
| 3 | * Copyright (C) 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 "FunctionArea.h"cxx . . $ `<file>/foned/FunctionArea.h`/ |
| 20 | #include "EditorM.h"cxx . . $ `<file>/sys/EditorM.h`/ |
| 21 | |
| 22 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (FunctionArea, Thing, 0); |
| 23 | |
| 24 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 25 | #include "FunctionArea_prefs.h"cxx . . $ `<file>/foned/FunctionArea_prefs.h`/ |
| 26 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 27 | #include "FunctionArea_prefs.h"cxx . . $ `<file>/foned/FunctionArea_prefs.h`/ |
| 28 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 29 | #include "FunctionArea_prefs.h"cxx . . $ `<file>/foned/FunctionArea_prefs.h`/ |
| 30 | |
| 31 | GuiMenuItemcxx . . $ GuiMenuItem# FunctionAreaMenu_addCommandcxx . . $ FunctionAreaMenu_addCommand(e6bf179389aae652). (EditorMenucxx . . $ EditorMenu# me, conststring32cxx . . $ conststring32# itemTitle /* cattable */, uint32cxx . . $ uint32# flags, |
| 32 | FunctionAreaCommandCallbackcxx . . $ FunctionAreaCommandCallback# commandCallback, FunctionAreacxx . . $ FunctionArea# commandBoss) |
| 33 | { |
| 34 | return DataGuiMenu_addCommandcxx . . $ DataGuiMenu_addCommand(234e92b25f9579fc). (me, itemTitle, flags, commandCallbackcxx . . $ MelderCallback#MelderCallback(aaa169a015c1cf97)..getcxx . . $ MelderCallback#get(ac3d6dcac2633a48).(), commandBoss); |
| 35 | } |
| 36 | |
| 37 | static bool v_form_pictureSelection__drawSelectionTimescxx . . $ v_form_pictureSelection__drawSelectionTimes.; |
| 38 | static bool v_form_pictureSelection__drawSelectionHairscxx . . $ v_form_pictureSelection__drawSelectionHairs.; |
| 39 | void structFunctionAreacxx . . $ structFunctionArea# :: v_form_pictureSelectioncxx . . $ structFunctionArea#v_form_pictureSelection(2b98fae8e13abb61). (EditorCommandcxx . . $ EditorCommand# cmd) { |
| 40 | UiForm_addBooleancxx . . $ UiForm_addBoolean(b90450cfcf0b1b39). (cmd -> d_uiformcxx . . $ structEditorCommand#d_uiform..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), & v_form_pictureSelection__drawSelectionTimescxx . . $ v_form_pictureSelection__drawSelectionTimes., nullptr, U"Draw selection times", true); |
| 41 | UiForm_addBooleancxx . . $ UiForm_addBoolean(b90450cfcf0b1b39). (cmd -> d_uiformcxx . . $ structEditorCommand#d_uiform..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), & v_form_pictureSelection__drawSelectionHairscxx . . $ v_form_pictureSelection__drawSelectionHairs., nullptr, U"Draw selection hairs", true); |
| 42 | } |
| 43 | void structFunctionAreacxx . . $ structFunctionArea# :: v_ok_pictureSelectioncxx . . $ structFunctionArea#v_ok_pictureSelection(2b98fae8e13abb61). (EditorCommandcxx . . $ EditorCommand# cmd) { |
| 44 | SET_BOOLEANcxx . . $ `sys/EditorM.h:471:9`! (v_form_pictureSelection__drawSelectionTimes, ourcxx . . $ `melder/melder.h:42:9`! classPref_picture_drawSelectionTimes()) |
| 45 | SET_BOOLEANcxx . . $ `sys/EditorM.h:471:9`! (v_form_pictureSelection__drawSelectionHairs, ourcxx . . $ `melder/melder.h:42:9`! classPref_picture_drawSelectionHairs()) |
| 46 | } |
| 47 | void structFunctionAreacxx . . $ structFunctionArea# :: v_do_pictureSelectioncxx . . $ structFunctionArea#v_do_pictureSelection(2b98fae8e13abb61). (EditorCommandcxx . . $ EditorCommand# /* cmd */) { |
| 48 | ourcxx . . $ `melder/melder.h:42:9`! setClassPref_picture_drawSelectionTimescxx . . $ structFunctionArea#setClassPref_picture_drawSelectionTimes(b45ddcbc8423892c). (v_form_pictureSelection__drawSelectionTimescxx . . $ v_form_pictureSelection__drawSelectionTimes.); |
| 49 | ourcxx . . $ `melder/melder.h:42:9`! setClassPref_picture_drawSelectionHairscxx . . $ structFunctionArea#setClassPref_picture_drawSelectionHairs(b45ddcbc8423892c). (v_form_pictureSelection__drawSelectionHairscxx . . $ v_form_pictureSelection__drawSelectionHairs.); |
| 50 | } |
| 51 | |
| 52 | void FunctionArea_drawRightMarkcxx . . $ FunctionArea_drawRightMark(df9b3f4958966f01). (FunctionAreacxx . . $ FunctionArea# me, double yWC, conststring32cxx . . $ conststring32# yWC_string, conststring32cxx . . $ conststring32# units, int verticalAlignment) { |
| 53 | static MelderStringcxx . . $ MelderString# text; |
| 54 | MelderString_copycxx . . $ MelderString_copy(65be51a793e0ff96). (& text, yWC_string, units); |
| 55 | double textWidth = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), text.stringcxx . . $ MelderString#string.) + Graphics_dxMMtoWCcxx . . $ Graphics_dxMMtoWC(f042c24bcd87f07e). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), 0.5); |
| 56 | if (verticalAlignment != Graphics_HALFcxx . . $ `sys/Graphics.h:253:9`!) |
| 57 | Graphics_linecxx . . $ Graphics_line(72bdb7937dbb13da). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), mycxx . . $ `melder/melder.h:44:9`! endWindowcxx . . $ structFunctionArea#endWindow(21b6c25e127938e2).(), yWC, mycxx . . $ `melder/melder.h:44:9`! endWindowcxx . . $ structFunctionArea#endWindow(21b6c25e127938e2).() + textWidth, yWC); |
| 58 | Graphics_setTextAlignmentcxx . . $ Graphics_setTextAlignment(a697afee548943ae). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), Graphics_LEFTcxx . . $ `sys/Graphics.h:249:9`!, verticalAlignment); |
| 59 | if (verticalAlignment == Graphics_BOTTOMcxx . . $ `sys/Graphics.h:252:9`!) |
| 60 | yWC -= Graphics_dyMMtoWCcxx . . $ Graphics_dyMMtoWC(f042c24bcd87f07e). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), 0.5); |
| 61 | Graphics_textcxx . . $ Graphics_text(bd267f534253e388). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), mycxx . . $ `melder/melder.h:44:9`! endWindowcxx . . $ structFunctionArea#endWindow(21b6c25e127938e2).(), yWC, text.stringcxx . . $ MelderString#string.); |
| 62 | } |
| 63 | |
| 64 | void FunctionArea_drawLegend_cxx . . $ FunctionArea_drawLegend_(b4cb387346b51cd7). (FunctionAreacxx . . $ FunctionArea# me, |
| 65 | conststring32cxx . . $ conststring32# cattableText1, MelderColourcxx . . $ MelderColour# colour1, |
| 66 | conststring32cxx . . $ conststring32# cattableText2, MelderColourcxx . . $ MelderColour# colour2, |
| 67 | conststring32cxx . . $ conststring32# cattableText3, MelderColourcxx . . $ MelderColour# colour3, |
| 68 | conststring32cxx . . $ conststring32# cattableText4, MelderColourcxx . . $ MelderColour# colour4 |
| 69 | ) { |
| 70 | FunctionArea_setViewportcxx . . $ FunctionArea_setViewport(e9e5ddf62bc86a1a). (me); |
| 71 | Graphics_setWindowcxx . . $ Graphics_setWindow(72bdb7937dbb13da). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), 0.0, 1.0, mycxx . . $ `melder/melder.h:44:9`! bottom_pxltcxx . . $ structFunctionArea#bottom_pxlt(21b6c25e127938e2).(), mycxx . . $ `melder/melder.h:44:9`! top_pxltcxx . . $ structFunctionArea#top_pxlt(21b6c25e127938e2).()); |
| 72 | Graphics_setColourcxx . . $ Graphics_setColour(eb47b9513d3f4721). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), colour1); |
| 73 | Graphics_setTextAlignmentcxx . . $ Graphics_setTextAlignment(a697afee548943ae). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), kGraphics_horizontalAlignmentcxx . . $ kGraphics_horizontalAlignment#::RIGHTcxx . . $ kGraphics_horizontalAlignment#RIGHT., Graphics_BASELINEcxx . . $ `sys/Graphics.h:255:9`!); |
| 74 | double fontSize = Graphics_inqFontSizecxx . . $ Graphics_inqFontSize(f906975acce41a59). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).()), oldFontSize = fontSize; |
| 75 | Graphics_setFontcxx . . $ Graphics_setFont(f6e617e53e6c04dc). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), kGraphics_fontcxx . . $ kGraphics_font#::TIMEScxx . . $ kGraphics_font#TIMES.); |
| 76 | //Graphics_setFontStyle (my graphics(), Graphics_ITALIC); |
| 77 | if (! cattableText1) cattableText1 = U""; |
| 78 | if (! cattableText2) cattableText2 = U""; |
| 79 | if (! cattableText3) cattableText3 = U""; |
| 80 | if (! cattableText4) cattableText4 = U""; |
| 81 | double lengthText1 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText1); |
| 82 | double lengthText2 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText2); |
| 83 | double lengthText3 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText3); |
| 84 | double lengthText4 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText4); |
| 85 | conststring32cxx . . $ conststring32# separator1 = ( cattableText1 [0] != U'\0' && |
| 86 | (cattableText2 [0] != U'\0' || cattableText3 [0] != U'\0' || cattableText4 [0] != U'\0') ? U" " : U"" ); |
| 87 | conststring32cxx . . $ conststring32# separator2 = ( cattableText2 [0] != U'\0' && |
| 88 | (cattableText3 [0] != U'\0' || cattableText4 [0] != U'\0') ? U" " : U"" ); |
| 89 | conststring32cxx . . $ conststring32# separator3 = ( cattableText3 [0] != U'\0' && |
| 90 | cattableText4 [0] != U'\0' ? U" " : U"" ); |
| 91 | double lengthSep1 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), separator1); |
| 92 | double lengthSep2 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), separator2); |
| 93 | double lengthSep3 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), separator3); |
| 94 | double totalLength = lengthText1 + lengthSep1 + lengthText2 + lengthSep2 + |
| 95 | lengthText3 + lengthSep3 + lengthText4; |
| 96 | if (totalLength > 1.0) { |
| 97 | fontSize = floorcxx . . $ floor(fee4f1d22bc8e617). (fontSize / totalLength); |
| 98 | Graphics_setFontSizecxx . . $ Graphics_setFontSize(2514a1c07b6be5e2). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), fontSize); |
| 99 | lengthText1 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText1); |
| 100 | lengthText2 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText2); |
| 101 | lengthText3 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText3); |
| 102 | lengthText4 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText4); |
| 103 | lengthSep1 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), separator1); |
| 104 | lengthSep2 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), separator2); |
| 105 | lengthSep3 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), separator3); |
| 106 | } |
| 107 | totalLength = lengthText1 + lengthSep1 + lengthText2 + lengthSep2 + |
| 108 | lengthText3 + lengthSep3 + lengthText4; |
| 109 | if (totalLength > 1.0) { |
| 110 | fontSize -= 1.0; |
| 111 | Graphics_setFontSizecxx . . $ Graphics_setFontSize(2514a1c07b6be5e2). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), fontSize); |
| 112 | lengthText1 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText1); |
| 113 | lengthText2 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText2); |
| 114 | lengthText3 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText3); |
| 115 | lengthText4 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), cattableText4); |
| 116 | lengthSep1 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), separator1); |
| 117 | lengthSep2 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), separator2); |
| 118 | lengthSep3 = Graphics_textWidthcxx . . $ Graphics_textWidth(c49f17072ec643bd). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), separator3); |
| 119 | } |
| 120 | Graphics_setColourcxx . . $ Graphics_setColour(eb47b9513d3f4721). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), colour1); |
| 121 | const double y = mycxx . . $ `melder/melder.h:44:9`! top_pxltcxx . . $ structFunctionArea#top_pxlt(21b6c25e127938e2).() + 2; |
| 122 | Graphics_textcxx . . $ Graphics_text(8e1820bb471fc8c8). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), 1.0 - lengthText4 - lengthSep3 - lengthText3 - lengthSep2 - lengthText2 - lengthSep1, |
| 123 | y, cattableText1); |
| 124 | Graphics_setColourcxx . . $ Graphics_setColour(eb47b9513d3f4721). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), colour2); |
| 125 | Graphics_textcxx . . $ Graphics_text(8e1820bb471fc8c8). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), 1.0 - lengthText4 - lengthSep3 - lengthText3 - lengthSep2, |
| 126 | y, cattableText2); |
| 127 | Graphics_setColourcxx . . $ Graphics_setColour(eb47b9513d3f4721). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), colour3); |
| 128 | Graphics_textcxx . . $ Graphics_text(8e1820bb471fc8c8). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), 1.0 - lengthText4 - lengthSep3, |
| 129 | y, cattableText3); |
| 130 | Graphics_setColourcxx . . $ Graphics_setColour(eb47b9513d3f4721). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), colour4); |
| 131 | Graphics_textcxx . . $ Graphics_text(8e1820bb471fc8c8). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), 1.0, |
| 132 | y, cattableText4); |
| 133 | Graphics_setColourcxx . . $ Graphics_setColour(eb47b9513d3f4721). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), Melder_BLACKcxx . . $ Melder_BLACK.); |
| 134 | Graphics_textcxx . . $ Graphics_text(8e1820bb471fc8c8). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), 1.0 - lengthText4 - lengthSep3 - lengthText3 - lengthSep2 - lengthText2, |
| 135 | y, separator1); |
| 136 | Graphics_textcxx . . $ Graphics_text(8e1820bb471fc8c8). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), 1.0 - lengthText4 - lengthSep3 - lengthText3, |
| 137 | y, separator2); |
| 138 | Graphics_textcxx . . $ Graphics_text(8e1820bb471fc8c8). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), 1.0 - lengthText4, |
| 139 | y, separator3); |
| 140 | Graphics_setFontcxx . . $ Graphics_setFont(f6e617e53e6c04dc). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), kGraphics_fontcxx . . $ kGraphics_font#::HELVETICAcxx . . $ kGraphics_font#HELVETICA.); |
| 141 | Graphics_setFontStylecxx . . $ Graphics_setFontStyle(9abe41586e87648d). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), Graphics_NORMALcxx . . $ `sys/Graphics.h:261:9`!); |
| 142 | Graphics_setFontSizecxx . . $ Graphics_setFontSize(2514a1c07b6be5e2). (mycxx . . $ `melder/melder.h:44:9`! graphicscxx . . $ structFunctionArea#graphics(5af6864da672d398).(), oldFontSize); |
| 143 | } |
| 144 | |
| 145 | void FunctionArea_garnishPicturecxx . . $ FunctionArea_garnishPicture(88b39197b202d92f). (FunctionAreacxx . . $ FunctionArea# me) { |
| 146 | if (mycxx . . $ `melder/melder.h:44:9`! classPref_picture_drawSelectionTimescxx . . $ structFunctionArea#classPref_picture_drawSelectionTimes(50ce9a9e25b4a850).()) { |
| 147 | if (mycxx . . $ `melder/melder.h:44:9`! startSelectioncxx . . $ structFunctionArea#startSelection(21b6c25e127938e2).() >= mycxx . . $ `melder/melder.h:44:9`! startWindowcxx . . $ structFunctionArea#startWindow(21b6c25e127938e2).() && mycxx . . $ `melder/melder.h:44:9`! startSelectioncxx . . $ structFunctionArea#startSelection(21b6c25e127938e2).() <= mycxx . . $ `melder/melder.h:44:9`! endWindowcxx . . $ structFunctionArea#endWindow(21b6c25e127938e2).()) |
| 148 | Graphics_markTopcxx . . $ Graphics_markTop(e82cc8dc402e8bd7). (mycxx . . $ `melder/melder.h:44:9`! pictureGraphicscxx . . $ structDataGui#pictureGraphics(5af6864da672d398).(), mycxx . . $ `melder/melder.h:44:9`! startSelectioncxx . . $ structFunctionArea#startSelection(21b6c25e127938e2).(), true, true, false, nullptr); |
| 149 | if (mycxx . . $ `melder/melder.h:44:9`! endSelectioncxx . . $ structFunctionArea#endSelection(21b6c25e127938e2).() != mycxx . . $ `melder/melder.h:44:9`! startSelectioncxx . . $ structFunctionArea#startSelection(21b6c25e127938e2).() && mycxx . . $ `melder/melder.h:44:9`! endSelectioncxx . . $ structFunctionArea#endSelection(21b6c25e127938e2).() >= mycxx . . $ `melder/melder.h:44:9`! startWindowcxx . . $ structFunctionArea#startWindow(21b6c25e127938e2).() && mycxx . . $ `melder/melder.h:44:9`! endSelectioncxx . . $ structFunctionArea#endSelection(21b6c25e127938e2).() <= mycxx . . $ `melder/melder.h:44:9`! endWindowcxx . . $ structFunctionArea#endWindow(21b6c25e127938e2).()) |
| 150 | Graphics_markTopcxx . . $ Graphics_markTop(e82cc8dc402e8bd7). (mycxx . . $ `melder/melder.h:44:9`! pictureGraphicscxx . . $ structDataGui#pictureGraphics(5af6864da672d398).(), mycxx . . $ `melder/melder.h:44:9`! endSelectioncxx . . $ structFunctionArea#endSelection(21b6c25e127938e2).(), true, true, false, nullptr); |
| 151 | } |
| 152 | if (mycxx . . $ `melder/melder.h:44:9`! classPref_picture_drawSelectionHairscxx . . $ structFunctionArea#classPref_picture_drawSelectionHairs(50ce9a9e25b4a850).()) { |
| 153 | if (mycxx . . $ `melder/melder.h:44:9`! startSelectioncxx . . $ structFunctionArea#startSelection(21b6c25e127938e2).() >= mycxx . . $ `melder/melder.h:44:9`! startWindowcxx . . $ structFunctionArea#startWindow(21b6c25e127938e2).() && mycxx . . $ `melder/melder.h:44:9`! startSelectioncxx . . $ structFunctionArea#startSelection(21b6c25e127938e2).() <= mycxx . . $ `melder/melder.h:44:9`! endWindowcxx . . $ structFunctionArea#endWindow(21b6c25e127938e2).()) |
| 154 | Graphics_markTopcxx . . $ Graphics_markTop(e82cc8dc402e8bd7). (mycxx . . $ `melder/melder.h:44:9`! pictureGraphicscxx . . $ structDataGui#pictureGraphics(5af6864da672d398).(), mycxx . . $ `melder/melder.h:44:9`! startSelectioncxx . . $ structFunctionArea#startSelection(21b6c25e127938e2).(), false, false, true, nullptr); |
| 155 | if (mycxx . . $ `melder/melder.h:44:9`! endSelectioncxx . . $ structFunctionArea#endSelection(21b6c25e127938e2).() != mycxx . . $ `melder/melder.h:44:9`! startSelectioncxx . . $ structFunctionArea#startSelection(21b6c25e127938e2).() && mycxx . . $ `melder/melder.h:44:9`! endSelectioncxx . . $ structFunctionArea#endSelection(21b6c25e127938e2).() >= mycxx . . $ `melder/melder.h:44:9`! startWindowcxx . . $ structFunctionArea#startWindow(21b6c25e127938e2).() && mycxx . . $ `melder/melder.h:44:9`! endSelectioncxx . . $ structFunctionArea#endSelection(21b6c25e127938e2).() <= mycxx . . $ `melder/melder.h:44:9`! endWindowcxx . . $ structFunctionArea#endWindow(21b6c25e127938e2).()) |
| 156 | Graphics_markTopcxx . . $ Graphics_markTop(e82cc8dc402e8bd7). (mycxx . . $ `melder/melder.h:44:9`! pictureGraphicscxx . . $ structDataGui#pictureGraphics(5af6864da672d398).(), mycxx . . $ `melder/melder.h:44:9`! endSelectioncxx . . $ structFunctionArea#endSelection(21b6c25e127938e2).(), false, false, true, nullptr); |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | /* End of file FunctionArea.cpp */ |