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

uboxImpl.hpp

00001 /* ==================================================== ======== ======= *
00002  *
00003  *  uboxImpl.hpp
00004  *  Ubit Project [Elc][2003]
00005  *  Author: Eric Lecolinet
00006  *
00007  *  Part of the Ubit Toolkit: A Brick Construction Game Model for Creating GUIs
00008  *
00009  *  (C) 1999-2003 Eric Lecolinet @ ENST Paris
00010  *  WWW: http://www.enst.fr/~elc/ubit   Email: elc@enst.fr (subject: ubit)
00011  *
00012  * ***********************************************************************
00013  * COPYRIGHT NOTICE : 
00014  * THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY AND WITHOUT EVEN THE 
00015  * IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. 
00016  * YOU CAN REDISTRIBUTE IT AND/OR MODIFY IT UNDER THE TERMS OF THE GNU 
00017  * GENERAL PUBLIC LICENSE AS PUBLISHED BY THE FREE SOFTWARE FOUNDATION; 
00018  * EITHER VERSION 2 OF THE LICENSE, OR (AT YOUR OPTION) ANY LATER VERSION.
00019  * SEE FILES 'COPYRIGHT' AND 'COPYING' FOR MORE DETAILS.
00020  * ***********************************************************************
00021  *
00022  * ==================================================== [Elc:03] ======= *
00023  * ==================================================== ======== ======= */
00024 
00025 #ifndef _uboxImpl_hpp_
00026 #define _uboxImpl_hpp_
00027 //pragma ident  "@(#)uboxImpl.hpp       ubit:03.05.05"
00028 
00029 // ====[internal implementation]===========================
00030 
00031 class UBoxLink : public ULink {
00032 public:
00033   UBoxLink(class UBox* _child) : ULink(_child), views(null) {}
00034 
00035   class UView* getViews() const {return views;}
00036   class UView* getView(class UDisp*) const;
00037   void addView(class UView*);
00038   
00039   class UView* getViewInside(class UView* parent_view) const;
00040   class UView* getViewInsideSize(class UView* parent_view, u_dim *w, u_dim *h) const;
00042 
00043 private:
00044   friend class UBox;
00045   friend class UWin;
00046   class UView* views;
00047 };
00048 
00049 #endif
00050 /* ==================================================== [TheEnd] ======= */
00051 /* ==================================================== [Elc:03] ======= */

Generated on Thu Mar 3 06:36:49 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.1