Toolbar improvements, include validation, border, memory leaks, selected item

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19390 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Quentin Mathe 2004-05-23 18:22:45 +00:00
parent 3963927f9c
commit 031f8b56bc
9 changed files with 778 additions and 111 deletions

View file

@ -52,9 +52,9 @@ enum {
};
typedef enum {
_ToolbarViewDefaultHeight = 61,
_ToolbarViewRegularHeight = 61,
_ToolbarViewSmallHeight = 51
_ToolbarViewDefaultHeight = 62,
_ToolbarViewRegularHeight = 62,
_ToolbarViewSmallHeight = 52
} _ToolbarViewHeight;
typedef enum {
@ -88,6 +88,7 @@ static const int _ClippedItemsViewWidth = 28;
unsigned int _borderMask;
NSToolbarDisplayMode _displayMode;
NSToolbarSizeMode _sizeMode;
NSRect _rectAvailable;
unsigned int _heightFromLayout;
}
@ -105,12 +106,9 @@ static const int _ClippedItemsViewWidth = 28;
@end
// Toolbar related NSColor methods
@interface NSColor (Extensions)
+ (NSColor *) toolbarBackgroundColor;
+ (NSColor *) toolbarBorderColor;
@end
#endif