MenuTrans.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. // MenuTrans.h
  19. // Project: Nostril (aka Postal)
  20. //
  21. ////////////////////////////////////////////////////////////////////////////////
  22. #ifndef MENUTRANS_H
  23. #define MENUTRANS_H
  24. ////////////////////////////////////////////////////////////////////////////////
  25. //
  26. ////////////////////////////////////////////////////////////////////////////////
  27. extern void StartMenuTrans(
  28. long lTotalTime); // In: Total time for effect (ms)
  29. ////////////////////////////////////////////////////////////////////////////////
  30. //
  31. ////////////////////////////////////////////////////////////////////////////////
  32. extern bool DoPreMenuTrans(void);
  33. extern bool DoPostMenuTrans(void);
  34. ////////////////////////////////////////////////////////////////////////////////
  35. //
  36. ////////////////////////////////////////////////////////////////////////////////
  37. void EndMenuTrans(
  38. bool bFinish); // In: true to finish effect, false to abort it
  39. #endif // MENUTRANS_H
  40. ////////////////////////////////////////////////////////////////////////////////
  41. // EOF
  42. ////////////////////////////////////////////////////////////////////////////////