/****************************************************************** * * * Nest version 2 - 3D Wasp Nest Simulator * * Copyright (C) 1997 Sylvain GUERIN * * LIASC, ENST Bretagne & Santa Fe Institute * * * ****************************************************************** E-mail: Sylvain.Guerin@enst-bretagne.fr or: Sylvain Guerin 13 rue des Monts Lorgeaux, 51460 L'EPINE, FRANCE ****************************************************************** 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. 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. ****************************************************************** Name : TitleInt.h Component : title interface Fonctionality : contains specifications refering to the title interface (informations) ******************************************************************/ #ifndef __TitleInterface_H #define __TitleInterface_H #include "graphical.h" class TitleInterface; class GNULicenceInterface; class TitleInterface : public Interface { public: TitleInterface (Display* aDisplay, unsigned int displayWidth, unsigned int displayHeight); /* interface will use already opened display */ TitleInterface (unsigned int displayWidth, unsigned int displayHeight); /* interface will create its owndisplay */ virtual ~TitleInterface (); void initialize (); void manageWindow (); actionType manageInterface (XEvent report); void refresh (); protected: void loadPixmap (); void displayIcon (); GraphicWindow* iconWindow; Button* licenceButton; Button* warrantyButton; Button* continueButton; TextWidget* title1; TextWidget* title2; TextWidget* title3; TextWidget* title4; TextWidget* notice1; TextWidget* notice2; TextWidget* notice3; TextWidget* notice4; Pixmap waspPixmap; GNULicenceInterface* licenceInterface; int isGNULicenceInterfaceLaunched; }; class GNULicenceInterface : public Interface { public: GNULicenceInterface (int x0, int y0, Display* aDisplay, char* pathName, char* fileName); virtual ~GNULicenceInterface (); actionType manageInterface (XEvent report); void refresh (); void goToLine (int line); protected: Button* closeButton; FileViewer* fileViewer; }; #endif