/****************************************************************** * * * 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 : PatternInt.h Component : evaluation interface Fonctionality : contains specifications refering to the pattern interface ******************************************************************/ #ifndef __PatternInterface_H #define __PatternInterface_H #include "graphical.h" #include "algo.h" #include "simu.h" #include "graph.h" #include "view3d.h" class PatternInterface : public Interface { public: PatternInterface (Interface* theMainInterface, int x0, int y0, char* windowLabel, char* iconLabel, Display* aDisplay, Simulation* aSimulation); ~PatternInterface (); actionType manageInterface (XEvent report); void refresh (); protected: Interface* mainInterface; Button* closeButton; Button* searchButton; Button* coherenceButton; HorizontalBar* bar1; HorizontalBar* bar2; TextWidget* patternText; UpArrow* incButton; DownArrow* decButton; GraphicWindow* patternWindow; GraphicWindow* viewIcon; View* view3d; Architecture* currentPattern; Simulation* simulation; Graph* graph; int currentPatternId; void updatePatternText (); void displayCurrentPattern (); }; #endif