aboutsummaryrefslogtreecommitdiff
path: root/src/DrawUtil.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-26 15:50:46 (GMT)
committerfluxgen <fluxgen>2002-11-26 15:50:46 (GMT)
commitfe2e6b32e7fd285a32d5210220e18da9abb7732f (patch)
treed3361a8c7188ca8a66d0d96db32a50216b04a9cf /src/DrawUtil.hh
parente980fe82969013db45daa0cc0bce90b3df180f62 (diff)
downloadfluxbox-fe2e6b32e7fd285a32d5210220e18da9abb7732f.zip
fluxbox-fe2e6b32e7fd285a32d5210220e18da9abb7732f.tar.bz2
alignment function
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