X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Ftips.h;fp=src%2Ftips.h;h=39d264d502c1d1f1c469ce51ac3fbbc08446cfa4;hp=0000000000000000000000000000000000000000;hb=1a7c2cc82f5a0c04bec766776e57c563378dc611;hpb=f1303ea0f1188b0a89846c67b5783f596e7ba1b7 diff --git a/src/tips.h b/src/tips.h new file mode 100644 index 0000000..39d264d --- /dev/null +++ b/src/tips.h @@ -0,0 +1,45 @@ +/***************************************************************************** +** FILE IDENTIFICATION +** +** Name: tips.h +** Purpose: Header file for user tips +** Programmer: Kevin Rosenberg +** Date Started: February 2001 +** +** This is part of the CTSim program +** Copyright (C) 1983-2001 Kevin Rosenberg +** +** $Id: tips.h,v 1.1 2001/02/22 00:56:50 kevin Exp $ +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License (version 2) as +** published by the Free Software Foundation. +** +** This program 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 General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program; if not, write to the Free Software +** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +******************************************************************************/ + + +#include + + +class CTSimTipProvider : public wxTipProvider +{ +private: + static const char* const s_aszTips[]; + static const int s_iNumTips; + + size_t m_iCurrentTip; + +public: + CTSimTipProvider(size_t currentTip); + + virtual wxString GetTip(); + size_t GetCurrentTip(); +};