diff options
Diffstat (limited to 'src/DrawUtil.hh')
-rw-r--r-- | src/DrawUtil.hh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/DrawUtil.hh b/src/DrawUtil.hh index f3710ae..c388627 100644 --- a/src/DrawUtil.hh +++ b/src/DrawUtil.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: DrawUtil.hh,v 1.9 2002/11/26 15:45:48 fluxgen Exp $ | 22 | // $Id: DrawUtil.hh,v 1.10 2002/12/01 13:41:55 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef DRAWUTIL_HH | 24 | #ifndef DRAWUTIL_HH |
25 | #define DRAWUTIL_HH | 25 | #define DRAWUTIL_HH |
@@ -28,17 +28,17 @@ | |||
28 | #include "Font.hh" | 28 | #include "Font.hh" |
29 | 29 | ||
30 | namespace DrawUtil { | 30 | namespace DrawUtil { |
31 | // note: obsolete! | 31 | // note: obsolete! |
32 | struct Font { | 32 | struct Font { |
33 | enum FontJustify {LEFT=0, RIGHT, CENTER}; | 33 | enum FontJustify {LEFT=0, RIGHT, CENTER}; |
34 | 34 | ||
35 | XFontSet set; | 35 | XFontSet set; |
36 | XFontSetExtents *set_extents; | 36 | XFontSetExtents *set_extents; |
37 | XFontStruct *fontstruct; | 37 | XFontStruct *fontstruct; |
38 | FontJustify justify; | 38 | FontJustify justify; |
39 | }; | 39 | }; |
40 | 40 | ||
41 | int doAlignment(int max_width, int bevel, Font::FontJustify justify, | 41 | int doAlignment(int max_width, int bevel, Font::FontJustify justify, |
42 | const FbTk::Font &font, const char * const text, size_t textlen, size_t &newlen); | 42 | const FbTk::Font &font, const char * const text, size_t textlen, size_t &newlen); |
43 | }; //end namespace DrawUtil | 43 | }; //end namespace DrawUtil |
44 | 44 | ||