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

FXShell.h
1 /********************************************************************************
2 * *
3 * S h e l l W i n d o w W i d g e t *
4 * *
5 *********************************************************************************
6 * Copyright (C) 1997,2024 by Jeroen van der Zijp. All Rights Reserved. *
7 *********************************************************************************
8 * This library is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU Lesser General Public License as published by *
10 * the Free Software Foundation; either version 3 of the License, or *
11 * (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 *
16 * GNU Lesser General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU Lesser General Public License *
19 * along with this program. If not, see <http://www.gnu.org/licenses/> *
20 ********************************************************************************/
21 #ifndef FXSHELL_H
22 #define FXSHELL_H
23 
24 #ifndef FXCOMPOSITE_H
25 #include "FXComposite.h"
26 #endif
27 
28 namespace FX {
29 
30 
35 class FXAPI FXShell : public FXComposite {
36  FXDECLARE(FXShell)
37 protected:
38  FXShell(){}
39  FXShell(FXApp* a,FXuint opts,FXint x,FXint y,FXint w,FXint h);
40  FXShell(FXWindow* own,FXuint opts,FXint x,FXint y,FXint w,FXint h);
41 private:
42  FXShell(const FXShell&);
43  FXShell &operator=(const FXShell&);
44 public:
45  long onLayout(FXObject*,FXSelector,void*);
46  long onConfigure(FXObject*,FXSelector,void*);
47  long onKeyPress(FXObject*,FXSelector,void*);
48  long onKeyRelease(FXObject*,FXSelector,void*);
49  long onFocusNext(FXObject*,FXSelector,void*);
50  long onFocusPrev(FXObject*,FXSelector,void*);
51 public:
52  enum {
53  ID_LAYOUT=FXComposite::ID_LAST,
54  ID_LAST
55  };
56 public:
57 
59  virtual void create();
60 
62  virtual void recalc();
63 
65  virtual void setFocus();
66 
68  virtual void killFocus();
69 
71  virtual ~FXShell();
72  };
73 
74 }
75 
76 #endif
Window is the base class for all widgets in FOX.
Definition: FXWindow.h:130
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
Base composite.
Definition: FXComposite.h:32
Definition: FX4Splitter.h:28
The Shell widget is used as the base class for top level windows, i.e.
Definition: FXShell.h:35
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134

Copyright © 1997-2022 Jeroen van der Zijp