diff options
author | Oliver Specht <os@openoffice.org> | 2001-07-17 07:17:55 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-07-17 07:17:55 +0000 |
commit | 6db29c63406c676afff04f8916265bd5f2b552fa (patch) | |
tree | cfafe15018ff2591bcb6cc63d4535e2a6558ee88 /svx/inc/rubydialog.hxx | |
parent | a12d67ed7da2f06b1aa6aa51f227c3e998f55b0e (diff) |
#89756# travelling improved
Diffstat (limited to 'svx/inc/rubydialog.hxx')
-rw-r--r-- | svx/inc/rubydialog.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/svx/inc/rubydialog.hxx b/svx/inc/rubydialog.hxx index 156bfe070da9..55320051d843 100644 --- a/svx/inc/rubydialog.hxx +++ b/svx/inc/rubydialog.hxx @@ -2,9 +2,9 @@ * * $RCSfile: rubydialog.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: os $ $Date: 2001-06-19 10:30:34 $ + * last change: $Author: os $ $Date: 2001-07-17 08:17:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -111,10 +111,13 @@ class SvxRubyChildWindow : public SfxChildWindow struct SvxRubyData_Impl; class RubyEdit : public Edit { + Link aScrollHdl; virtual void GetFocus(); + virtual long PreNotify( NotifyEvent& rNEvt ); public: RubyEdit(Window* pParent, const ResId& rResId) : Edit(pParent, rResId){} + void SetScrollHdl(Link& rLink) {aScrollHdl = rLink;} }; @@ -133,7 +136,7 @@ class SvxRubyDialog : public SfxModelessDialog RubyEdit aLeft4ED; RubyEdit aRight4ED; - Edit* aEditArr[8]; + RubyEdit* aEditArr[8]; ScrollBar aScrollSB; CheckBox aAutoDetectionCB; @@ -171,6 +174,7 @@ class SvxRubyDialog : public SfxModelessDialog DECL_LINK(AdjustHdl_Impl, ListBox*); DECL_LINK(CharStyleHdl_Impl, ListBox*); DECL_LINK(EditModifyHdl_Impl, Edit*); + DECL_LINK(EditScrollHdl_Impl, sal_Int32*); void SetText(sal_Int32 nPos, Edit& rLeft, Edit& rRight); void GetText(); |