[BeOS] patch: cursor/focus


Subject: [BeOS] patch: cursor/focus
baron.users@free.fr
Date: Tue Aug 08 2000 - 10:22:07 CDT


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 : Tue Aug 08 2000 - 10:22:16 CDT