mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +00:00
Moved the method [NSApplication runPageLayout:] to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14404 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c996f959e8
commit
4f17c96dc2
2 changed files with 14 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
#ifndef _GNUstep_H_NSPageLayout
|
||||
#define _GNUstep_H_NSPageLayout
|
||||
|
||||
#include <AppKit/NSApplication.h>
|
||||
#include <AppKit/NSPanel.h>
|
||||
|
||||
@class NSPrintInfo;
|
||||
|
@ -45,6 +46,10 @@ enum {
|
|||
NSPLOKButton
|
||||
};
|
||||
|
||||
@interface NSApplication (NSPageLayout)
|
||||
- (void) runPageLayout: (id)sender;
|
||||
@end
|
||||
|
||||
@interface NSPageLayout : NSPanel
|
||||
{
|
||||
NSSize _size;
|
||||
|
|
|
@ -49,6 +49,15 @@ static NSPageLayout *shared_instance;
|
|||
|
||||
#define CONTROL(panel, name) [[panel contentView] viewWithTag: name]
|
||||
|
||||
@implementation NSApplication (NSPageLayout)
|
||||
|
||||
- (void) runPageLayout: sender
|
||||
{
|
||||
[[NSPageLayout pageLayout] runModal];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
<unit>
|
||||
<heading>NSPageLayout</heading>
|
||||
|
|
Loading…
Reference in a new issue