Back to index

texmacs  1.0.7.15
TMButtonsController.h
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : TMButtonsController.h
00004 * DESCRIPTION: Controller for the widget bar
00005 * COPYRIGHT  : (C) 2007  Massimiliano Gubinelli
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #import <Cocoa/Cocoa.h>
00013 
00014 @interface TMButtonsController : NSObject {
00015        NSMutableArray *menuArray;
00016        NSMutableArray *barArray;
00017        NSView *view;
00018        IBOutlet  NSSegmentedControl *prototype;
00019 }
00020 - (void) setMenu:(NSMenu *)menu forRow:(unsigned) idx;
00021 - (void) layout;
00022 - (NSView*) bar;
00023 //- (void) buttonsAction:(NSMatrix*) mat;
00024 - (NSSegmentedControl*) newSegment;
00025 
00026 @end