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

/home/jeroen/FOX/fox/fox-1.7.33/include/FXShell.h
00001 /********************************************************************************
00002 *                                                                               *
00003 *                     S h e l l   W i n d o w   W i d g e t                     *
00004 *                                                                               *
00005 *********************************************************************************
00006 * Copyright (C) 1997,2012 by Jeroen van der Zijp.   All Rights Reserved.        *
00007 *********************************************************************************
00008 * This library is free software; you can redistribute it and/or modify          *
00009 * it under the terms of the GNU Lesser General Public License as published by   *
00010 * the Free Software Foundation; either version 3 of the License, or             *
00011 * (at your option) any later version.                                           *
00012 *                                                                               *
00013 * This library is distributed in the hope that it will be useful,               *
00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of                *
00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                 *
00016 * GNU Lesser General Public License for more details.                           *
00017 *                                                                               *
00018 * You should have received a copy of the GNU Lesser General Public License      *
00019 * along with this program.  If not, see <http://www.gnu.org/licenses/>          *
00020 ********************************************************************************/
00021 #ifndef FXSHELL_H
00022 #define FXSHELL_H
00023 
00024 #ifndef FXCOMPOSITE_H
00025 #include "FXComposite.h"
00026 #endif
00027 
00028 namespace FX {
00029 
00030 
00035 class FXAPI FXShell : public FXComposite {
00036   FXDECLARE(FXShell)
00037 protected:
00038   FXShell(){}
00039   FXShell(FXApp* a,FXuint opts,FXint x,FXint y,FXint w,FXint h);
00040   FXShell(FXWindow* own,FXuint opts,FXint x,FXint y,FXint w,FXint h);
00041 private:
00042   FXShell(const FXShell&);
00043   FXShell &operator=(const FXShell&);
00044 public:
00045   long onLayout(FXObject*,FXSelector,void*);
00046   long onConfigure(FXObject*,FXSelector,void*);
00047   long onKeyPress(FXObject*,FXSelector,void*);
00048   long onKeyRelease(FXObject*,FXSelector,void*);
00049   long onFocusNext(FXObject*,FXSelector,void*);
00050   long onFocusPrev(FXObject*,FXSelector,void*);
00051 public:
00052   enum {
00053     ID_LAYOUT=FXComposite::ID_LAST,
00054     ID_LAST
00055     };
00056 public:
00057 
00059   virtual void create();
00060 
00062   virtual void recalc();
00063 
00065   virtual void setFocus();
00066 
00068   virtual void killFocus();
00069 
00071   virtual ~FXShell();
00072   };
00073 
00074 }
00075 
00076 #endif

Copyright © 1997-2011 Jeroen van der Zijp