From c4ae127b6063b53df4592d6b37ea0f38a892d8c1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 21 May 2013 12:50:57 +0100 Subject: restore StatusBar::GetItemData, etc. because we need it again revert c95fa19f7c7b58a2beb65ad52335322ec2ae6f18 Conflicts: vcl/source/window/status.cxx Change-Id: I976802cde23892e7a3b2f6ad75d34a52bc7b2739 --- include/vcl/status.hxx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include/vcl') 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 ); -- cgit