mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 23:50:37 +00:00
Stripped down version of the toolbar customization
branch by Quentin Mathe <qmathe@club-internet.fr>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27835 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
570b8a4963
commit
1be0d6ca24
11 changed files with 530 additions and 68 deletions
58
Source/GSToolbarCustomizationPalette.h
Normal file
58
Source/GSToolbarCustomizationPalette.h
Normal file
|
@ -0,0 +1,58 @@
|
|||
/*
|
||||
GSToolbarCustomizationPalette.h
|
||||
|
||||
The palette which allows to customize toolbar
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
|
||||
Author: Quentin Mathe <qmathe@club-internet.fr>
|
||||
Date: January 2007
|
||||
|
||||
This file is part of the GNUstep GUI Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; see the file COPYING.LIB.
|
||||
If not, write to the Free Software Foundation,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef _GNUstep_H_GSToolbarCustomizationPalette
|
||||
#define _GNUstep_H_GSToolbarCustomizationPalette
|
||||
|
||||
#include <Foundation/NSObject.h>
|
||||
|
||||
@class NSMutableArray;
|
||||
@class NSToolbar;
|
||||
|
||||
|
||||
@interface GSToolbarCustomizationPalette : NSObject
|
||||
{
|
||||
id _customizationWindow;
|
||||
id _customizationView;
|
||||
id _defaultTemplateView;
|
||||
id _sizeCheckBox;
|
||||
id _displayPopup;
|
||||
id _doneButton;
|
||||
|
||||
NSMutableArray *_allowedItems;
|
||||
NSMutableArray *_defaultItems;
|
||||
NSToolbar *_toolbar;
|
||||
}
|
||||
|
||||
+ (id) palette;
|
||||
|
||||
- (void) showForToolbar: (NSToolbar *)toolbar;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* _GNUstep_H_GSToolbarCustomizationPalette */
|
Loading…
Add table
Add a link
Reference in a new issue