diff options
author | Steve Yin <steve_y@apache.org> | 2013-11-25 13:15:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-25 14:12:36 +0000 |
commit | 79c0027c88fb64ffa7bbefcab2e291852733c223 (patch) | |
tree | 11b5f409b6c01064e37ad6fbb56d6b61edb745b4 /vcl/inc/ilstbox.hxx | |
parent | 57917b0c136520b478299f581bcd99ad5610c203 (diff) |
Integrate branch of IAccessible2
Change-Id: I8c2fea0367ebfa53ce5e109ef48fd661cbfb78b3
Diffstat (limited to 'vcl/inc/ilstbox.hxx')
-rw-r--r-- | vcl/inc/ilstbox.hxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/vcl/inc/ilstbox.hxx b/vcl/inc/ilstbox.hxx index 315f4ce0f1df..18dfee8bebcb 100644 --- a/vcl/inc/ilstbox.hxx +++ b/vcl/inc/ilstbox.hxx @@ -253,6 +253,8 @@ private: Link maDoubleClickHdl; Link maUserDrawHdl; Link maMRUChangedHdl; + Link maFocusHdl; + Link maListItemSelectHdl; ::vcl::QuickSelectionEngine maQuickSelectionEngine; @@ -266,7 +268,7 @@ protected: virtual void GetFocus(); virtual void LoseFocus(); - sal_Bool SelectEntries( sal_uInt16 nSelect, LB_EVENT_TYPE eLET, sal_Bool bShift = sal_False, sal_Bool bCtrl = sal_False ); + sal_Bool SelectEntries( sal_uInt16 nSelect, LB_EVENT_TYPE eLET, sal_Bool bShift = sal_False, sal_Bool bCtrl = sal_False, sal_Bool bSelectPosChange = sal_False ); void ImplPaint( sal_uInt16 nPos, sal_Bool bErase = sal_False, bool bLayout = false ); void ImplDoPaint( const Rectangle& rRect, bool bLayout = false ); void ImplCalcMetrics(); @@ -363,9 +365,13 @@ public: const Link& GetUserDrawHdl() const { return maUserDrawHdl; } void SetMRUChangedHdl( const Link& rLink ) { maMRUChangedHdl = rLink; } const Link& GetMRUChangedHdl() const { return maMRUChangedHdl; } + void SetFocusHdl( const Link& rLink ) { maFocusHdl = rLink ; } + const Link& GetFocusHdl() const { return maFocusHdl; } + void SetListItemSelectHdl( const Link& rLink ) { maListItemSelectHdl = rLink ; } + const Link& GetListItemSelectHdl() const { return maListItemSelectHdl; } bool IsSelectionChanged() const { return mbSelectionChanged; } - sal_uInt16 GetSelectModifier() const { return mnSelectModifier; } + sal_uInt16 GetSelectModifier() const { return mnSelectModifier; } void EnableSort( bool b ) { mbSort = b; } @@ -499,6 +505,10 @@ public: void SetUserDrawHdl( const Link& rLink ) { maLBWindow.SetUserDrawHdl( rLink ); } const Link& GetUserDrawHdl() const { return maLBWindow.GetUserDrawHdl(); } + void SetFocusHdl( const Link& rLink ) { maLBWindow.SetFocusHdl( rLink ); } + const Link& GetFocusHdl() const { return maLBWindow.GetFocusHdl(); } + void SetListItemSelectHdl( const Link& rLink ) { maLBWindow.SetListItemSelectHdl( rLink ); } + const Link& GetListItemSelectHdl() const { return maLBWindow.GetListItemSelectHdl(); } void SetSelectionChangedHdl( const Link& rLnk ) { maLBWindow.GetEntryList()->SetSelectionChangedHdl( rLnk ); } void SetCallSelectionChangedHdl( sal_Bool bCall ) { maLBWindow.GetEntryList()->SetCallSelectionChangedHdl( bCall ); } sal_Bool IsSelectionChanged() const { return maLBWindow.IsSelectionChanged(); } |