FXShell.h

Go to the documentation of this file.
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,2006 by Jeroen van der Zijp.   All Rights Reserved.        *
00007 *********************************************************************************
00008 * This library is free software; you can redistribute it and/or                 *
00009 * modify it under the terms of the GNU Lesser General Public                    *
00010 * License as published by the Free Software Foundation; either                  *
00011 * version 2.1 of the License, or (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 GNU             *
00016 * Lesser General Public License for more details.                               *
00017 *                                                                               *
00018 * You should have received a copy of the GNU Lesser General Public              *
00019 * License along with this library; if not, write to the Free Software           *
00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
00021 *********************************************************************************
00022 * $Id: FXShell.h,v 1.31 2006/01/22 17:58:09 fox Exp $                           *
00023 ********************************************************************************/
00024 #ifndef FXSHELL_H
00025 #define FXSHELL_H
00026 
00027 #ifndef FXCOMPOSITE_H
00028 #include "FXComposite.h"
00029 #endif
00030 
00031 namespace FX {
00032 
00033 
00038 class FXAPI FXShell : public FXComposite {
00039   FXDECLARE(FXShell)
00040   friend class FXHandedInterfaceI;
00041 protected:
00042   FXShell(){}
00043   FXShell(FXApp* a,FXuint opts,FXint x,FXint y,FXint w,FXint h);
00044   FXShell(FXWindow* own,FXuint opts,FXint x,FXint y,FXint w,FXint h);
00045 private:
00046   FXShell(const FXShell&);
00047   FXShell &operator=(const FXShell&);
00048 public:
00049   long onLayout(FXObject*,FXSelector,void*);
00050   long onConfigure(FXObject*,FXSelector,void*);
00051   long onKeyPress(FXObject*,FXSelector,void*);
00052   long onKeyRelease(FXObject*,FXSelector,void*);
00053   long onFocusNext(FXObject*,FXSelector,void*);
00054   long onFocusPrev(FXObject*,FXSelector,void*);
00055 public:
00056   enum {
00057     ID_LAYOUT=FXComposite::ID_LAST,
00058     ID_LAST
00059     };
00060 public:
00061 
00063   virtual void create();
00064 
00066   virtual void recalc();
00067 
00069   virtual void setFocus();
00070 
00072   virtual void killFocus();
00073 
00075   virtual ~FXShell();
00076   };
00077 
00078 }
00079 
00080 #endif

(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:31:24 2009 for TnFOX by doxygen v1.4.7