Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin-GUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yehaojie
plugin-GUI
Commits
89704eba
Commit
89704eba
authored
11 years ago
by
jsiegle
Browse files
Options
Downloads
Patches
Plain Diff
Add link to wiki in help menu
parent
7a263209
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/UI/UIComponent.cpp
+3
-25
3 additions, 25 deletions
Source/UI/UIComponent.cpp
with
3 additions
and
25 deletions
Source/UI/UIComponent.cpp
+
3
−
25
View file @
89704eba
...
...
@@ -71,13 +71,6 @@ UIComponent::UIComponent(MainWindow* mainWindow_, ProcessorGraph* pgraph, AudioC
setBounds
(
0
,
0
,
500
,
400
);
// std::cout << "Component width = " << getWidth() << std::endl;
// std::cout << "Component height = " << getHeight() << std::endl;
// std::cout << "UI component data viewport: " << dataViewport << std::endl;
// std::cout << "Finished UI stuff." << std::endl << std::endl << std::endl;
processorGraph
->
setUIComponent
(
this
);
processorList
->
setUIComponent
(
this
);
...
...
@@ -88,10 +81,6 @@ UIComponent::UIComponent(MainWindow* mainWindow_, ProcessorGraph* pgraph, AudioC
processorGraph
->
updatePointers
();
// needs to happen after processorGraph gets the right pointers
//processorGraph->sendActionMessage("Test.");
//processorGraph->loadState();
#if JUCE_MAC
MenuBarModel
::
setMacMainMenu
(
this
);
mainWindow
->
setMenuBar
(
0
);
...
...
@@ -99,13 +88,6 @@ UIComponent::UIComponent(MainWindow* mainWindow_, ProcessorGraph* pgraph, AudioC
mainWindow
->
setMenuBar
(
this
);
#endif
//getEditorViewport()->loadState(File("/home/jsiegle/Programming/GUI/Builds/Linux/build/test.xml"));
//Check and see where file is being executed
//File executable = File::getSpecialLocation(File::currentExecutableFile);
//const String executableDirectory = executable.getParentDirectory().getFullPathName();
//sendActionMessage(executableDirectory);
}
UIComponent
::~
UIComponent
()
...
...
@@ -240,7 +222,7 @@ void UIComponent::resized()
// messageCenter->setVisible(true);
}
// for debugging
q
purposes:
// for debugging purposes:
if
(
false
)
{
dataViewport
->
setVisible
(
false
);
...
...
@@ -279,11 +261,6 @@ void UIComponent::childComponentChanged()
StringArray
UIComponent
::
getMenuBarNames
()
{
// StringArray names;
// names.add("File");
// names.add("Edit");
// names.add("Help");
const
char
*
const
names
[]
=
{
"File"
,
"Edit"
,
"View"
,
"Help"
,
0
};
return
StringArray
(
names
);
...
...
@@ -522,7 +499,8 @@ bool UIComponent::perform(const InvocationInfo& info)
}
case
showHelp
:
std
::
cout
<<
"SHOW ME SOME HELP!"
<<
std
::
endl
;
URL
url
=
URL
(
"https://open-ephys.atlassian.net/wiki/display/OEW/Open+Ephys+GUI"
);
url
.
launchInDefaultBrowser
();
break
;
case
toggleProcessorList
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment