Added color customization to the toolbar and first part of the validation support

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19372 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Quentin Mathe 2004-05-18 19:35:58 +00:00
parent 43997f992f
commit 3963927f9c
4 changed files with 239 additions and 68 deletions

View file

@ -31,16 +31,16 @@
#ifndef _GSToolbarView_h_INCLUDE
#define _GSToolbarView_h_INCLUDE
#include <Foundation/NSObject.h>
#include <Foundation/NSGeometry.h>
#include <AppKit/NSView.h>
#include <AppKit/NSColor.h>
#include "GNUstepGUI/GSToolbar.h"
// Necessary for NSToolbarDisplayMode and NSToolbarSizeMode
@class NSMutableArray;
@class NSToolbarItem;
@class NSClipView;
@class NSToolbarItem;
@class GSToolbarClippedItemsButton;
enum {
@ -104,4 +104,13 @@ static const int _ClippedItemsViewWidth = 28;
@end
// Toolbar related NSColor methods
@interface NSColor (Extensions)
+ (NSColor *) toolbarBackgroundColor;
+ (NSColor *) toolbarBorderColor;
@end
#endif