[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeedu/kmplot/kmplot
From: Fredrik Edemar <f_edemar () linux ! se>
Date: 2005-01-17 20:57:37
Message-ID: 20050117205737.435071BC17 () office ! kde ! org
[Download RAW message or body]
CVS commit by fedemar:
Trace mode fix: Handle the plot range for the selected function correctly
M +8 -3 View.cpp 1.112
--- kdeedu/kmplot/kmplot/View.cpp #1.111:1.112
@@ -630,5 +629,5 @@ void View::mouseMoveEvent(QMouseEvent *e
{
int const ix = m_parser->ixValue(csmode);
- if (ix!=-1)
+ if (ix!=-1 && ( (m_parser->ufkt[ix].dmin== \
m_parser->ufkt[ix].dmax)|| (csxpos>m_parser->ufkt[ix].dmin && \
csxpos<m_parser->ufkt[ix].dmax) ) ) {
it = &m_parser->ufkt[ix];
@@ -666,4 +665,10 @@ void View::mouseMoveEvent(QMouseEvent *e
}
}
+ else
+ {
+ csxpos=dgr.Transx(ptl.x());
+ csypos=dgr.Transy(ptl.y());
+ csflg = 1;
+ }
}
else
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic