mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +00:00
Added some MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11212 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8409642d2f
commit
e5249cfa0c
1 changed files with 9 additions and 3 deletions
|
@ -31,6 +31,7 @@
|
|||
#define _GNUstep_H_NSScroller
|
||||
|
||||
#include <AppKit/NSControl.h>
|
||||
#include <AppKit/NSCell.h>
|
||||
|
||||
@class NSEvent;
|
||||
|
||||
|
@ -98,6 +99,7 @@ typedef enum _NSScrollerArrow {
|
|||
- (void)drawKnobSlot;
|
||||
- (void)drawKnob;
|
||||
- (void)drawParts;
|
||||
- (void)highlight:(BOOL)flag;
|
||||
|
||||
//
|
||||
// Handling Events
|
||||
|
@ -107,9 +109,13 @@ typedef enum _NSScrollerArrow {
|
|||
- (void)trackKnob:(NSEvent *)theEvent;
|
||||
- (void)trackScrollButtons:(NSEvent *)theEvent;
|
||||
|
||||
// Other methods
|
||||
- (void)setFrameSize:(NSSize)size;
|
||||
- (void)setEnabled:(BOOL)flag;
|
||||
#ifndef STRICT_OPENSTEP
|
||||
+ (float)scrollerWidthForControlSize:(NSControlSize)controlSize;
|
||||
- (void)setControlSize:(NSControlSize)controlSize;
|
||||
- (NSControlSize)controlSize;
|
||||
- (void)setControlTint:(NSControlTint)controlTint;
|
||||
- (NSControlTint)controlTint;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue