mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:50:37 +00:00
* Headers/Additions/GNUstepGUI/GSTheme.h: Add category to allow
overriding of classes used for save/open panels. * Source/GNUmakefile: Build new category. * Source/GSThemeOpenSavePanels.m: Implementation of methods -savePanelClass and -openPanelClass. * Source/NSOpenPanel.m: Modifications to use class from current theme. * Source/NSSavePanel.m: Modifications to use class from current theme. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29791 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
694c273aee
commit
cc37831c44
6 changed files with 80 additions and 4 deletions
|
@ -1064,9 +1064,16 @@ withRepeatedImage: (NSImage*)image
|
|||
|
||||
@interface GSTheme (OpenSavePanels)
|
||||
/**
|
||||
* This method displays and returns the open panel needed by the
|
||||
* This method returns the open panel class needed by the
|
||||
* native environment.
|
||||
*/
|
||||
- (Class) openPanelClass;
|
||||
|
||||
/**
|
||||
* This method returns the open panel class needed by the
|
||||
* native environment.
|
||||
*/
|
||||
- (Class) savePanelClass;
|
||||
@end
|
||||
|
||||
#endif /* OS_API_VERSION */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue