diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-06-12 17:33:28 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2015-07-16 09:52:56 +0200 |
commit | c4ab27c5eba8732927b76f66e91f8978e5b3b65e (patch) | |
tree | c945b6c7b1b036529c72f5bcf64380ee240e2439 /include | |
parent | 19c74d1fdf5a86717265aefae3617a01750f1074 (diff) |
hiding the fragments of the long paths
Change-Id: Iebdf4fbbb0371fbaedaacb500623586fa70865e3
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/breadcrumb.hxx | 4 |
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* ); |