00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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