eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

options.h 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /***************************************************************************
  2. * Copyright (C) 2005 to 2007 by Jonathan Duddington *
  3. * email: [email protected] *
  4. * *
  5. * This program 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 3 of the License, or *
  8. * (at your option) any later version. *
  9. * *
  10. * This program is distributed in the hope that it will be useful, *
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of *
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
  13. * 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 program; if not, see: *
  17. * <http://www.gnu.org/licenses/>. *
  18. ***************************************************************************/
  19. #ifndef OPTIONS_H
  20. #define OPTIONS_H
  21. #include "wx/dialog.h"
  22. #include "wx/spinctrl.h"
  23. /**
  24. *@author Jonathan Duddington
  25. */
  26. extern void ConfigInit();
  27. extern void ConfigSave(int end);
  28. extern void ConfigSetPaths();
  29. extern wxString path_spectload;
  30. extern wxString path_spectload2;
  31. extern wxString path_pitches;
  32. extern wxString path_phfile;
  33. extern wxString path_phsource;
  34. extern wxString path_dictsource;
  35. extern wxString path_modifiervoice;
  36. extern wxString path_dir1;
  37. extern int frame_x, frame_y, frame_w, frame_h;
  38. extern char path_source[sizeof(path_home)+20];
  39. extern char path_dsource[sizeof(path_home)+20];
  40. extern int option_speed;
  41. extern void OnOptions2(int event_id);
  42. // not currently used
  43. class Options : public wxDialog {
  44. public:
  45. Options(wxWindow *parent);
  46. ~Options();
  47. private:
  48. void OnCommand(wxCommandEvent& event);
  49. wxButton *m_save;
  50. wxButton *m_close;
  51. wxStaticText *m_lab[10];
  52. wxTextCtrl *m_samplerate;
  53. DECLARE_EVENT_TABLE()
  54. };
  55. #endif