Files
libreoffice/sw/source/ui/inc/textcontrolcombo.hxx
Vladimir Glazounov 8b006db1bf INTEGRATION: CWS swusing (1.5.38); FILE MERGED
2007/10/12 09:58:34 tl 1.5.38.2: #i82476# make 'using' declarations private
2007/10/10 14:15:12 tl 1.5.38.1: #i82476# make newly added 'using' declarations private
2007-10-22 14:24:43 +00:00

78 lines
2.3 KiB
C++

/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: textcontrolcombo.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: vg $ $Date: 2007-10-22 15:24:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************/
#ifndef _TEXTCONTROLCOMBO_HXX
#define _TEXTCONTROLCOMBO_HXX
#ifndef _FIXED_HXX
#include <vcl/fixed.hxx>
#endif
#include <vcl/field.hxx>
#ifndef INCLUDED_SWDLLAPI_H
#include "swdllapi.h"
#endif
class SW_DLLPUBLIC TextControlCombo : public Window
{
protected:
Control& mrCtrl;
FixedText& mrFTbefore;
FixedText& mrFTafter;
public:
using Window::Enable;
using Window::Disable;
TextControlCombo( Window* _pParent, const ResId& _rResId,
Control& _rCtrl, FixedText& _rFTbefore, FixedText& _rFTafter );
virtual ~TextControlCombo();
void Arrange( FixedText& _rOrg, BOOL bShow = true );
// identical to window functionality
void Show( BOOL bVisible = TRUE, USHORT nFlags = 0 );
void Hide( USHORT nFlags = 0 ) { Show( FALSE, nFlags ); }
void Enable( BOOL bEnable = TRUE, BOOL bChild = TRUE );
void Disable( BOOL bChild = TRUE ) { Enable( FALSE, bChild ); }
};
#endif