mirror of
https://github.com/textmate/textmate.git
synced 2026-02-15 00:45:02 -05:00
19 lines
644 B
Objective-C
19 lines
644 B
Objective-C
struct BundleItemMenuItemAlignment
|
|
{
|
|
BundleItemMenuItemAlignment () : maxAlignmentWidth(0), maxRightWidth(0) {}
|
|
CGFloat maxAlignmentWidth;
|
|
CGFloat maxRightWidth;
|
|
};
|
|
|
|
@interface BundleItemMenuItem : NSMenuItem
|
|
{
|
|
BOOL hasRightPart;
|
|
}
|
|
+ (BundleItemMenuItem*)menuItemWithName:(std::string const&)name
|
|
keyEquivalent:(std::string const&)keyEquiv
|
|
tabTrigger:(std::string const&)tabTrigger
|
|
action:(SEL)action
|
|
alignmentData:(BundleItemMenuItemAlignment&)alignment;
|
|
- (void)updateAlignment:(BundleItemMenuItemAlignment&)alignment;
|
|
@end
|