/***************************************************************************
                          highlight.h  -  description
                             -------------------
    begin                : Tue Dec 19 2006
    copyright            : (C) 2006 by Mark Mitchell
    email                : mmdigitizer@earthlink.net
    $Log: highlight.h,v $
    Revision 1.1  2006/12/20 08:20:25  markmitch
    Rework of point matching to handle skipping


 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef HIGHLIGHT_H
#define HIGHLIGHT_H

#include <qcanvas.h>

#include "digitdef.h"

class QCanvas;

// this class implements the highlight box used during point matching. for the
// most part the standard QCanvasRectangle methods are used, with geometry
// configuration performed in this derived class
class Highlight : public QCanvasRectangle
{
  public: 

    Highlight(Color color, QCanvas* canvas);
    ~Highlight();                                                 

    // move center of box to specified location
    void moveCenter(int x, int y);
};

#endif // HIGHLIGHT_H
