From c80417c43374e42ac69f52ca5e59cab75ef2ddd6 Mon Sep 17 00:00:00 2001 From: Ilya Kulakov Date: Mon, 25 Jun 2012 13:36:20 +0700 Subject: [PATCH] Add highlightsBy method that returns current higlightsBy mask. --- AppKit/CPButton.j | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppKit/CPButton.j b/AppKit/CPButton.j index f40fbdf75..803cfc6d2 100644 --- a/AppKit/CPButton.j +++ b/AppKit/CPButton.j @@ -404,6 +404,11 @@ CPButtonImageOffset = 3.0; } } +- (CPInteger)highlightsBy +{ + return _highlightsBy; +} + - (void)setButtonType:(CPButtonType)aButtonType { switch (aButtonType)