TextGridEditor_prefs.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* TextGridEditor_prefs.h
  2. *
  3. * Copyright (C) 2013,2015 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. prefs_begin (TextGridEditor)
  19. prefs_override_int (TextGridEditor, shellWidth, 1, U"800")
  20. prefs_override_int (TextGridEditor, shellHeight, 1, U"600")
  21. prefs_override_bool (TextGridEditor, picture_garnish, 1, true)
  22. prefs_add_bool_with_data (TextGridEditor, useTextStyles, 1, false)
  23. prefs_add_int_with_data (TextGridEditor, fontSize, 1, U"18")
  24. prefs_add_enum_with_data (TextGridEditor, alignment, 1, kGraphics_horizontalAlignment, DEFAULT)
  25. prefs_add_bool_with_data (TextGridEditor, shiftDragMultiple, 1, true)
  26. prefs_add_enum_with_data (TextGridEditor, showNumberOf, 1, kTextGridEditor_showNumberOf, DEFAULT)
  27. prefs_add_enum_with_data (TextGridEditor, greenMethod, 1, kMelder_string, DEFAULT)
  28. prefs_add_string_with_data (TextGridEditor, greenString, 1, U"some text here for green paint")
  29. prefs_add_bool (TextGridEditor, picture_showBoundaries, 1, true)
  30. prefs_add_bool (TextGridEditor, picture_pitch_speckle, 1, false)
  31. prefs_add_string_with_data (TextGridEditor, align_language, 1, U"English")
  32. prefs_add_bool_with_data (TextGridEditor, align_includeWords, 1, true)
  33. prefs_add_bool_with_data (TextGridEditor, align_includePhonemes, 1, false)
  34. prefs_add_bool_with_data (TextGridEditor, align_allowSilences, 1, false)
  35. prefs_end (TextGridEditor)
  36. /* End of file TextGridEditor_prefs.h */