/*-*- c++ -*-******************************************************************
 * Qwt Widget Library 
 * Copyright (C) 1997   Josef Wilgen
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library 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
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *****************************************************************************/

#ifndef QWT_H
#define QWT_H

// kobasoft:
// What's this for?
#undef Left
#undef Right
#undef Top
#undef Bottom
#undef Center

// Revised: kobasoft
/*!
  Some constants for use within Qwt.
*/
class Qwt 
{
public:
  // Revised: kobasoft
  /*!
    \brief Orientation constants
    \bug Why not use the Qt constants for this?
  */
  enum Orientation { 
    Horizontal,
    Vertical
  };
  
  // Revised: kobasoft
  /*!
    \brief The position of a widget.
    These constants can be OR'ed together.
  */
  enum Position {
    Left = 0x01, 
    Right = 0x022, 
    Top = 0x04, 
    Bottom = 0x08, 
    Center = 0x10
  };
  
  // Revised: kobasoft
  /*!
    \todo Documentation
  */
  enum Shape
    {
      HLine,
      VLine,
      Cross,
      DiagCross,
      Rect,
      Ellipse,
      Triangle,
      UTriangle,
      DTriangle,
      LTriangle,
      RTriangle
    };
  
  // Revised: kobasoft
  /*!
    \todo Documentation
  */
  enum Errors {
    ErrNone, // No Error
    ErrNoMem, // Not enough memory
    ErrMono // Non-monotonic sequence
  };
};

#endif
