mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:50:48 +00:00
Header files reorganized. All the definitions were moved in appropiate files.
Each header file includes only the header files it needs and it uses @class to forward reference a class. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2189 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8c3afd9724
commit
d5fd123408
151 changed files with 2718 additions and 3068 deletions
|
@ -26,15 +26,17 @@
|
|||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <gnustep/gui/NSText.h>
|
||||
#include <gnustep/gui/NSApplication.h>
|
||||
#include <gnustep/gui/NSWindow.h>
|
||||
#include <gnustep/gui/NSFontPanel.h>
|
||||
#include <AppKit/NSText.h>
|
||||
#include <AppKit/NSApplication.h>
|
||||
#include <AppKit/NSWindow.h>
|
||||
#include <AppKit/NSFontPanel.h>
|
||||
#include <AppKit/NSFont.h>
|
||||
#include <AppKit/NSColor.h>
|
||||
|
||||
// NSText notifications
|
||||
NSString *NSTextDidBeginEditingNotification;
|
||||
NSString *NSTextDidEndEditingNotification;
|
||||
NSString *NSTextDidChangeNotification;
|
||||
NSString *NSTextDidBeginEditingNotification = @"NSTextDidBeginEditingNotification";
|
||||
NSString *NSTextDidEndEditingNotification = @"NSTextDidEndEditingNotification";
|
||||
NSString *NSTextDidChangeNotification = @"NSTextDidChangeNotification";
|
||||
|
||||
//
|
||||
// NSText implementation
|
||||
|
@ -530,7 +532,11 @@ NSString *NSTextDidChangeNotification;
|
|||
{
|
||||
[super encodeWithCoder:aCoder];
|
||||
|
||||
#if 0
|
||||
[aCoder encodeObjectReference: delegate withName: @"Delegate"];
|
||||
#else
|
||||
[aCoder encodeConditionalObject:delegate];
|
||||
#endif
|
||||
[aCoder encodeObject: text_contents];
|
||||
[aCoder encodeValueOfObjCType: "I" at: &alignment];
|
||||
[aCoder encodeValueOfObjCType: @encode(BOOL) at: &is_editable];
|
||||
|
@ -552,7 +558,11 @@ NSString *NSTextDidChangeNotification;
|
|||
{
|
||||
[super initWithCoder:aDecoder];
|
||||
|
||||
#if 0
|
||||
[aDecoder decodeObjectAt: &delegate withName: NULL];
|
||||
#else
|
||||
delegate = [aDecoder decodeObject];
|
||||
#endif
|
||||
text_contents = [aDecoder decodeObject];
|
||||
[aDecoder decodeValueOfObjCType: "I" at: &alignment];
|
||||
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &is_editable];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue