INTEGRATION: CWS frmcontrols04 (1.2.18); FILE MERGED
2004/06/23 09:03:44 fs 1.2.18.1: #i24694# #i24686# HideInactiveSelection and BorderColor also for the rich text model
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: richtextimplcontrol.cxx,v $
|
* $RCSfile: richtextimplcontrol.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
*
|
*
|
||||||
* last change: $Author: rt $ $Date: 2004-05-07 16:13:04 $
|
* last change: $Author: obo $ $Date: 2004-07-05 16:19:39 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -700,11 +700,23 @@ namespace frm
|
|||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
void RichTextControlImpl::SetBackgroundColor( const Color& _rColor )
|
void RichTextControlImpl::SetBackgroundColor( const Color& _rColor )
|
||||||
{
|
{
|
||||||
Wallpaper aWallpaper( _rColor );
|
Wallpaper aWallpaper( _rColor );
|
||||||
m_pAntiImpl->SetBackground( aWallpaper );
|
m_pAntiImpl->SetBackground( aWallpaper );
|
||||||
m_pViewport->SetBackground( aWallpaper );
|
m_pViewport->SetBackground( aWallpaper );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------
|
||||||
|
void RichTextControlImpl::SetHideInactiveSelection( bool _bHide )
|
||||||
|
{
|
||||||
|
m_pViewport->SetHideInactiveSelection( _bHide );
|
||||||
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------
|
||||||
|
bool RichTextControlImpl::GetHideInactiveSelection() const
|
||||||
|
{
|
||||||
|
return m_pViewport->GetHideInactiveSelection( );
|
||||||
|
}
|
||||||
|
|
||||||
//........................................................................
|
//........................................................................
|
||||||
} // namespace frm
|
} // namespace frm
|
||||||
//........................................................................
|
//........................................................................
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: richtextimplcontrol.hxx,v $
|
* $RCSfile: richtextimplcontrol.hxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
*
|
*
|
||||||
* last change: $Author: rt $ $Date: 2004-05-07 16:13:15 $
|
* last change: $Author: obo $ $Date: 2004-07-05 16:19:54 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -195,6 +195,9 @@ namespace frm
|
|||||||
void SetReadOnly( bool _bReadOnly );
|
void SetReadOnly( bool _bReadOnly );
|
||||||
bool IsReadOnly() const;
|
bool IsReadOnly() const;
|
||||||
|
|
||||||
|
void SetHideInactiveSelection( bool _bHide );
|
||||||
|
bool GetHideInactiveSelection() const;
|
||||||
|
|
||||||
/// draws the control onto a given output device
|
/// draws the control onto a given output device
|
||||||
void Draw( OutputDevice* _pDev, const Point& _rPos, const Size& _rSize, ULONG _nFlags );
|
void Draw( OutputDevice* _pDev, const Point& _rPos, const Size& _rSize, ULONG _nFlags );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user