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