Logo Search packages:      
Sourcecode: karamba version File versions  Download package

meter.cpp

/***************************************************************************
 *   Copyright (C) 2003 by Hans Karlsson                                   *
 *   karlsson.h@home.se                                                      *
 *                                                                         *
 *   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.                                   *
 ***************************************************************************/
#include "meter.h"

Meter::Meter( int  ix  , int iy, int iw, int ih)
{
  x = ix;
  y = iy;
  width = iw;
  height = ih;
}
Meter::Meter()
{
}

Meter::~Meter()
{
}

void Meter::setSize(int ix, int iy, int iw, int ih)
{
  x = ix;
  y = iy;
  width = iw;
  height = ih;

}


void Meter::setThemePath( QString path )
{
  themePath = path;
}

int Meter::getX()
{
  return x;
}
int Meter::getY()
{
  return y;
}
int Meter::getWidth()
{
  return width;
}
int Meter::getHeight()
{
  return height;
}


Generated by  Doxygen 1.6.0   Back to index