AboutWindow.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * The contents of this file are subject to the Mozilla Public
  3. * License Version 1.1 (the "License"); you may not use this file
  4. * except in compliance with the License. You may obtain a copy of
  5. * the License at http://www.mozilla.org/MPL/
  6. *
  7. * Software distributed under the License is distributed on an "AS
  8. * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9. * implied. See the License for the specific language governing
  10. * rights and limitations under the License.
  11. *
  12. * The Original Code is Vision.
  13. *
  14. * The Initial Developer of the Original Code is The Vision Team.
  15. * Portions created by The Vision Team are
  16. * Copyright (C) 1999, 2000, 2001 The Vision Team. All Rights
  17. * Reserved.
  18. *
  19. * Contributor(s): Wade Majors <wade@ezri.org>
  20. * Brian Luft
  21. * Todd Lair
  22. * Rene Gollent
  23. */
  24. #ifndef _ABOUTWINDOW_H_
  25. #define _ABOUTWINDOW_H_
  26. #include <Window.h>
  27. #include <TextView.h>
  28. class BView;
  29. class BMessageRunner;
  30. class AboutWindow : public BWindow
  31. {
  32. public:
  33. AboutWindow (void);
  34. virtual ~AboutWindow (void);
  35. virtual void MessageReceived (BMessage *);
  36. virtual bool QuitRequested (void);
  37. private:
  38. BTextView *fCredits;
  39. BView *fBackground,
  40. *fLogo;
  41. bool fEasterEggOn;
  42. const char *fCreditsText;
  43. text_run_array fTextRun;
  44. BMessageRunner *fScrollRunner;
  45. void AboutImage (const char *, bool);
  46. };
  47. #endif