]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/alignment.h
Enable loading of entry widgets from datafiles
[libs/gltk.git] / source / alignment.h
diff --git a/source/alignment.h b/source/alignment.h
deleted file mode 100644 (file)
index 56d6766..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#ifndef MSP_GLTK_ALIGNMENT_H_
-#define MSP_GLTK_ALIGNMENT_H_
-
-namespace Msp {
-namespace GLtk {
-
-class Geometry;
-
-/**
-Handles alignment of widget parts.  Both x and y components can have values -1
-(left / bottom), 0 (center) or 1 (right / top).
-*/
-struct Alignment
-{
-       int x, y;
-
-       Alignment(): x(0), y(0) { }
-       Alignment(int x_, int y_): x(x_), y(y_) { }
-       void apply(const Geometry &, unsigned, unsigned) const;
-};
-
-} // namespace GLtk
-} // namespace Msp
-
-#endif