]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/alignment.cpp
Enable loading of entry widgets from datafiles
[libs/gltk.git] / source / alignment.cpp
diff --git a/source/alignment.cpp b/source/alignment.cpp
deleted file mode 100644 (file)
index 110aa09..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#include <msp/gl/transform.h>
-#include "alignment.h"
-#include "geometry.h"
-
-namespace Msp {
-namespace GLtk {
-
-void Alignment::apply(const Geometry &geom, unsigned wd, unsigned ht) const
-{
-       GL::translate((geom.w-wd)*(x+1)/2, (geom.h-ht)*(y+1)/2, 0);
-}
-
-} // namespace GLtk
-} // namespace Msp