systemselect.h 786 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //****************************************************************
  2. //*
  3. //* Author : Sergey Makeev aka Joker, 2003
  4. //*
  5. //*
  6. //****************************************************************
  7. #ifndef PSYS_SELECTOR_BROWSER
  8. #define PSYS_SELECTOR_BROWSER
  9. #include "..\..\..\common_h\gui.h"
  10. #include "..\..\..\common_h\particles.h"
  11. class IFileService;
  12. class TSystemSelector : public GUIWindow
  13. {
  14. IFileService* pFS;
  15. GUIListBox* pSystemsList;
  16. GUIButton* pOKButton;
  17. GUIButton* pCancelButton;
  18. public:
  19. bool OkPressed;
  20. string SystemName;
  21. TSystemSelector ();
  22. ~TSystemSelector ();
  23. virtual void Draw ();
  24. virtual void BuildSystemsList ();
  25. //===================================
  26. public:
  27. virtual void _cdecl OnAddSystem ();
  28. virtual void _cdecl OnCancelSelect ();
  29. };
  30. #endif