projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Segment: Rework append_samples() so it can handle large input
[pulseview.git]
/
pv
/
view
/
signalscalehandle.cpp
diff --git
a/pv/view/signalscalehandle.cpp
b/pv/view/signalscalehandle.cpp
index a4c2b4199c3d3e109a6f949750b69443c574e074..20a4cad427338ab92bb9ce36b663954155a746c2 100644
(file)
--- a/
pv/view/signalscalehandle.cpp
+++ b/
pv/view/signalscalehandle.cpp
@@
-14,8
+14,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include <algorithm>
*/
#include <algorithm>
@@
-30,7
+29,8
@@
using std::max;
using std::min;
namespace pv {
using std::min;
namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
SignalScaleHandle::SignalScaleHandle(Signal &owner) :
owner_(owner)
SignalScaleHandle::SignalScaleHandle(Signal &owner) :
owner_(owner)
@@
-79,7
+79,7
@@
QRectF SignalScaleHandle::hit_box_rect(const ViewItemPaintParams &pp) const
text_height, text_height);
}
text_height, text_height);
}
-void SignalScaleHandle::paint_fore(QPainter &p,
const
ViewItemPaintParams &pp)
+void SignalScaleHandle::paint_fore(QPainter &p, ViewItemPaintParams &pp)
{
if (!enabled())
return;
{
if (!enabled())
return;
@@
-103,5
+103,6
@@
void SignalScaleHandle::paint_fore(QPainter &p, const ViewItemPaintParams &pp)
p.drawEllipse(r);
}
p.drawEllipse(r);
}
-} // view
-} // pv
+} // namespace TraceView
+} // namespace views
+} // namespace pv