1 /* 2 GormViewKnobs.h 3 4 Copyright (C) 1999 Free Software Foundation, Inc. 5 6 Author: Gregory John Casamento 7 Date: 2004 8 9 This file is part of the GNUstep Interface Modeller Application. 10 11 This library is free software; you can redistribute it and/or 12 modify it under the terms of the GNU Library General Public 13 License as published by the Free Software Foundation; either 14 version 3 of the License, or (at your option) any later version. 15 16 This library is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 Library General Public License for more details. 20 21 You should have received a copy of the GNU Library General Public 22 License along with this library; see the file COPYING.LIB. 23 If not, write to the Free Software Foundation, 24 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 25 */ 26 27 #ifndef INCLUDED_GormViewKnobs_h 28 #define INCLUDED_GormViewKnobs_h 29 30 #include <Foundation/Foundation.h> 31 #include <AppKit/AppKit.h> 32 #include <InterfaceBuilder/InterfaceBuilder.h> 33 34 void 35 GormShowFastKnobFills(void); 36 37 void 38 GormShowFrameWithKnob(NSRect aRect, IBKnobPosition aKnob); 39 40 void 41 GormDrawKnobsForRect(NSRect aRect); 42 43 void 44 GormDrawOpenKnobsForRect(NSRect aRect); 45 46 IBKnobPosition 47 GormKnobHitInRect(NSRect aFrame, NSPoint p); 48 49 NSRect 50 GormExtBoundsForRect(NSRect aRect); 51 52 #endif 53