mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:07:39 +00:00
NSSegmentedCell themeing support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29435 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b53c941c37
commit
e6c79f2fb8
7 changed files with 115 additions and 9 deletions
|
@ -224,6 +224,8 @@
|
|||
#include <AppKit/NSImageCell.h>
|
||||
// For scroller constants
|
||||
#include <AppKit/NSScroller.h>
|
||||
// For segmented control style constants
|
||||
#include <AppKit/NSSegmentedControl.h>
|
||||
|
||||
#if OS_API_VERSION(GS_API_NONE,GS_API_NONE)
|
||||
@class NSArray;
|
||||
|
@ -823,6 +825,16 @@ APPKIT_EXPORT NSString *GSThemeWillDeactivateNotification;
|
|||
*/
|
||||
- (void) drawStepperHighlightDownButton: (NSRect)aRect;
|
||||
|
||||
// NSSegmentedControl drawing methods
|
||||
|
||||
- (void) drawSegmentedControlSegment: (NSCell *)cell
|
||||
withFrame: (NSRect)cellFrame
|
||||
inView: (NSView *)controlView
|
||||
style: (NSSegmentStyle)style
|
||||
state: (GSThemeControlState)state
|
||||
roundedLeft: (BOOL)roundedLeft
|
||||
roundedRight: (BOOL)roundedRight;
|
||||
|
||||
/**
|
||||
* In some themes it may be necessary to override the drawing
|
||||
* of an image a button cell and replace it with a rendered
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue