Commit 286c62d8 authored by Dick Hollenbeck's avatar Dick Hollenbeck

fix order of cvpcb link libraries, make some PAGE_INFO functions inline

parent b76d05f5
......@@ -197,26 +197,8 @@ void PAGE_INFO::SetWidthMils( int aWidthInMils )
}
int PAGE_INFO::GetWidthMils() const
{
return m_size.x;
}
void PAGE_INFO::SetHeightMils( int aHeightInMils )
{
m_size.y = clampHeight( aHeightInMils );
}
int PAGE_INFO::GetHeightMils() const
{
return m_size.y;
}
const wxSize& PAGE_INFO::GetSizeMils() const
{
return m_size;
}
......@@ -85,7 +85,7 @@ endif(APPLE)
###
# Link executable target cvpcb with correct libraries
###
target_link_libraries(cvpcb 3d-viewer common pcbcommon polygon bitmaps kbool
target_link_libraries(cvpcb 3d-viewer pcbcommon common polygon bitmaps kbool
${OPENGL_LIBRARIES}
${wxWidgets_LIBRARIES}
${GDI_PLUS_LIBRARIES}
......
......@@ -177,12 +177,12 @@ public:
bool IsPortrait() const { return m_portrait; }
void SetWidthMils( int aWidthInMils );
int GetWidthMils() const;
int GetWidthMils() const { return m_size.x; }
void SetHeightMils( int aHeightInMils );
int GetHeightMils() const;
int GetHeightMils() const { return m_size.y; }
const wxSize& GetSizeMils() const;
const wxSize& GetSizeMils() const { return m_size; }
// Accessors returning "Internal Units (IU)". IUs are mils in EESCHEMA,
// and either deci-mils or nanometers in PCBNew.
......
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