More code formatting, updated copyright headers
This commit is contained in:
parent
07c7334238
commit
7ad5fca6de
|
@ -89,11 +89,11 @@ private:
|
||||||
int m_flags; ///< Visibility flags
|
int m_flags; ///< Visibility flags
|
||||||
int m_requiredUpdate; ///< Flag required for updating
|
int m_requiredUpdate; ///< Flag required for updating
|
||||||
|
|
||||||
///* Helper for storing cached items group ids
|
///> Helper for storing cached items group ids
|
||||||
typedef std::pair<int, int> GroupPair;
|
typedef std::pair<int, int> GroupPair;
|
||||||
|
|
||||||
///* Indexes of cached GAL display lists corresponding to the item (for every layer it occupies).
|
///> Indexes of cached GAL display lists corresponding to the item (for every layer it occupies).
|
||||||
///* (in the std::pair "first" stores layer number, "second" stores group id).
|
///> (in the std::pair "first" stores layer number, "second" stores group id).
|
||||||
GroupPair* m_groups;
|
GroupPair* m_groups;
|
||||||
int m_groupsSize;
|
int m_groupsSize;
|
||||||
|
|
||||||
|
@ -240,6 +240,7 @@ private:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
void VIEW::OnDestroy( VIEW_ITEM* aItem )
|
void VIEW::OnDestroy( VIEW_ITEM* aItem )
|
||||||
{
|
{
|
||||||
auto data = aItem->viewPrivData();
|
auto data = aItem->viewPrivData();
|
||||||
|
@ -250,6 +251,7 @@ void VIEW::OnDestroy( VIEW_ITEM* aItem )
|
||||||
data->m_view->Remove( aItem );
|
data->m_view->Remove( aItem );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VIEW::VIEW( bool aIsDynamic ) :
|
VIEW::VIEW( bool aIsDynamic ) :
|
||||||
m_enableOrderModifier( true ),
|
m_enableOrderModifier( true ),
|
||||||
m_scale( 4.0 ),
|
m_scale( 4.0 ),
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 CERN
|
* Copyright (C) 2013-2016 CERN
|
||||||
* @author Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
|
* @author Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
|
|
Loading…
Reference in New Issue