nbktxtctls.hpp
来自「gspiceui电子CAD仿真程序.用于电路参数模拟仿真」· HPP 代码 · 共 87 行
HPP
87 行
//*****************************************************************************// NbkTxtCtls.hpp *// ---------------- *// Description : This class extends wxNotebook, it contains all text control *// objects which appear at the bottom of the GUI. *// Started : 14/06/2005 *// Last Update : 21/06/2005 *// Copyright : (C) 2004 by MSWaters *// Email : M.Waters@bom.gov.au *//*****************************************************************************//*****************************************************************************// *// This program is free software; you can redistribute it and/or modify *// it under the terms of the GNU General Public License as published by *// the Free Software Foundation; either version 2 of the License, or *// (at your option) any later version. *// *//*****************************************************************************#ifndef NBKTXTCTLS_HPP#define NBKTXTCTLS_HPP// wxWindows Includes#include <wx/wx.h>#include <wx/notebook.h>// System Includes// Application Includes#include "TextCtrl.hpp"// Local Constant Declarations//*****************************************************************************class NbkTxtCtls : public wxNotebook{ public: // The various page identifiers enum ePageType { ePAGE_CONSOLE, ePAGE_NETLIST, ePAGE_SIMULTN, ePAGE_RESULTS, ePAGE_GNUCAP, ePAGE_NGSPICE, ePAGE_ALL, ePAGE_FST = ePAGE_CONSOLE, ePAGE_LST = ePAGE_NGSPICE }; private: public: NbkTxtCtls( void ); ~NbkTxtCtls( ); bool bIsCreated( void ) { return( GetParent( )!=NULL ? TRUE : FALSE ); } bool bCreate( wxWindow * poWin, wxWindowID oWinID, const wxPoint & roPosn, const wxSize & roSize ); bool bClear( ePageType ePage=ePAGE_ALL ); void Initialize( ePageType ePage=ePAGE_ALL ); bool bSetPage( ePageType ePage ); bool bSetPosn( long liPosn ); TextCtrl * poGetPage( ePageType ePage ); bool bSetLinesMax( int iLines ) { return( TextCtrl::bSetLinesMax( iLines ) ); } bool bSetLinesDsp( int iLines ) { return( TextCtrl::bSetLinesDsp( iLines ) ); }};//*****************************************************************************#endif // NBKTXTCTLS_HPP
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?