1 #ifndef MSP_GLTK_ALIGNMENT_H_
2 #define MSP_GLTK_ALIGNMENT_H_
10 Handles alignment of widget parts. Both x and y components can have values -1
11 (left / bottom), 0 (center) or 1 (right / top).
17 Alignment(): x(0), y(0) { }
18 Alignment(int x_, int y_): x(x_), y(y_) { }
19 void apply(const Geometry &, unsigned, unsigned) const;