Re: [BeOS] patch: cursor/focus


Subject: Re: [BeOS] patch: cursor/focus
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Fri Aug 11 2000 - 00:30:04 CDT


HI Stephane,
            Could you please do a diff -u and resend the patch?

By the way, I don't have beos machine so it would be good if a developer
with Beos access tests these patch before they're committed.

Thanks,

Martin

On Tue, 8 Aug 2000 baron.users@free.fr wrote:

>
> Hi,
>
> This patch make insertion point or text selection be drawn when window gets
> focus.
>
> Stephane
>
> diff -ra /boot/home/dvlp/abi-nightly/src/af/xap/beos/xap_BeOSFrame.cpp
> /boot/home/dvlp/abi/
> src/af/xap/beos/xap_BeOSFrame.cpp
> 447a448,456
> > void be_DocView::WindowActivated(bool activated) {
> > be_Window *pBWin;
> > pBWin = (be_Window *)Window();
> > AV_View *pView = pBWin->m_pBeOSFrame->getCurrentView();
> > if (pView) {
> > pView->focusChange(activated?AV_FOCUS_HERE:AV_FOCUS_NONE);
> > }
> > }
> >
> diff -ra /boot/home/dvlp/abi-nightly/src/af/xap/beos/xap_BeOSFrame.h
> /boot/home/dvlp/abi-
> nightly.1/src/af/xap/beos/xap_BeOSFrame.h
> 63a64
> > virtual void WindowActivated(bool active);
>
>
>



This archive was generated by hypermail 2b25 : Fri Aug 11 2000 - 00:30:19 CDT