mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-19 10:00:48 +00:00
PCButton.m([initWitCoder]): add [_cell setImageDimsWhenDisabled:YES]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24382 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7fb3796a38
commit
f24d40c2d3
6 changed files with 52 additions and 44 deletions
|
@ -2,14 +2,15 @@
|
|||
"## Comment" = "Do NOT change this file, Gorm maintains it";
|
||||
FirstResponder = {
|
||||
Actions = (
|
||||
"startInstall:",
|
||||
"showOptionsPanel:",
|
||||
"showFindView:",
|
||||
"showProjectBuild:",
|
||||
"showProjectInspector:",
|
||||
"showProjectLaunch:",
|
||||
"showProjectLoadedFiles:",
|
||||
"startBuild:",
|
||||
"startClean:"
|
||||
"startClean:",
|
||||
"startInstall:"
|
||||
);
|
||||
Super = NSObject;
|
||||
};
|
||||
|
@ -24,7 +25,8 @@
|
|||
Actions = (
|
||||
"startInstall:",
|
||||
"startBuild:",
|
||||
"startClean:"
|
||||
"startClean:",
|
||||
"showOptionsPanel:"
|
||||
);
|
||||
Outlets = (
|
||||
buildButton,
|
||||
|
|
Binary file not shown.
|
@ -40,6 +40,7 @@
|
|||
// self = [super initWithFrame:frameRect];
|
||||
self = [super initWithCoder:coder];
|
||||
[_cell setGradientType:NSGradientConvexWeak];
|
||||
[_cell setImageDimsWhenDisabled:YES];
|
||||
[self setImagePosition:NSImageOnly];
|
||||
[self setFont:[NSFont systemFontOfSize:10.0]];
|
||||
[self setRefusesFirstResponder:YES];
|
||||
|
|
|
@ -129,13 +129,6 @@ if (__value != __object) \
|
|||
#define TARGET_MAKE_CLEAN @"MakeClean"
|
||||
#define TARGET_MAKE_RPM @"MakeRPM"
|
||||
|
||||
#define BUILD_TAG 0
|
||||
#define LAUNCH_TAG 1
|
||||
#define EDITOR_TAG 2
|
||||
#define FILES_TAG 3
|
||||
#define FIND_TAG 4
|
||||
#define INSPECTOR_TAG 5
|
||||
|
||||
//=============================================================================
|
||||
// ==== Not used yet
|
||||
//=============================================================================
|
||||
|
@ -164,6 +157,8 @@ typedef int PCProjInfoBits;
|
|||
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
static NSString * const PCLastEditing = @"LAST_EDITING";
|
||||
|
||||
static NSString * const PCClasses = @"CLASS_FILES";
|
||||
static NSString * const PCHeaders = @"HEADER_FILES";
|
||||
static NSString * const PCOtherSources = @"OTHER_SOURCES";
|
||||
|
@ -186,7 +181,6 @@ static NSString * const PCPreprocessorOptions = @"CPPOPTIONS";
|
|||
static NSString * const PCCreationDate = @"CREATION_DATE";
|
||||
static NSString * const PCInstallDir = @"INSTALLDIR";
|
||||
static NSString * const PCLinkerOptions = @"LINKEROPTIONS";
|
||||
static NSString * const PCLastEditing = @"LAST_EDITING";
|
||||
static NSString * const PCObjCCompilerOptions = @"OBJC_COMPILEROPTIONS";
|
||||
static NSString * const PCPrincipalClass = @"PRINCIPAL_CLASS";
|
||||
static NSString * const PCAuthors = @"PROJECT_AUTHORS";
|
||||
|
@ -206,6 +200,15 @@ static NSString * const PCURL = @"PROJECT_URL";
|
|||
static NSString * const PCSearchHeaders = @"SEARCH_HEADER_DIRS";
|
||||
static NSString * const PCSearchLibs = @"SEARCH_LIB_DIRS";
|
||||
|
||||
// Project Builder options
|
||||
static NSString * const PCBuilderOptions = @"BUILDER_OPTIONS";
|
||||
static NSString * const PCBuilderTarget = @"BUILDER_TARGET";
|
||||
static NSString * const PCBuilderArguments = @"BUILDER_ARGS";
|
||||
static NSString * const PCBuilderDebug = @"BUILDER_DEBUG";
|
||||
static NSString * const PCBuilderProfile = @"BUILDER_PROFILE";
|
||||
static NSString * const PCBuilderVerboseMake = @"BUILDER_VERBOSE_MAKE";
|
||||
static NSString * const PCBuilderSharedLibs = @"BUILDER_SHARED_LIBS";
|
||||
|
||||
// Application specific
|
||||
static NSString * const PCAppIcon = @"APPLICATIONICON";
|
||||
static NSString * const PCMainInterfaceFile = @"MAININTERFACE";
|
||||
|
@ -226,7 +229,7 @@ static NSString * const PCToolIcon = @"TOOLICON";
|
|||
static NSString * const PCPackageName = @"PACKAGE_NAME";
|
||||
static NSString * const PCLibraryVar = @"LIBRARY_VAR";
|
||||
|
||||
// Will be removed
|
||||
// Will be removed (compatibility)
|
||||
static NSString * const PCProjectBuilderClass = @"PROJECT_BUILDER";
|
||||
|
||||
#endif // _PCDEFINES_H_
|
||||
|
|
|
@ -108,6 +108,8 @@
|
|||
|| [[fileName pathExtension] isEqualToString:@"project"] == YES)
|
||||
{
|
||||
[projectManager openProjectAt:fileName];
|
||||
[[[projectManager activeProject] projectWindow]
|
||||
makeKeyAndOrderFront:self];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue