diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-21 12:50:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-22 11:34:34 +0100 |
commit | 37430defd8e5d7092721c16cfc6bdb9f1db56c9f (patch) | |
tree | ce3bde3b0a2950e6617c98da54b4c9ed68c2103b /include | |
parent | 1f1b45ab5d076a77545c54ff1839b98bae53a009 (diff) |
restore StatusBar::GetItemData, etc. because we need it again
revert c95fa19f7c7b58a2beb65ad52335322ec2ae6f18
Conflicts:
vcl/source/window/status.cxx
Change-Id: I976802cde23892e7a3b2f6ad75d34a52bc7b2739
(cherry picked from commit c4ae127b6063b53df4592d6b37ea0f38a892d8c1)
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/status.hxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx index 91aa97113179..12bfc19fdf1c 100644 --- a/include/vcl/status.hxx +++ b/include/vcl/status.hxx @@ -130,10 +130,19 @@ public: StatusBarItemBits nBits = SIB_CENTER | SIB_IN, long nOffset = STATUSBAR_OFFSET, sal_uInt16 nPos = STATUSBAR_APPEND ); + void RemoveItem( sal_uInt16 nItemId ); + void ShowItem( sal_uInt16 nItemId ); + void HideItem( sal_uInt16 nItemId ); sal_Bool IsItemVisible( sal_uInt16 nItemId ) const; + + void ShowItems(); + void HideItems(); sal_Bool AreItemsVisible() const { return mbVisibleItems; } + void RedrawItem( sal_uInt16 nItemId ); + + void CopyItems( const StatusBar& rStatusBar ); void Clear(); sal_uInt16 GetItemCount() const; @@ -144,10 +153,16 @@ public: Point GetItemTextPos( sal_uInt16 nItemId ) const; sal_uInt16 GetCurItemId() const { return mnCurItemId; } + sal_uLong GetItemWidth( sal_uInt16 nItemId ) const; + StatusBarItemBits GetItemBits( sal_uInt16 nItemId ) const; + + long GetItemOffset( sal_uInt16 nItemId ) const; + void SetItemText( sal_uInt16 nItemId, const XubString& rText ); const XubString& GetItemText( sal_uInt16 nItemId ) const; void SetItemData( sal_uInt16 nItemId, void* pNewData ); + void* GetItemData( sal_uInt16 nItemId ) const; void SetItemCommand( sal_uInt16 nItemId, const XubString& rCommand ); const XubString& GetItemCommand( sal_uInt16 nItemId ); |