mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Merge branch 'master' into NSStoryboard_branch2
This commit is contained in:
commit
a1776f21da
5 changed files with 18 additions and 4 deletions
|
@ -55,7 +55,7 @@ extern "C" {
|
|||
- (NSArray *) tagNames;
|
||||
|
||||
- (NSPaperOrientation) orientation;
|
||||
- (void) setOrientation: (NSPaperOrientation)or;
|
||||
- (void) setOrientation: (NSPaperOrientation)orientation;
|
||||
|
||||
- (NSSize) paperSize;
|
||||
- (void) setPaperSize: (NSSize)size;
|
||||
|
|
|
@ -57,7 +57,7 @@ extern "C" {
|
|||
@end
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GS_API_MACOSX */
|
||||
|
|
|
@ -528,6 +528,7 @@ PACKAGE_SCOPE
|
|||
- (void) orderWindow: (NSWindowOrderingMode)place
|
||||
relativeTo: (NSInteger)otherWin;
|
||||
- (BOOL) isVisible;
|
||||
- (void) setIsVisible: (BOOL)flag;
|
||||
- (NSInteger) level;
|
||||
- (void) setLevel: (NSInteger)newLevel;
|
||||
|
||||
|
|
|
@ -76,9 +76,9 @@
|
|||
return _orientation;
|
||||
}
|
||||
|
||||
- (void) setOrientation: (NSPaperOrientation)or
|
||||
- (void) setOrientation: (NSPaperOrientation)orientation
|
||||
{
|
||||
_orientation = or;
|
||||
_orientation = orientation;
|
||||
}
|
||||
|
||||
- (NSSize) paperSize;
|
||||
|
|
|
@ -1720,6 +1720,19 @@ titleWithRepresentedFilename(NSString *representedFilename)
|
|||
return _windowLevel;
|
||||
}
|
||||
|
||||
- (void) setIsVisible: (BOOL)flag
|
||||
{
|
||||
_f.visible = flag;
|
||||
if (flag)
|
||||
{
|
||||
[self orderFrontRegardless];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self orderOut: nil];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) makeKeyAndOrderFront: (id)sender
|
||||
{
|
||||
[self deminiaturize: self];
|
||||
|
|
Loading…
Reference in a new issue