1 /* 2 Project: Sudoku 3 KnobView.h 4 5 Copyright (C) 2007-2011 The Free Software Foundation, Inc 6 7 Author: Marko Riedel 8 9 This application is free software; you can redistribute it and/or 10 modify it under the terms of the GNU General Public 11 License as published by the Free Software Foundation; either 12 version 3 of the License, or (at your option) any later version. 13 14 This application is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 Library General Public License for more details. 18 19 You should have received a copy of the GNU General Public 20 License along with this library; if not, write to the Free 21 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 22 */ 23 24 #import <Foundation/Foundation.h> 25 #import <AppKit/NSView.h> 26 27 @interface KnobView : NSView 28 { 29 float percent; 30 } 31 32 - (float)percent; 33 - setPercent:(float)pval; 34 35 - (void)drawRect:(NSRect)aRect; 36 37 @end 38