2009-10-09 Chris Toshok <toshok@ximian.com>
[moon.git] / src / fontweight.h
blobdf9e45609841c3d3c7fe5e35619669d5341f3fc5
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * fontweight.h:
5 * Contact:
6 * Moonlight List (moonlight-list@lists.ximian.com)
8 * Copyright 2009 Novell, Inc. (http://www.novell.com)
10 * See the LICENSE file included with the distribution for details.
13 #ifndef __FONT_WEIGHT_H__
14 #define __FONT_WEIGHT_H__
16 /* @IncludeInKinds */
17 struct FontWeight {
18 FontWeights weight;
20 FontWeight (FontWeights weight)
22 this->weight = weight;
25 bool operator== (const FontWeight &v) const
27 return v.weight == weight;
30 bool operator!= (const FontWeight &v) const
32 return v.weight != weight;
36 #endif /* __FONT_WEIGHT_H__ */