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,2017 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

Copyright © 1997-2016 Jeroen van der Zijp