mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-27 18:10:44 +00:00
118 lines
2.4 KiB
C
118 lines
2.4 KiB
C
|
/*
|
||
|
GSVbox.h
|
||
|
|
||
|
The GSVbox class (a GNU extension)
|
||
|
|
||
|
Copyright (C) 1999 Free Software Foundation, Inc.
|
||
|
|
||
|
Author: Nicola Pero <n.pero@mi.flashnet.it>
|
||
|
Date: 1999
|
||
|
|
||
|
This file is part of the GNUstep GUI Library.
|
||
|
|
||
|
This library is free software; you can redistribute it and/or
|
||
|
modify it under the terms of the GNU Library General Public
|
||
|
License as published by the Free Software Foundation; either
|
||
|
version 2 of the License, or (at your option) any later version.
|
||
|
|
||
|
This library is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
Library General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU Library General Public
|
||
|
License along with this library; see the file COPYING.LIB.
|
||
|
If not, write to the Free Software Foundation,
|
||
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||
|
*/
|
||
|
|
||
|
//
|
||
|
// See GSHbox.h for comments.
|
||
|
// This file is generated from GSHbox.h by removing comments
|
||
|
// and substituting all occurrences of "hbox" with "vbox",
|
||
|
// "XResizing" with "YResizing", "MinXMargin" with "MinYMargin".
|
||
|
//
|
||
|
|
||
|
|
||
|
#ifndef _GNUstep_H_GSVbox
|
||
|
#define _GNUstep_H_GSVbox
|
||
|
|
||
|
#include "GSTable.h"
|
||
|
|
||
|
@interface GSVbox: GSTable
|
||
|
{
|
||
|
BOOL _haveViews;
|
||
|
float _defaultMinYMargin;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Initizialing.
|
||
|
//
|
||
|
-(id) init;
|
||
|
|
||
|
//
|
||
|
// Setting Border.
|
||
|
//
|
||
|
|
||
|
// Inherited from GSTable Class:
|
||
|
//-(void) setBorder: (float)aBorder;
|
||
|
//-(void) setXBorder: (float)aBorder;
|
||
|
//-(void) setYBorder: (float)aBorder;
|
||
|
//-(void) setMinXBorder: (float)aBorder;
|
||
|
//-(void) setMaxXBorder: (float)aBorder;
|
||
|
//-(void) setMinYBorder: (float)aBorder;
|
||
|
//-(void) setMaxYBorder: (float)aBorder;
|
||
|
|
||
|
//
|
||
|
// Adding a View.
|
||
|
//
|
||
|
-(void) addView: (NSView *)aView;
|
||
|
|
||
|
-(void) addView: (NSView *)aView
|
||
|
enablingYResizing: (BOOL)aFlag;
|
||
|
|
||
|
-(void) addView: (NSView *)aView
|
||
|
withMinYMargin: (float)aMargin;
|
||
|
|
||
|
-(void) addView: (NSView *)aView
|
||
|
enablingYResizing: (BOOL)aFlag
|
||
|
withMinYMargin: (float)aMargin;
|
||
|
|
||
|
//
|
||
|
// Adding a Separator.
|
||
|
//
|
||
|
-(void) addSeparator;
|
||
|
-(void) addSeparatorWithMinYMargin: (float)aMargin;
|
||
|
|
||
|
//
|
||
|
// Setting Margins.
|
||
|
//
|
||
|
-(void) setDefaultMinYMargin: (float)aMargin;
|
||
|
|
||
|
//
|
||
|
// Minimum Size.
|
||
|
//
|
||
|
|
||
|
// Inherited from GSTable Class:
|
||
|
// -(NSSize) minimumSize;
|
||
|
|
||
|
//
|
||
|
// Resizing.
|
||
|
//
|
||
|
|
||
|
// Inherited from GSTable Class:
|
||
|
// -(void) sizeToFit;
|
||
|
|
||
|
//
|
||
|
// Getting Number of Views
|
||
|
//
|
||
|
-(int) numberOfViews;
|
||
|
@end
|
||
|
|
||
|
#endif /* _GNUstep_H_GSVbox */
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|