summaryrefslogtreecommitdiff
path: root/vcl/source/window/split.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/split.cxx')
-rw-r--r--vcl/source/window/split.cxx62
1 files changed, 0 insertions, 62 deletions
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx
index 05d7d4b62c03..1fa4e6ee37e1 100644
--- a/vcl/source/window/split.cxx
+++ b/vcl/source/window/split.cxx
@@ -49,8 +49,6 @@ namespace
};
}
-
-
void Splitter::ImplInitSplitterData()
{
ImplGetWindowImpl()->mbSplitter = true;
@@ -64,8 +62,6 @@ void Splitter::ImplInitSplitterData()
mnKeyboardStepSize = SPLITTER_DEFAULTSTEPSIZE;
}
-
-
// Should only be called from a ImplInit method for initialization or
// after checking bNew is different from the current mbHorzSplit value.
// The public method that does that check is Splitter::SetHorizontal().
@@ -90,8 +86,6 @@ void Splitter::ImplInitHorVer(bool bNew)
SetPointer( Pointer( ePointerStyle ) );
}
-
-
void Splitter::ImplInit( Window* pParent, WinBits nWinStyle )
{
Window::ImplInit( pParent, nWinStyle, NULL );
@@ -109,8 +103,6 @@ void Splitter::ImplInit( Window* pParent, WinBits nWinStyle )
pTList->AddWindow( this );
}
-
-
void Splitter::ImplSplitMousePos( Point& rPos )
{
if ( mbHorzSplit )
@@ -129,8 +121,6 @@ void Splitter::ImplSplitMousePos( Point& rPos )
}
}
-
-
void Splitter::ImplDrawSplitter()
{
Rectangle aInvRect( maDragRect );
@@ -149,8 +139,6 @@ void Splitter::ImplDrawSplitter()
mpRefWin->InvertTracking( mpRefWin->PixelToLogic(aInvRect), SHOWTRACK_SPLIT );
}
-
-
Splitter::Splitter( Window* pParent, WinBits nStyle ) :
Window( WINDOW_SPLITTER )
{
@@ -161,8 +149,6 @@ Splitter::Splitter( Window* pParent, WinBits nStyle ) :
SetFillColor();
}
-
-
Splitter::Splitter( Window* pParent, const ResId& rResId ) :
Window( WINDOW_SPLITTER )
{
@@ -179,16 +165,12 @@ Splitter::Splitter( Window* pParent, const ResId& rResId ) :
Show();
}
-
-
Splitter::~Splitter()
{
TaskPaneList *pTList = GetSystemWindow()->GetTaskPaneList();
pTList->RemoveWindow( this );
}
-
-
void Splitter::SetHorizontal(bool bNew)
{
if(bNew != (bool)mbHorzSplit)
@@ -197,15 +179,11 @@ void Splitter::SetHorizontal(bool bNew)
}
}
-
-
void Splitter::SetKeyboardStepSize( long nStepSize )
{
mnKeyboardStepSize = nStepSize;
}
-
-
Splitter* Splitter::ImplFindSibling()
{
// look for another splitter with the same parent but different orientation
@@ -224,8 +202,6 @@ Splitter* Splitter::ImplFindSibling()
return NULL;
}
-
-
bool Splitter::ImplSplitterActive()
{
// is splitter in document or at scrollbar handle ?
@@ -249,8 +225,6 @@ bool Splitter::ImplSplitterActive()
return bActive;
}
-
-
void Splitter::MouseButtonDown( const MouseEvent& rMEvt )
{
if ( rMEvt.GetClicks() == 2 )
@@ -280,8 +254,6 @@ void Splitter::MouseButtonDown( const MouseEvent& rMEvt )
StartDrag();
}
-
-
void Splitter::Tracking( const TrackingEvent& rTEvt )
{
if ( rTEvt.IsTrackingEnded() )
@@ -356,8 +328,6 @@ void Splitter::Tracking( const TrackingEvent& rTEvt )
}
}
-
-
void Splitter::ImplKbdTracking( KeyCode aKeyCode )
{
sal_uInt16 nCode = aKeyCode.GetCode();
@@ -473,36 +443,26 @@ void Splitter::ImplKbdTracking( KeyCode aKeyCode )
}
}
-
-
void Splitter::StartSplit()
{
maStartSplitHdl.Call( this );
}
-
-
void Splitter::Split()
{
maSplitHdl.Call( this );
}
-
-
void Splitter::EndSplit()
{
if ( maEndSplitHdl.IsSet() )
maEndSplitHdl.Call( this );
}
-
-
void Splitter::Splitting( Point& /* rSplitPos */ )
{
}
-
-
void Splitter::SetDragRectPixel( const Rectangle& rDragRect, Window* _pRefWin )
{
maDragRect = rDragRect;
@@ -512,15 +472,11 @@ void Splitter::SetDragRectPixel( const Rectangle& rDragRect, Window* _pRefWin )
mpRefWin = _pRefWin;
}
-
-
void Splitter::SetSplitPosPixel( long nNewPos )
{
mnSplitPos = nNewPos;
}
-
-
void Splitter::StartDrag()
{
if ( IsTracking() )
@@ -546,9 +502,6 @@ void Splitter::StartDrag()
ImplDrawSplitter();
}
-
-
-
void Splitter::ImplStartKbdSplitting()
{
if( mbKbdSplitting )
@@ -577,8 +530,6 @@ void Splitter::ImplStartKbdSplitting()
mnStartSplitPos = maDragPos.Y();
}
-
-
void Splitter::ImplRestoreSplitter()
{
// set splitter in the center of the ref window
@@ -607,9 +558,6 @@ void Splitter::ImplRestoreSplitter()
EndSplit();
}
-
-
-
void Splitter::GetFocus()
{
if( !ImplSplitterActive() )
@@ -618,8 +566,6 @@ void Splitter::GetFocus()
Invalidate();
}
-
-
void Splitter::LoseFocus()
{
if( mbKbdSplitting )
@@ -631,8 +577,6 @@ void Splitter::LoseFocus()
Invalidate();
}
-
-
void Splitter::KeyInput( const KeyEvent& rKEvt )
{
if( mbInKeyEvent )
@@ -732,15 +676,11 @@ void Splitter::KeyInput( const KeyEvent& rKEvt )
mbInKeyEvent = 0;
}
-
-
bool Splitter::Notify( NotifyEvent& rNEvt )
{
return Window::Notify( rNEvt );
}
-
-
void Splitter::DataChanged( const DataChangedEvent& rDCEvt )
{
Window::DataChanged( rDCEvt );
@@ -762,8 +702,6 @@ void Splitter::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-
-
void Splitter::Paint( const Rectangle& rPaintRect )
{
DrawRect( rPaintRect );