common/painter.cpp: Removed unnecessary header inclusion, added variable initialization

common/view/view.cpp: Added line to comply with coding style
This commit is contained in:
Maciej Suminski 2013-04-04 11:18:47 +02:00
parent 2e5bd2fad1
commit 18374e53a0
2 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <eda_text.h>
#include <view/view.h>
#include <painter.h>
#include <gal/stroke_font.h>
#include <newstroke_font.h>
@ -44,6 +42,7 @@ RENDER_SETTINGS::RENDER_SETTINGS()
m_highlightEnabled = false;
m_hiContrastEnabled = false;
m_hiContrastFactor = 0.2;
m_activeLayer = 0;
// Store the predefined colors used in KiCad in format used by GAL
for( int i = 0; i < NBCOLOR; i++ )

View File

@ -344,6 +344,7 @@ struct VIEW::drawItem
VIEW* view;
};
void VIEW::redrawRect( const BOX2I& aRect )
{
int totalItems = 0, totalCached = 0;