blob: e24fbc3d8ee00009483e17a0121fa5d85292de42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_framework.hxx"
//_________________________________________________________________________________________________________________
// my own includes
//_________________________________________________________________________________________________________________
#include <uielement/panelwindow.hxx>
namespace framework
{
PanelWindow::PanelWindow( Window* pParent, WinBits nWinBits ) :
DockingWindow( pParent, nWinBits )
{
}
PanelWindow::~PanelWindow()
{
}
void PanelWindow::Command( const CommandEvent& rCEvt )
{
if ( m_aCommandHandler.IsSet() )
m_aCommandHandler.Call( (void *)( &rCEvt ));
DockingWindow::Command( rCEvt );
}
void PanelWindow::StateChanged( StateChangedType nType )
{
DockingWindow::StateChanged( nType );
if ( m_aStateChangedHandler.IsSet() )
m_aStateChangedHandler.Call( &nType );
}
void PanelWindow::DataChanged( const DataChangedEvent& rDCEvt )
{
DockingWindow::DataChanged( rDCEvt );
if ( m_aDataChangedHandler.IsSet() )
m_aDataChangedHandler.Call( (void*)&rDCEvt );
}
void PanelWindow::Resize()
{
DockingWindow::Resize();
if ( m_pContentWindow )
m_pContentWindow->SetSizePixel( GetOutputSizePixel() );
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|