00001 /* ==================================================== ======== ======= * 00002 * 00003 * uplugpane.hpp plugin widget 00004 * Ubit Project 00005 * Part of the Ubit Toolkit: A Brick Construction Game Model for Creating GUIs 00006 * (C) 1999-2006 Eric Lecolinet / ENST Paris / http://www.enst.fr/~elc/ubit 00007 * 00008 * *********************************************************************** 00009 * COPYRIGHT NOTICE : 00010 * THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY AND WITHOUT EVEN THE 00011 * IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. 00012 * YOU CAN REDISTRIBUTE IT AND/OR MODIFY IT UNDER THE TERMS OF THE GNU 00013 * GENERAL PUBLIC LICENSE AS PUBLISHED BY THE FREE SOFTWARE FOUNDATION; 00014 * EITHER VERSION 2 OF THE LICENSE, OR (AT YOUR OPTION) ANY LATER VERSION. 00015 * SEE FILES 'COPYRIGHT' AND 'COPYING' FOR MORE DETAILS. 00016 * *********************************************************************** 00017 * ==================================================== [(c)Elc] ======= * 00018 * ==================================================== ======== ======= */ 00019 00020 #ifndef _uplugpane_hpp_ 00021 #define _uplugpane_hpp_ 00022 //pragma ident "@(#)uplugpane.hpp ubit:05.05.00" 00023 00024 #include <ubit/uwin.hpp> 00025 namespace ubit { 00026 00027 class UPlugpane : public UWin { 00028 public: 00029 UBIT_ELEMENT_CLASS(UPlugpane, UWin) 00030 00031 00036 UPlugpane(const UArgs& arglist = UArgs::none); 00037 00038 // - impl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 00039 00040 static UStyle* createStyle(); 00041 00042 private: 00043 friend class UNatWin; 00044 virtual bool realize(); 00045 virtual void reshapeCB(); 00046 00047 virtual void initView(UChild* self, UView* ancestor_view); 00049 }; 00050 00051 } 00052 #endif 00053 /* ==================================================== [TheEnd] ======= */ 00054 /* ==================================================== [(c)Elc] ======= */ 00055