Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXPicker.h
Go to the documentation of this file.
1 /********************************************************************************
2 * *
3 * P i c k e r B u t t o n *
4 * *
5 *********************************************************************************
6 * Copyright (C) 2001,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: FXPicker.h,v 1.10 2006/01/22 17:58:07 fox Exp $ *
23 ********************************************************************************/
24 #ifndef FXPICKER_H
25 #define FXPICKER_H
26 
27 #ifndef FXBUTTON_H
28 #include "FXButton.h"
29 #endif
30 
31 namespace FX {
32 
33 
34 /**
35 * A picker button allows you to identify an arbitrary
36 * location on the screen.
37 */
38 class FXAPI FXPicker : public FXButton {
40 protected:
41  FXPicker(){}
42 private:
43  FXPicker(const FXPicker&);
44  FXPicker& operator=(const FXPicker&);
45 public:
46  long onMotion(FXObject*,FXSelector,void*);
47  long onLeftBtnPress(FXObject*,FXSelector,void*);
48  long onLeftBtnRelease(FXObject*,FXSelector,void*);
49  long onEnter(FXObject*,FXSelector,void*);
50  long onLeave(FXObject*,FXSelector,void*);
51 public:
53  };
54 
55 }
56 
57 #endif
unsigned int FXuint
Definition: fxdefs.h:396
Definition: FXFrame.h:56
FXuint FXSelector
Association key.
Definition: FXObject.h:53
A button provides a push button, with optional icon and/or text label.
Definition: FXButton.h:85
#define FXAPI
Definition: fxdefs.h:122
Definition: FXButton.h:58
Base composite.
Definition: FXComposite.h:35
#define NULL
Definition: fxdefs.h:41
int FXint
Definition: fxdefs.h:397
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:45
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
A picker button allows you to identify an arbitrary location on the screen.
Definition: FXPicker.h:38
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33

Copyright © 1997-2005 Jeroen van der Zijp