Main Page
Class Hierarchy
Alphabetical List
Compound List
File List
Compound Members
include
FXMenuPane.h
Go to the documentation of this file.
1
/********************************************************************************
2
* *
3
* M e n u P a n e W i d g e t *
4
* *
5
*********************************************************************************
6
* Copyright (C) 1997,2006 by Jeroen van der Zijp. All Rights Reserved. *
7
*********************************************************************************
8
* This library is free software; you can redistribute it and/or *
9
* modify it under the terms of the GNU Lesser General Public *
10
* License as published by the Free Software Foundation; either *
11
* version 2.1 of the License, or (at your option) any later version. *
12
* *
13
* This library is distributed in the hope that it will be useful, *
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16
* Lesser General Public License for more details. *
17
* *
18
* You should have received a copy of the GNU Lesser General Public *
19
* License along with this library; if not, write to the Free Software *
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
21
*********************************************************************************
22
* $Id: FXMenuPane.h,v 1.16 2006/01/22 17:58:06 fox Exp $ *
23
********************************************************************************/
24
#ifndef FXMENUPANE_H
25
#define FXMENUPANE_H
26
27
#ifndef FXPOPUP_H
28
#include "
FXPopup.h
"
29
#endif
30
31
namespace
FX
{
32
33
/// Popup menu pane
34
class
FXAPI
FXMenuPane
:
public
FXPopup
{
35
FXDECLARE
(
FXMenuPane
)
36
protected
:
37
FXMenuPane
(){}
38
private
:
39
FXMenuPane
(
const
FXMenuPane
&);
40
FXMenuPane
&operator=(
const
FXMenuPane
&);
41
public
:
42
43
/// Construct menu pane
44
FXMenuPane
(
FXWindow
* owner,
FXuint
opts=0);
45
46
/// Return true if popup contains this point
47
virtual
bool
contains(
FXint
parentx,
FXint
parenty)
const
;
48
};
49
50
}
51
52
#endif
FX::FXWindow
Base class for all windows.
Definition:
FXWindow.h:115
FX::FXuint
unsigned int FXuint
Definition:
fxdefs.h:389
FX::FXPopup
Popup window.
Definition:
FXPopup.h:52
FXAPI
#define FXAPI
Definition:
fxdefs.h:122
FXPopup.h
FX
Definition:
FX4Splitter.h:31
FX::FXint
int FXint
Definition:
fxdefs.h:390
FX::FXMenuPane
Popup menu pane.
Definition:
FXMenuPane.h:34
FXDECLARE
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition:
FXObject.h:92
Copyright © 1997-2005 Jeroen van der Zijp