Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

targetcoordinatelocator.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                              TargetCoordinateLocator
00003                              -------------------
00004     copyright            : (C)  2006 by Martin Bickel
00005     email                : <bickel@asc-hq.org>
00006  ***************************************************************************/
00007 
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef targetcoordinatelocatorH
00018 #define targetcoordinatelocatorH
00019 
00020 #include <SDL.h>
00021 
00022 #include "pgwidget.h"
00023 #include "pgimage.h"
00024 #include "../dialogs/fieldmarker.h"
00025 
00026 class TargetCoordinateLocator : public PG_Image  {
00027       static SDL_Surface* getImage();
00028       SelectFromMap::CoordinateList positions;
00029    protected:
00030       bool      eventMouseButtonDown (const SDL_MouseButtonEvent *button);
00031 
00032    public:
00033       TargetCoordinateLocator(PG_Widget* parent, const PG_Point& pos, const SelectFromMap::CoordinateList& coordinates );
00034 
00035 };
00036 
00037 #endif

Generated on Tue Jun 24 01:27:53 2008 for Advanced Strategic Command by  doxygen 1.4.2