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

FXVerticalFrame.h
Go to the documentation of this file.
1 /********************************************************************************
2 * *
3 * V e r t i c a l C o n t a i n e r W i d g e t *
4 * *
5 *********************************************************************************
6 * Copyright (C) 1997,2006 by Jeroen van der Zijp. All Rights Reserved. *
7 *********************************************************************************
8 * This library is free software; you can redistribute it and/or *
9 * modify it under the terms of the GNU Lesser General Public *
10 * License as published by the Free Software Foundation; either *
11 * version 2.1 of the License, or (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 GNU *
16 * Lesser General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU Lesser General Public *
19 * License along with this library; if not, write to the Free Software *
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
21 *********************************************************************************
22 * $Id: FXVerticalFrame.h,v 1.15 2006/01/22 17:58:12 fox Exp $ *
23 ********************************************************************************/
24 #ifndef FXVERTICALFRAME_H
25 #define FXVERTICALFRAME_H
26 
27 #ifndef FXPACKER_H
28 #include "FXPacker.h"
29 #endif
30 
31 namespace FX {
32 
33 
34 /**
35 * Vertical frame layout manager widget is used to automatically
36 * place child-windows vertically from top-to-bottom, or bottom-to-top,
37 * depending on the child window's layout hints.
38 */
39 class FXAPI FXVerticalFrame : public FXPacker {
41 protected:
42  FXVerticalFrame(){}
43 private:
45  FXVerticalFrame& operator=(const FXVerticalFrame&);
46 public:
47 
48  /// Construct a vertical frame layout manager
50 
51  /// Perform layout
52  virtual void layout();
53 
54  /// Return default width
55  virtual FXint getDefaultWidth();
56 
57  /// Return default height
58  virtual FXint getDefaultHeight();
59  };
60 
61 }
62 
63 #endif
unsigned int FXuint
Definition: fxdefs.h:389
#define FXAPI
Definition: fxdefs.h:122
Base composite.
Definition: FXComposite.h:35
Vertical frame layout manager widget is used to automatically place child-windows vertically from top...
Definition: FXVerticalFrame.h:39
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:390
Packer is a layout manager which automatically places child windows inside its area against the left...
Definition: FXPacker.h:58
Definition: FXPacker.h:38
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92

Copyright © 1997-2005 Jeroen van der Zijp