Made FooBars a little less annoying to grab

This commit is contained in:
Mark Watkins 2011-06-09 01:43:34 +10:00
parent 0ecd3355a5
commit 9e39694b4b
3 changed files with 11 additions and 9 deletions

View File

@ -8304,7 +8304,7 @@
<sleeplib/machine.h> <sleeplib/machine.h>
<list> <list>
1307547046 /home/mark/projects/git/sleepyhead/src/version.h 1307547717 /home/mark/projects/git/sleepyhead/src/version.h
1307418393 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.h 1307418393 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.h
"machine.h" "machine.h"
@ -8389,7 +8389,7 @@
"machine_loader.h" "machine_loader.h"
"tinyxml/tinyxml.h" "tinyxml/tinyxml.h"
1307527004 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.cpp 1307547046 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.cpp
<wx/dir.h> <wx/dir.h>
<wx/filename.h> <wx/filename.h>
<wx/ffile.h> <wx/ffile.h>

View File

@ -398,7 +398,7 @@ void gGraphWindow::OnMouseLeftDown(wxMouseEvent &event)
m_mouseLClick.x = x; m_mouseLClick.x = x;
m_mouseLClick.y = y; m_mouseLClick.y = y;
m_mouseLDown=true; m_mouseLDown=true;
} else if ((y>(m_scrY-GetBottomMargin())+5) && (y<(m_scrY-GetBottomMargin())+20)) { } else if ((y>(m_scrY-GetBottomMargin())) && (y<(m_scrY-GetBottomMargin())+20)) {
double rx=RealMaxX()-RealMinX(); double rx=RealMaxX()-RealMinX();
double qx=double(width)/rx; double qx=double(width)/rx;
double minx=MinX()-RealMinX(); double minx=MinX()-RealMinX();
@ -439,6 +439,8 @@ void gGraphWindow::OnMouseLeftRelease(wxMouseEvent &event)
m_drag_foobar=false; m_drag_foobar=false;
} else { } else {
if (event.GetY()>m_scrY-GetBottomMargin()+20)
return;
wxPoint release(event.GetX(), m_scrY-m_marginBottom); wxPoint release(event.GetX(), m_scrY-m_marginBottom);
wxPoint press(m_mouseLClick.x, m_marginTop); wxPoint press(m_mouseLClick.x, m_marginTop);
//wxDateTime a,b; //wxDateTime a,b;

View File

@ -16,14 +16,14 @@ namespace AutoVersion{
//Standard Version Type //Standard Version Type
static const long MAJOR = 0; static const long MAJOR = 0;
static const long MINOR = 7; static const long MINOR = 7;
static const long BUILD = 3821; static const long BUILD = 3824;
static const long REVISION = 4068; static const long REVISION = 4084;
//Miscellaneous Version Types //Miscellaneous Version Types
static const long BUILDS_COUNT = 1796; static const long BUILDS_COUNT = 1804;
#define RC_FILEVERSION 0,7,3821,4068 #define RC_FILEVERSION 0,7,3824,4084
#define RC_FILEVERSION_STRING "0, 7, 3821, 4068\0" #define RC_FILEVERSION_STRING "0, 7, 3824, 4084\0"
static const char FULLVERSION_STRING[] = "0.7.3821.4068"; static const char FULLVERSION_STRING[] = "0.7.3824.4084";
//These values are to keep track of your versioning state, don't modify them. //These values are to keep track of your versioning state, don't modify them.
static const long BUILD_HISTORY = 0; static const long BUILD_HISTORY = 0;