diff --git a/PCLib/PCProject.h b/PCLib/PCProject.h index 49365b2..c8142a2 100644 --- a/PCLib/PCProject.h +++ b/PCLib/PCProject.h @@ -93,6 +93,9 @@ static NSString * const PCLibraryVar = @"LIBRARY_VAR"; id textView; + id filePopup; + id methodPopup; + id projectAttributeInspectorView; id projectProjectInspectorView; id projectFileInspectorView; diff --git a/PCLib/PCProject.m b/PCLib/PCProject.m index 13b4d0b..bc29764 100644 --- a/PCLib/PCProject.m +++ b/PCLib/PCProject.m @@ -162,6 +162,22 @@ [button setImage:IMAGE(@"ProjectCentre_find.tiff")]; [button setButtonType:NSMomentaryPushButton]; + /* + * Navigation popups + */ + + filePopup = [[[NSPopUpButton alloc] initWithFrame:NSMakeRect(348,334,200,20) + pullsDown:YES] autorelease]; + [filePopup addItemWithTitle:@"Visited files..."]; + [filePopup setAutoresizingMask: (NSViewWidthSizable | NSViewMinYMargin)]; + [_c_view addSubview:filePopup]; + + methodPopup = [[[NSPopUpButton alloc] initWithFrame:NSMakeRect(348,310,200,20) + pullsDown:YES] autorelease]; + [methodPopup addItemWithTitle:@"All methods"]; + [methodPopup setAutoresizingMask: (NSViewWidthSizable | NSViewMinYMargin)]; + [_c_view addSubview:methodPopup]; + /* * Build Options Panel * @@ -268,6 +284,9 @@ [projectPath release]; [projectDict release]; + [filePopup release]; + [methodPopup release]; + [browserController release]; [projectWindow release]; [buildTargetPanel release];