2009-12-07 Rolf Bjarne Kvinge <RKvinge@novell.com>
[moon.git] / src / fontweight.h
blob9f8c03f46e965ccea4fdaf92b3c4dba40003adf6
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 !(*this == v);
36 #endif /* __FONT_WEIGHT_H__ */