From aca885069f6fcf3cce05170c794aead6b761026e Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sat, 12 Jul 2008 13:52:39 +0000 Subject: [PATCH] fixed drawing of bars which do not fit within current viewport git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1307 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 9 +++++++++ src/gui/automation_editor.cpp | 4 ++-- src/gui/widgets/name_label.cpp | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fca1fbb9f..b79aab886 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2008-07-12 Tobias Doerffel + * src/gui/automation_editor.cpp: + fixed drawing of bars which do not fit within current viewport + + * data/themes/default/factory_files.png: + better icon + + * data/projects/covers/J.S.Bach-Preludium_and_Fugue_A-Minor.mmpz: + upgraded + reverb in master-FX channel + * Makefile.am: * include/effect_label.h: * src/gui/widgets/effect_label.cpp: diff --git a/src/gui/automation_editor.cpp b/src/gui/automation_editor.cpp index 06de44876..4999cb2fb 100644 --- a/src/gui/automation_editor.cpp +++ b/src/gui/automation_editor.cpp @@ -1426,10 +1426,10 @@ void automationEditor::paintEvent( QPaintEvent * _pe ) - m_currentPosition ) * m_ppt / DefaultTicksPerTact; // skip this value if not in visible area at all - if( next_x > width() ) +/* if( next_x > width() ) { break; - } + }*/ rect_width = next_x - x; } else diff --git a/src/gui/widgets/name_label.cpp b/src/gui/widgets/name_label.cpp index ba71139f0..ddfff72b1 100644 --- a/src/gui/widgets/name_label.cpp +++ b/src/gui/widgets/name_label.cpp @@ -27,6 +27,7 @@ #include +#include #include #include #include @@ -40,7 +41,6 @@ #include "gui_templates.h" #include "config_mgr.h" #include "engine.h" -#include