📄 testview1.h
字号:
// TestView1.h//// test view for the wGui library////// Copyright (c) 2002 Rob Wiskow// rob-dev@boxedchaos.com//// 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//#include "wgui.h"#include <stdlib.h>#ifndef _TESTVIEW1_H_#define _TESTVIEW1_H_class CTestWindow : public wGui::CWindow{public: CTestWindow(const wGui::CRect& WindowRect, wGui::CWindow* pParent); virtual void DrawBG(void) const { } virtual void Draw(void) const;};class CTestView : public wGui::CView{public: CTestView(void); virtual void Draw(void) const; virtual bool OnMouseButtonDown(wGui::CPoint Point, unsigned int Button); virtual bool HandleMessage(wGui::CMessage* pMessage);protected: wGui::CButton* m_pButton; wGui::CButton* m_pButton2; wGui::CButton* m_pBtnQuit; wGui::CButton* m_pBtnPass; wGui::CButton* m_pButtonCopyText; wGui::CButton* m_pBtnWaitCursor; wGui::CButton* m_pBtnPointerCursor; wGui::CButton* m_pBtnDefaultCursor; wGui::CPictureButton* m_pBtnPictureButton; wGui::CEditBox* m_pEditBox; wGui::CEditBox* m_pEditBox2; wGui::CEditBox* m_pEditBox3; wGui::CEditBox* m_pPassBox; wGui::CEditBox* m_pPassShow; wGui::CEditBox* m_pBigassEditBox; wGui::CButton* m_pTimerButton; wGui::CLabel* m_pTimerLabel; wGui::CProgress* m_pProgressBar; wGui::CPicture* m_pPicture; wGui::CCheckBox* m_pCheckBox; wGui::CScrollBar* m_pVScrollBar; wGui::CScrollBar* m_pHScrollBar; CTestWindow* m_pTestWindow; wGui::CListBox* m_pListBox; wGui::CPopupMenu* m_pContextMenu; wGui::CDropDown* m_pDropDown; wGui::CToolBar* m_pToolBar; wGui::CTimer* m_pTimer; wGui::CGroupBox* m_pGroupBox; char m_iClickCount; wGui::EwgResourceId m_eCurrentPicture;};#endif // _TESTVIEW1_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -