changeset 45:518027b4a3eb

Pull the windows off the top-left corner (not yet a nice fix that tiles them neatly); also a GUI bugfix on Control extended editor.
author Andrew McPherson <andrewm@eecs.qmul.ac.uk>
date Wed, 27 Aug 2014 13:18:27 +0100
parents 73576f49ad1c
children 78b9808a2c65
files Source/GUI/MappingExtendedEditorWindow.h Source/GUI/PreferencesWindow.h Source/Mappings/Control/TouchkeyControlMappingExtendedEditor.cpp
diffstat 3 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Source/GUI/MappingExtendedEditorWindow.h	Sat Aug 23 23:46:38 2014 +0100
+++ b/Source/GUI/MappingExtendedEditorWindow.h	Wed Aug 27 13:18:27 2014 +0100
@@ -41,6 +41,7 @@
         }
         
         // Show window
+        setTopLeftPosition(60,60);
         setVisible(true);
     }
 
--- a/Source/GUI/PreferencesWindow.h	Sat Aug 23 23:46:38 2014 +0100
+++ b/Source/GUI/PreferencesWindow.h	Wed Aug 27 13:18:27 2014 +0100
@@ -34,6 +34,7 @@
         setResizable(false, false);
         
         // Don't show window yet
+        setTopLeftPosition(60,60);
         setVisible(false);
         
         // Start a timer that will keep the interface in sync with the application
--- a/Source/Mappings/Control/TouchkeyControlMappingExtendedEditor.cpp	Sat Aug 23 23:46:38 2014 +0100
+++ b/Source/Mappings/Control/TouchkeyControlMappingExtendedEditor.cpp	Wed Aug 27 13:18:27 2014 +0100
@@ -28,7 +28,7 @@
 
 //==============================================================================
 TouchkeyControlMappingExtendedEditor::TouchkeyControlMappingExtendedEditor (TouchkeyControlMappingFactory& factory)
-    : factory_(factory)
+    : factory_(factory), typeWasAbsolute_(false)
 {
     addAndMakeVisible (inputRangeLowEditor = new TextEditor ("range low text editor"));
     inputRangeLowEditor->setMultiLine (false);