mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Renamed all ivars and added some new MacOSX methods. Added two new
unsupported NSTabViewType values. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11307 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3f3d0d7d79
commit
3ae66416e4
1 changed files with 21 additions and 9 deletions
|
@ -28,13 +28,17 @@
|
|||
#define _GNUstep_H_NSTabView
|
||||
|
||||
#include <AppKit/NSView.h>
|
||||
#include <AppKit/NSColor.h>
|
||||
#include <AppKit/NSCell.h>
|
||||
|
||||
typedef enum {
|
||||
NSTopTabsBezelBorder,
|
||||
NSBottomTabsBezelBorder,
|
||||
NSNoTabsBezelBorder,
|
||||
NSNoTabsLineBorder,
|
||||
NSNoTabsNoBorder
|
||||
NSNoTabsNoBorder,
|
||||
NSLeftTabsBezelBorder,
|
||||
NSRightTabsBezelBorder
|
||||
} NSTabViewType;
|
||||
|
||||
@class NSFont;
|
||||
|
@ -42,14 +46,14 @@ typedef enum {
|
|||
|
||||
@interface NSTabView : NSView <NSCoding>
|
||||
{
|
||||
NSMutableArray *tab_items;
|
||||
NSFont *tab_font;
|
||||
NSTabViewType tab_type;
|
||||
NSTabViewItem *tab_selected;
|
||||
BOOL tab_draws_background;
|
||||
BOOL tab_truncated_label;
|
||||
id tab_delegate;
|
||||
int tab_selected_item;
|
||||
NSMutableArray *_items;
|
||||
NSFont *_font;
|
||||
NSTabViewType _type;
|
||||
NSTabViewItem *_selected;
|
||||
BOOL _draws_background;
|
||||
BOOL _truncated_label;
|
||||
id _delegate;
|
||||
int _selected_item;
|
||||
}
|
||||
- (void)addTabViewItem:(NSTabViewItem *)tabViewItem;
|
||||
- (void)insertTabViewItem:(NSTabViewItem *)tabViewItem
|
||||
|
@ -89,6 +93,14 @@ typedef enum {
|
|||
- (NSRect)contentRect;
|
||||
|
||||
- (NSTabViewItem *)tabViewItemAtPoint:(NSPoint)point;
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
- (NSControlSize)controlSize;
|
||||
- (NSControlTint)controlTint;
|
||||
- (void)setControlSize:(NSControlSize)controlSize;
|
||||
- (void)setControlTint:(NSControlTint)controlTint;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
@interface NSObject(NSTabViewDelegate)
|
||||
|
|
Loading…
Reference in a new issue