OptionsScreenWrapper.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #ifndef OPTIONSSCREENWRAPPER_H
  2. #define OPTIONSSCREENWRAPPER_H
  3. /*************************************************************************************************\
  4. OptionsScreenWrapper.h : Interface for the OptionsScreenWrapper component.
  5. //---------------------------------------------------------------------------//
  6. // Copyright (C) Microsoft Corporation. All rights reserved. //
  7. //===========================================================================//
  8. \*************************************************************************************************/
  9. //*************************************************************************************************
  10. /**************************************************************************************************
  11. CLASS DESCRIPTION
  12. OptionsScreenWrapper:
  13. **************************************************************************************************/
  14. #include "aSystem.h"
  15. #include "aListBox.h"
  16. class OptionsXScreen;
  17. class OptionsScreenWrapper
  18. {
  19. public:
  20. enum status_type
  21. {
  22. opt_INACTIVE,
  23. opt_ACTIVE,
  24. opt_DONE
  25. };
  26. OptionsScreenWrapper();
  27. ~OptionsScreenWrapper();
  28. void init();
  29. void destroy();
  30. status_type update();
  31. void render();
  32. void begin();
  33. void end();
  34. bool isDone() { return (!isActive); }
  35. private:
  36. OptionsXScreen* pOptionsScreen;
  37. bool isActive;
  38. };
  39. //*************************************************************************************************
  40. #endif // end of file ( OptionsScreenWrapper.h )