00001 00002 // Copyright (C) 2004-2007 by The Allacrost Project 00003 // All Rights Reserved 00004 // 00005 // This code is licensed under the GNU GPL version 2. It is free software 00006 // and you may modify it and/or redistribute it under the terms of this license. 00007 // See http://www.gnu.org/copyleft/gpl.html for details. 00009 00018 #ifndef __BOOT_WELCOME__ 00019 #define __BOOT_WELCOME__ 00020 00021 #include <string> 00022 00023 #include "video.h" 00024 00025 namespace hoa_boot { 00026 00027 // TODO: this should all be defined in the private_boot namespace 00028 00035 class WelcomeScreen 00036 { 00037 public: 00038 WelcomeScreen(); 00039 00040 ~WelcomeScreen(); 00041 00043 void Draw(); 00044 00046 void Show(); 00047 00049 void Hide(); 00050 00052 bool IsVisible(); 00053 00054 private: 00056 hoa_video::MenuWindow _window; 00057 00059 bool _visible; 00060 00062 hoa_video::RenderedString* _welcome_rendered; 00063 00065 std::string _welcome_text; 00066 }; 00067 00068 } // namespace hoa_boot 00069 00070 #endif // __BOOT_WELCOME__
1.5.1