mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 20:57:38 +00:00
Removed ivars mcell_highlighted and mcell_has_submenu.
Renamed all ivars. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10829 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fbcb65fafd
commit
858ba8fb73
1 changed files with 11 additions and 16 deletions
|
@ -37,22 +37,20 @@ typedef void (*DrawingIMP)(id, SEL, NSRect, NSView*);
|
|||
|
||||
@interface NSMenuItemCell : NSButtonCell <NSCopying, NSCoding>
|
||||
{
|
||||
BOOL mcell_highlighted;
|
||||
BOOL mcell_has_submenu;
|
||||
NSMenuItem *mcell_item;
|
||||
NSMenuView *mcell_menuView;
|
||||
NSMenuItem *_menuItem;
|
||||
NSMenuView *_menuView;
|
||||
|
||||
// Cache
|
||||
BOOL mcell_needs_sizing;
|
||||
float mcell_imageWidth;
|
||||
float mcell_titleWidth;
|
||||
float mcell_keyEquivalentWidth;
|
||||
float mcell_stateImageWidth;
|
||||
float mcell_menuItemHeight;
|
||||
BOOL _needs_sizing;
|
||||
float _imageWidth;
|
||||
float _titleWidth;
|
||||
float _keyEquivalentWidth;
|
||||
float _stateImageWidth;
|
||||
float _menuItemHeight;
|
||||
|
||||
NSImage *mcell_imageToDisplay;
|
||||
NSString *mcell_titleToDisplay;
|
||||
NSSize mcell_imageSize;
|
||||
NSImage *_imageToDisplay;
|
||||
NSString *_titleToDisplay;
|
||||
NSSize _imageSize;
|
||||
|
||||
/* If we belong to a popupbutton, we display image on the extreme
|
||||
right */
|
||||
|
@ -64,9 +62,6 @@ typedef void (*DrawingIMP)(id, SEL, NSRect, NSView*);
|
|||
|
||||
- (void)setHighlighted:(BOOL)flag;
|
||||
- (BOOL)isHighlighted;
|
||||
- (void)highlight:(BOOL)flag
|
||||
withFrame:(NSRect)cellFrame
|
||||
inView:(NSView*)controlView;
|
||||
|
||||
- (void)setMenuItem:(NSMenuItem *)item;
|
||||
- (NSMenuItem *)menuItem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue