From 6a3efdf3909ed144bea928d770c44a5a59a2f15b Mon Sep 17 00:00:00 2001 From: nico Date: Sat, 8 Jan 2000 02:26:45 +0000 Subject: [PATCH] Prefixed ivars with underscores; added explicatory comment git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5701 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/gui/NSColorList.h | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Headers/gnustep/gui/NSColorList.h b/Headers/gnustep/gui/NSColorList.h index 8f133229a..9afc1371e 100644 --- a/Headers/gnustep/gui/NSColorList.h +++ b/Headers/gnustep/gui/NSColorList.h @@ -7,6 +7,8 @@ Author: Scott Christley Date: 1996 + Author: Nicola Pero + Date: 2000 This file is part of the GNUstep GUI Library. @@ -42,12 +44,18 @@ @interface NSColorList : NSObject { - // Attributes - NSString *list_name; - NSString *file_name; - NSMutableDictionary *color_list; - NSMutableArray *color_list_keys; - BOOL is_editable; + NSString* _name; + NSString* _fullFileName; + BOOL _is_editable; + + // Color Lists are required to be a sort of ordered dictionary + // For now it is implemented as follows (Scott Christley, 1996): + + // This object contains couples (keys (=color names), values (=colors)) + NSMutableDictionary* _colorDictionary; + + // This object contains the keys (=color names) in order + NSMutableArray* _orderedColorKeys; } //