1 /* 2 * Copyright 2008-2010, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Michael Pfeiffer <laplace@users.sourceforge.net> 7 */ 8 #ifndef DESCRIPTION_PAGE_H 9 #define DESCRIPTION_PAGE_H 10 11 12 #include "WizardPageView.h" 13 14 15 class BTextView; 16 17 class DescriptionPage : public WizardPageView { 18 public: 19 DescriptionPage(BRect frame, const char* name, 20 const char* description, bool hasHeading); 21 virtual ~DescriptionPage(); 22 23 virtual void FrameResized(float width, float height); 24 25 private: 26 void _BuildUI(const char* description, 27 bool hasHeading); 28 void _Layout(); 29 30 private: 31 BTextView* fDescription; 32 }; 33 34 35 #endif // DESCRIPTION_PAGE_H 36