OTMultiEditor.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef _OTMultiEditor_h_
  2. #define _OTMultiEditor_h_
  3. /* OTMultiEditor.h
  4. *
  5. * Copyright (C) 2005,2007,2009-2012,2015-2018 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. #include "HyperPage.h"
  21. #include "OTMulti.h"
  22. Thing_define (OTMultiEditor, HyperPage) {
  23. autostring32 form1, form2;
  24. GuiText form1Text, form2Text;
  25. integer selectedConstraint;
  26. bool d_constraintsAreDrawnVertically;
  27. bool v_editable ()
  28. override { return true; }
  29. void v_createChildren ()
  30. override;
  31. void v_createMenus ()
  32. override;
  33. void v_createHelpMenuItems (EditorMenu menu)
  34. override;
  35. void v_draw ()
  36. override;
  37. int v_goToPage (conststring32 title)
  38. override;
  39. };
  40. autoOTMultiEditor OTMultiEditor_create (conststring32 title, OTMulti grammar);
  41. /* End of file OTMultiEditor.h */
  42. #endif