summaryrefslogtreecommitdiff
path: root/include/svtools/breadcrumb.hxx
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-06-12 17:33:28 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-07-16 09:52:56 +0200
commitc4ab27c5eba8732927b76f66e91f8978e5b3b65e (patch)
treec945b6c7b1b036529c72f5bcf64380ee240e2439 /include/svtools/breadcrumb.hxx
parent19c74d1fdf5a86717265aefae3617a01750f1074 (diff)
hiding the fragments of the long paths
Change-Id: Iebdf4fbbb0371fbaedaacb500623586fa70865e3
Diffstat (limited to 'include/svtools/breadcrumb.hxx')
-rw-r--r--include/svtools/breadcrumb.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svtools/breadcrumb.hxx b/include/svtools/breadcrumb.hxx
index 29858d62bffd..ff08994b508c 100644
--- a/include/svtools/breadcrumb.hxx
+++ b/include/svtools/breadcrumb.hxx
@@ -19,6 +19,8 @@
#include <vector>
+#define SPACING 6
+
enum SvtBreadcrumbMode
{
ONLY_CURRENT_PATH = 0,
@@ -39,7 +41,7 @@ class SVT_DLLPUBLIC Breadcrumb : public VclHBox
Link<> m_aClickHdl;
void appendField();
- void clearFields( unsigned int nStartIndex );
+ bool showField( unsigned int nIndex, unsigned int nWidthMax );
DECL_LINK ( ClickLinkHdl, FixedHyperlink* );