HelpWindow.h
上传用户:cnxinhai
上传日期:2013-08-06
资源大小:265k
文件大小:3k
- /********************************************************************************
- * *
- * H e l p W i n d o w *
- * *
- *********************************************************************************
- * Copyright (C) 1998,2001 by Jeroen van der Zijp. All Rights Reserved. *
- *********************************************************************************
- * This library is free software; you can redistribute it and/or *
- * modify it under the terms of the GNU Lesser General Public *
- * License as published by the Free Software Foundation; either *
- * version 2.1 of the License, or (at your option) any later version. *
- * *
- * This library is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
- * Lesser General Public License for more details. *
- * *
- * You should have received a copy of the GNU Lesser General Public *
- * License along with this library; if not, write to the Free Software *
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
- *********************************************************************************
- * $Id: HelpWindow.h,v 1.5 2001/03/14 04:10:27 jeroen Exp $ *
- *********************************************************************************
- * Modifications to the original Help Window (C) 2001, Adam Schlag *
- * no change in license is granted however; this file is still under the LGPL. *
- ********************************************************************************/
- #ifndef HELPWINDOW_H
- #define HELPWINDOW_H
-
- class FXText;
- /// Online help dialog box
- class HelpWindow : public FXDialogBox {
- FXDECLARE(HelpWindow)
- protected:
- FXText* m_helptext; // Help display
- private:
- HelpWindow(){}
- HelpWindow(const HelpWindow&);
-
- FXHorizontalFrame* m_closebox;
- FXButton* m_okButton;
- FXHorizontalFrame* m_editbox;
- public:
- HelpWindow(FXWindow* owner, const FXchar* displayText, const FXchar* titleText, FXbool useFixedFont);
- virtual ~HelpWindow();
-
- // methods for setting the theme for the windows in-program
- void setWindowBaseColor(FXColor baseColor, FXColor hiliteColor, FXColor shadowColor);
- void setWindowForeColor(FXColor color);
- void setWindowBackColor(FXColor color);
- void setWindowBordColor(FXColor color);
- };
- #endif