InputSettingsDlg.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2016 RWS Inc, All Rights Reserved
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of version 2 of the GNU General Public License as published by
  7. // the Free Software Foundation
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License along
  15. // with this program; if not, write to the Free Software Foundation, Inc.,
  16. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. //
  18. // InputSettingsDlg.h
  19. // Project: Nostril (aka Postal)
  20. //
  21. // History:
  22. // 07/03/97 JMI Started.
  23. //
  24. // 07/05/97 JMI Added protos for InputSettingsDlg_InitMenu() and
  25. // InputSettingsDlg_KillMenu().
  26. // Removed protos for EditKeySettings() and EditMouseSetings().
  27. //
  28. ////////////////////////////////////////////////////////////////////////////////
  29. #ifndef INPUTSETTINGSDLG_H
  30. #define INPUTSETTINGSDLG_H
  31. #include "RSPiX.h"
  32. //////////////////////////////////////////////////////////////////////////////
  33. // Called to setup an input settings menu.
  34. //////////////////////////////////////////////////////////////////////////////
  35. extern short InputSettingsDlg_InitMenu( // Returns 0 on success.
  36. Menu* pmenu); // In: Menu to setup.
  37. //////////////////////////////////////////////////////////////////////////////
  38. // Called to clean up an input settings menu.
  39. //////////////////////////////////////////////////////////////////////////////
  40. extern short InputSettingsDlg_KillMenu( // Returns 0 on success.
  41. Menu* pmenu); // In: Menu to clean up.
  42. //////////////////////////////////////////////////////////////////////////////
  43. // Called when a choice is made or a selection is changed on an input
  44. // setttings menu.
  45. //////////////////////////////////////////////////////////////////////////////
  46. void InputSettingsDlg_Choice( // Returns nothing.
  47. Menu* pmenuCurrent, // In: Current menu.
  48. short sMenuItem); // In: Menu item chosen or -1 if selection
  49. // change.
  50. //////////////////////////////////////////////////////////////////////////////
  51. // Edit the input settings via menu.
  52. //////////////////////////////////////////////////////////////////////////////
  53. extern short EditInputSettings(void); // Returns nothing.
  54. #endif // INPUTSETTINGSDLG_H
  55. ////////////////////////////////////////////////////////////////////////////////
  56. // EOF
  57. ////////////////////////////////////////////////////////////////////////////////