mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 03:10:47 +00:00
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:
parent
43997f992f
commit
3963927f9c
4 changed files with 239 additions and 68 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue