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-21 14:01:16 +0100 |
commit | c4ae127b6063b53df4592d6b37ea0f38a892d8c1 (patch) | |
tree | 2c27b32b188dfb9c2d74cb9323e5129291771f59 /include/vcl | |
parent | 1704b1200d39eba8e235ca5c13c5a931d07a98b3 (diff) |
restore StatusBar::GetItemData, etc. because we need it again
revert c95fa19f7c7b58a2beb65ad52335322ec2ae6f18
Conflicts:
vcl/source/window/status.cxx
Change-Id: I976802cde23892e7a3b2f6ad75d34a52bc7b2739
Diffstat (limited to 'include/vcl')
-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 ); |