mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 17:52:42 +00:00
Removed some compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18329 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0ceb993ba0
commit
4e578145fe
6 changed files with 15 additions and 80 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2003-01-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/Additions/GNUstepGUI/GSHbox.h:
|
||||
* Headers/Additions/GNUstepGUI/GSVbox.h:
|
||||
Cleaned up to remove compiler warnings.
|
||||
* Source/NSDataLinkPanel.m: Added include of GSGuiPrivate.h to
|
||||
remove compiler warning.
|
||||
* Source/NSPrintInfo.m: Removed unused global paperSizes.
|
||||
* Source/NSScroller.m: (-trackKnob:) Initialise presentEvent.
|
||||
|
||||
2004-01-06 23:39 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSSpellServer.m: Documentation.
|
||||
|
|
|
@ -178,29 +178,6 @@
|
|||
when you initialize it.
|
||||
*/
|
||||
-(id) init;
|
||||
//
|
||||
// Setting Border.
|
||||
//
|
||||
|
||||
/** Set the spacing around the table.
|
||||
Changing the border will update immediately the box.
|
||||
The default border is zero.
|
||||
|
||||
Inherited from GSTable Class:
|
||||
To have the same border on the four sides use:
|
||||
*/
|
||||
-(void) setBorder: (float)aBorder;
|
||||
|
||||
/** Set borders in the horizontal direction. */
|
||||
-(void) setXBorder: (float)aBorder;
|
||||
/** Set borders in the vertical direction. */
|
||||
-(void) setYBorder: (float)aBorder;
|
||||
|
||||
-(void) setMinXBorder: (float)aBorder;
|
||||
-(void) setMaxXBorder: (float)aBorder;
|
||||
-(void) setMinYBorder: (float)aBorder;
|
||||
-(void) setMaxYBorder: (float)aBorder;
|
||||
|
||||
|
||||
//
|
||||
// Adding a View.
|
||||
|
@ -296,32 +273,11 @@ between the separator and the last added view.
|
|||
In a GSHbox, only one margin is used, the one between each view
|
||||
and the preceding one. If what you want is space around the GSHbox,
|
||||
you don't want a margin but a border; use setBorder:
|
||||
(see above, "Setting Border").
|
||||
(see GSTable, "Setting Border").
|
||||
If you need more complicated margins/borders, use GSTable.
|
||||
*/
|
||||
-(void) setDefaultMinXMargin: (float)aMargin;
|
||||
|
||||
//
|
||||
// Minimum Size.
|
||||
//
|
||||
|
||||
/** This returns the minimum size the GSHbox should be resized to.
|
||||
Trying to resize the GSHbox below this size will only result in clipping
|
||||
(ie, making it disappear) part of the GSHbox.
|
||||
Inherited from GSTable Class:
|
||||
*/
|
||||
-(NSSize) minimumSize;
|
||||
|
||||
//
|
||||
// Resizing.
|
||||
//
|
||||
|
||||
/** If for any reason you need the GSHbox to revert to its minimum size,
|
||||
invoke the following.
|
||||
Inherited from GSTable Class:
|
||||
*/
|
||||
-(void) sizeToFit;
|
||||
|
||||
//
|
||||
// Getting Number of Views
|
||||
//
|
||||
|
|
|
@ -59,19 +59,6 @@
|
|||
//
|
||||
-(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.
|
||||
//
|
||||
|
@ -103,21 +90,8 @@ enablingYResizing: (BOOL)aFlag
|
|||
// Setting Margins.
|
||||
//
|
||||
|
||||
//-(void) setDefaultMinYMargin: (float)aMargin;
|
||||
|
||||
//
|
||||
// Minimum Size.
|
||||
//
|
||||
|
||||
// Inherited from GSTable Class:
|
||||
// -(NSSize) minimumSize;
|
||||
|
||||
//
|
||||
// Resizing.
|
||||
//
|
||||
|
||||
// Inherited from GSTable Class:
|
||||
// -(void) sizeToFit;
|
||||
/** See the documentation for GSHbox */
|
||||
-(void) setDefaultMinYMargin: (float)aMargin;
|
||||
|
||||
//
|
||||
// Getting Number of Views
|
||||
|
@ -127,8 +101,3 @@ enablingYResizing: (BOOL)aFlag
|
|||
@end
|
||||
|
||||
#endif /* _GNUstep_H_GSVbox */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "config.h"
|
||||
#include "AppKit/NSDataLinkPanel.h"
|
||||
#include "AppKit/NSNibLoading.h"
|
||||
#include "GSGuiPrivate.h"
|
||||
|
||||
static NSDataLinkPanel *__sharedDataLinkPanel;
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
// Class variables:
|
||||
static NSPrintInfo *sharedPrintInfoObject = nil;
|
||||
static NSMutableDictionary *printInfoDefaults = nil;
|
||||
static NSDictionary *paperSizes = nil;
|
||||
|
||||
@interface NSPrintInfo (private)
|
||||
+ initPrintInfoDefaults;
|
||||
|
|
|
@ -591,7 +591,7 @@ static NSColor *scrollBarColor = nil;
|
|||
float floatValue;
|
||||
float offset;
|
||||
float initialOffset;
|
||||
NSEvent *presentEvent;
|
||||
NSEvent *presentEvent = theEvent;
|
||||
NSEventType eventType = [theEvent type];
|
||||
NSRect knobRect;
|
||||
unsigned flags = [theEvent modifierFlags];
|
||||
|
|
Loading…
Reference in a new issue