mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:07:39 +00:00
merge in themes branch to keep in sync
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23705 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c8e6566831
commit
c033d17a2d
13 changed files with 1446 additions and 372 deletions
|
@ -30,11 +30,13 @@
|
|||
#include "AppKit/NSFont.h"
|
||||
#include "AppKit/NSImage.h"
|
||||
#include "AppKit/NSTextField.h"
|
||||
#include "GNUstepGUI/GSInfoPanel.h"
|
||||
#include <Foundation/NSBundle.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSProcessInfo.h>
|
||||
#include "GNUstepGUI/GSInfoPanel.h"
|
||||
#include "GNUstepGUI/GSTheme.h"
|
||||
|
||||
|
||||
static id
|
||||
value_from_info_plist_for_key (NSString *key)
|
||||
|
@ -156,7 +158,7 @@ new_label (NSString *value)
|
|||
}
|
||||
}
|
||||
|
||||
-(id) initWithDictionary: (NSDictionary *)dictionary;
|
||||
- (id) initWithDictionary: (NSDictionary *)dictionary;
|
||||
{
|
||||
/* Info to show */
|
||||
NSString *name = nil;
|
||||
|
@ -593,4 +595,15 @@ new_label (NSString *value)
|
|||
[self center];
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void) mouseDown: (NSEvent*)theEvent
|
||||
{
|
||||
/*
|
||||
* Mouse down on window background ... we could do different things in
|
||||
* different regions of the window, but for now we just use this to
|
||||
* activate the theme panel.
|
||||
*/
|
||||
[GSTheme orderFrontSharedThemePanel: self];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue