Commit 18374e53 authored by Maciej Suminski's avatar Maciej Suminski

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

common/view/view.cpp: Added line to comply with coding style
parent 2e5bd2fa
......@@ -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++ )
......
......@@ -344,6 +344,7 @@ struct VIEW::drawItem
VIEW* view;
};
void VIEW::redrawRect( const BOX2I& aRect )
{
int totalItems = 0, totalCached = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment