diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-01-19 12:10:05 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-01-19 12:10:05 +0000 |
| commit | 78b5478136fa43a7c225ef5aa433ec9c0926667d (patch) | |
| tree | 1ccf14209b9980ca8b78482bdfd3664a61cd71f6 /src/ui/util.h | |
| parent | Don't allow dragging path at cap or line join (diff) | |
| download | inkscape-78b5478136fa43a7c225ef5aa433ec9c0926667d.tar.gz inkscape-78b5478136fa43a7c225ef5aa433ec9c0926667d.zip | |
Move general ellipsize text function out of gradient files.
Diffstat (limited to 'src/ui/util.h')
| -rw-r--r-- | src/ui/util.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ui/util.h b/src/ui/util.h new file mode 100644 index 000000000..11999e310 --- /dev/null +++ b/src/ui/util.h @@ -0,0 +1,30 @@ +/* + * Utility functions for UI + * + * Authors: + * Tavmjong Bah + * John Smith + * + * Copyright (C) 2013, 2018 Authors + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#ifndef UI_UTIL_SEEN +#define UI_UTIL_SEEN + +#include <glibmm/ustring.h> + +Glib::ustring ink_ellipsize_text (Glib::ustring const &src, size_t maxlen); + +#endif + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : |
