aboutsummaryrefslogtreecommitdiff
path: root/src/DrawUtil.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/DrawUtil.hh')
-rw-r--r--src/DrawUtil.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DrawUtil.hh b/src/DrawUtil.hh
index 48caeec..f3710ae 100644
--- a/src/DrawUtil.hh
+++ b/src/DrawUtil.hh
@@ -19,12 +19,13 @@
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.8 2002/11/25 14:00:20 fluxgen Exp $ 22// $Id: DrawUtil.hh,v 1.9 2002/11/26 15:45:48 fluxgen Exp $
23 23
24#ifndef DRAWUTIL_HH 24#ifndef DRAWUTIL_HH
25#define DRAWUTIL_HH 25#define DRAWUTIL_HH
26 26
27#include <X11/Xlib.h> 27#include <X11/Xlib.h>
28#include "Font.hh"
28 29
29namespace DrawUtil { 30namespace DrawUtil {
30 // note: obsolete! 31 // note: obsolete!
@@ -37,6 +38,8 @@ namespace DrawUtil {
37 FontJustify justify; 38 FontJustify justify;
38 }; 39 };
39 40
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);
40}; //end namespace DrawUtil 43}; //end namespace DrawUtil
41 44
42#endif //DRAWUTIL_HH 45#endif //DRAWUTIL_HH