wmail: updated contact details in README.
[dockapps.git] / wmmisc / src / dockapp_draw.h
blob6f223de362600c58c4091fda6a1d8461b1f8a621
1 /*
2 * wmmisc - WindowMaker Dockapp for monitoring misc. information.
3 * Copyright (C) 2003-2006 Jesse S. (luxorfalls@sbcglobal.net)
5 * wmmisc is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * wmmisc is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with wmmisc; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef __dockapp_draw_h
22 #define __dockapp_draw_h
24 #define DOCKAPP_WIDTH 64
25 #define DOCKAPP_HEIGHT 64
27 #define DOCKAPP_BIG_CHAR_WIDTH 6
28 #define DOCKAPP_BIG_CHAR_HEIGHT 8
29 #define DOCKAPP_SMALL_CHAR_WIDTH 5
30 #define DOCKAPP_SMALL_CHAR_HEIGHT 6
32 #define DOCKAPP_BIG_DIGIT_X 3
33 #define DOCKAPP_BIG_DIGIT_Y 65
34 #define DOCKAPP_SMALL_DIGIT_X 3
35 #define DOCKAPP_SMALL_DIGIT_Y 86
37 #define DOCKAPP_BIG_LETTER_X 3
38 #define DOCKAPP_BIG_LETTER_Y 75
39 #define DOCKAPP_SMALL_LETTER_X 3
40 #define DOCKAPP_SMALL_LETTER_Y 94
42 #define DOCKAPP_DOT_X 64
43 #define DOCKAPP_DOT_Y 85
45 #define DOCKAPP_DOT_WIDTH 2
46 #define DOCKAPP_DOT_HEIGHT 6
48 #if 0
49 #define DOCKAPP_BAR_WIDTH 55
50 #define DOCKAPP_BAR_HEIGHT 2
52 #define DOCKAPP_BAR_ON_X 82
53 #define DOCKAPP_BAR_ON_Y 71
54 #define DOCKAPP_BAR_OFF_X 82
55 #define DOCKAPP_BAR_OFF_Y 69
56 #endif
59 * Function protoypes.
62 void dockapp_draw_small_digit( unsigned int, int, int, int );
64 void dockapp_draw_big_digit( unsigned int, int, int, int );
66 void dockapp_draw_big_str( const char*, int, int );
68 void dockapp_draw_small_str( const char*, int, int );
70 #if 0
71 void dockapp_draw_bar( int, int, int, int, int );
73 void dockapp_draw_bar_calculate( float, int, int );
74 #endif
76 void dockapp_draw_data( void );
78 #endif /* !__dockapp_draw_h */