1 #ifndef _About_h_
2 #define _About_h_
3 
4 #include <GG/GGFwd.h>
5 #include "CUIWnd.h"
6 
7 //! This is a screen showing license and vision
8 class About final : public CUIWnd {
9 public:
10     //! \name Structors
11     //!@{
12     About();
13     //!@}
14     void CompleteConstruction() override;
15 
16     //! \name Mutators
17     //!@{
18     void KeyPress(GG::Key key, std::uint32_t key_code_point, GG::Flags<GG::ModKey> mod_keys) override;
19     //!@}
20 
21     void ShowLicense();
22     void ShowVision();
23 
24 private:
25     void DoLayout();
26 
27     std::shared_ptr<GG::Button>     m_done;         //!< Done button
28     std::shared_ptr<GG::Button>     m_license;      //!< License button
29     std::shared_ptr<GG::Button>     m_vision;       //!< Vision button
30     std::shared_ptr<GG::MultiEdit>  m_info;         //!< Displays the license or vision information
31     std::string                     m_license_str;  //!< String containing the copyright license
32 };
33 
34 #endif // _About_h_
35