mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:20:38 +00:00
NSDockTile - Implement methods to update the icon and show badge (#185)
NSDockTile - Implement methods to update the icon and show badge using a NSCustomImageRep. Link the NSDockTile view with the AppIcon window contentView. GSTheme - add badgeColor color and corresponding methods to theme background, decoration and text color
This commit is contained in:
parent
a34867faee
commit
f2b79365f4
6 changed files with 196 additions and 15 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
<abstract>Useful/configurable drawing functions</abstract>
|
||||
|
||||
Copyright (C) 2004-2006 Free Software Foundation, Inc.
|
||||
Copyright (C) 2004-2023 Free Software Foundation, Inc.
|
||||
|
||||
Author: Adam Fedor <fedor@gnu.org>
|
||||
Author: Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNUstep
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
|
@ -1328,6 +1328,12 @@ APPKIT_EXPORT_CLASS
|
|||
boxType: (NSBoxType)boxType
|
||||
borderType: (NSBorderType)borderType
|
||||
inView: (NSBox *)box;
|
||||
|
||||
/* NSDockTile */
|
||||
- (NSColor *) badgeBackgroundColor;
|
||||
- (NSColor *) badgeDecorationColor;
|
||||
- (NSColor *) badgeTextColor;
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue