mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +00:00
Defined additional window masks. Removed all unneeded ivars and
replaced the others by the superclass additional flags. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10999 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ee22454665
commit
ccf62d14f7
1 changed files with 10 additions and 18 deletions
|
@ -33,6 +33,11 @@
|
|||
|
||||
@class NSString;
|
||||
|
||||
enum {
|
||||
NSUtilityWindowMask = 16,
|
||||
NSDocModalWindowMask = 32
|
||||
};
|
||||
|
||||
enum {
|
||||
NSOKButton = 1,
|
||||
NSCancelButton = 0
|
||||
|
@ -57,19 +62,12 @@ enum {
|
|||
#define NS_ALERTERROR NSAlertErrorReturn
|
||||
#endif
|
||||
|
||||
@interface NSPanel : NSWindow <NSCoding>
|
||||
@interface NSPanel : NSWindow
|
||||
{
|
||||
// Attributes
|
||||
BOOL _becomesKeyOnlyIfNeeded;
|
||||
BOOL _isFloatingPanel;
|
||||
BOOL _worksWhenModal;
|
||||
id file_name;
|
||||
id directory;
|
||||
id panel_title;
|
||||
id accessory_view;
|
||||
id required_type;
|
||||
id panel_prompt;
|
||||
id file_package;
|
||||
// Think of the following as BOOL ivars
|
||||
#define _becomesKeyOnlyIfNeeded _f.subclass_bool_one
|
||||
#define _isFloatingPanel _f.subclass_bool_two
|
||||
#define _worksWhenModal _f.subclass_bool_three
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -82,12 +80,6 @@ enum {
|
|||
- (void)setWorksWhenModal:(BOOL)flag;
|
||||
- (BOOL)worksWhenModal;
|
||||
|
||||
//
|
||||
// NSCoding protocol
|
||||
//
|
||||
- (void)encodeWithCoder:aCoder;
|
||||
- initWithCoder:aDecoder;
|
||||
|
||||
@end
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue