annotate misc/superconfigure @ 439:6d5ee6860682 toggle

Add a new feature to allow users to toggle between minimal and full modes. This is done by hiding/showing the pane stack, menu actions, and toolbars. The main part of the process is handled in MainWindow::toggleViewMode(). The toggle view mode option appears in the View Menu and is associated with a new toolbar button. Two icons have been added in the resources. They come from: http://www.iconfinder.com/icondetails/42115/32/ In a working state, but the resizing of the main window and the audio file overview can be improved. Some menus or menu actions can be deleted/disabled in the minimal mode (although the changes are active in the hidden pane(s) and do not cause the application to crash). See TO-DO list in MainWindow::toggleViewMode(). In sonic-visualiser.pro: -lvamp-hostsdk has been added to the LIBS (the sonic-visualiser.pro file may be to be removed from the tracked files since the modification seems to depend on the system).
author mathieub <mathieu.barthet@eecs.qmul.ac.uk>
date Tue, 21 Jun 2011 22:04:55 +0100
parents ba928954e640
children
rev   line source
Chris@402 1 #!/bin/sh
Chris@402 2 subdirs="svcore svgui svapp sonic-visualiser"
Chris@402 3 echo
Chris@402 4 echo " *** Preparing to configure in: $subdirs"
Chris@402 5 echo
Chris@402 6 for dir in $subdirs; do
Chris@402 7 echo " *** Configuring in: $dir"
Chris@402 8 echo
Chris@402 9 ( cd "$dir" && ./configure "$@" ) || exit 1
Chris@402 10 echo
Chris@402 11 done
Chris@402 12 cat > Makefile <<EOF
Chris@402 13 TARGETS = sub-svcore sub-svgui sub-svapp sub-sonic-visualiser
Chris@403 14 all: \$(TARGETS)
Chris@402 15 sub-svcore:
Chris@402 16 \$(MAKE) --directory=svcore
Chris@402 17 sub-svgui:
Chris@402 18 \$(MAKE) --directory=svgui
Chris@402 19 sub-svapp:
Chris@402 20 \$(MAKE) --directory=svapp
Chris@402 21 sub-sonic-visualiser:
Chris@402 22 \$(MAKE) --directory=sonic-visualiser
Chris@402 23 EOF
Chris@402 24 echo " *** Generated Makefile"