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

FXHorizontalFrame.h
Go to the documentation of this file.
1 /********************************************************************************
2 * *
3 * H o r i z o n t 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: FXHorizontalFrame.h,v 1.17 2006/01/22 17:58:04 fox Exp $ *
23 ********************************************************************************/
24 #ifndef FXHORIZONTALFRAME_H
25 #define FXHORIZONTALFRAME_H
26 
27 #ifndef FXPACKER_H
28 #include "FXPacker.h"
29 #endif
30 
31 namespace FX {
32 
33 
34 /**
35 * Horizontal frame layout manager widget is used to automatically
36 * place child-windows horizontally from left-to-right, or right-to-left,
37 * depending on the child window's layout hints.
38 */
41 protected:
43 private:
45  FXHorizontalFrame &operator=(const FXHorizontalFrame&);
46 public:
47 
48  /// Construct a horizontal 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:396
#define FXAPI
Definition: fxdefs.h:122
Base composite.
Definition: FXComposite.h:35
Horizontal frame layout manager widget is used to automatically place child-windows horizontally from...
Definition: FXHorizontalFrame.h:39
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:397
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