Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
ed2141a6
Commit
ed2141a6
authored
Nov 04, 2011
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change various KiCad case utilization to precisely "KiCad"
parent
721cdc48
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
62 additions
and
92 deletions
+62
-92
Doxyfile
new/Doxyfile
+2
-2
design.h
new/design.h
+12
-12
import_export.h
new/import_export.h
+2
-2
sch_canvas.cpp
new/sch_canvas.cpp
+6
-16
sch_canvas.h
new/sch_canvas.h
+9
-6
sch_dir_lib_source.cpp
new/sch_dir_lib_source.cpp
+2
-2
sch_dir_lib_source.h
new/sch_dir_lib_source.h
+2
-2
sch_lib.cpp
new/sch_lib.cpp
+2
-2
sch_lib.h
new/sch_lib.h
+2
-2
sch_lib_table.cpp
new/sch_lib_table.cpp
+2
-2
sch_lib_table.h
new/sch_lib_table.h
+2
-2
sch_lpid.cpp
new/sch_lpid.cpp
+2
-2
sch_lpid.h
new/sch_lpid.h
+2
-2
sch_part.cpp
new/sch_part.cpp
+2
-2
sch_part.h
new/sch_part.h
+2
-2
sch_sweet_parser.cpp
new/sch_sweet_parser.cpp
+2
-2
sch_sweet_parser.h
new/sch_sweet_parser.h
+2
-2
sweet_edit.cpp
new/sweet_edit.cpp
+2
-25
test_sch_lib_table.cpp
new/test_sch_lib_table.cpp
+2
-2
utf8.h
new/utf8.h
+3
-3
No files found.
new/Doxyfile
View file @
ed2141a6
...
@@ -604,7 +604,7 @@ RECURSIVE = YES
...
@@ -604,7 +604,7 @@ RECURSIVE = YES
# excluded from the INPUT source files. This way you can easily exclude a
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
# subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE =
EXCLUDE =
build
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded
# directories that are symbolic links (a Unix filesystem feature) are excluded
...
@@ -1024,7 +1024,7 @@ GENERATE_LATEX = NO
...
@@ -1024,7 +1024,7 @@ GENERATE_LATEX = NO
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `latex' will be used as the default path.
# put in front of it. If left blank `latex' will be used as the default path.
LATEX_OUTPUT =
.
LATEX_OUTPUT =
pdf
# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
# invoked. If left blank `latex' will be used as the default command name.
# invoked. If left blank `latex' will be used as the default command name.
...
...
new/design.h
View file @
ed2141a6
...
@@ -3,7 +3,7 @@ namespace SCH {
...
@@ -3,7 +3,7 @@ namespace SCH {
/** @mainpage
/** @mainpage
This file describes the design of a new Distributed Library System for Ki
c
ad's
This file describes the design of a new Distributed Library System for Ki
C
ad's
EESCHEMA. Many of the concepts can be adapted with modest modification to PCBNEW
EESCHEMA. Many of the concepts can be adapted with modest modification to PCBNEW
also, in the future.
also, in the future.
...
@@ -32,15 +32,15 @@ speed up the pace at which new parts are found and used.
...
@@ -32,15 +32,15 @@ speed up the pace at which new parts are found and used.
<p> Electronic component manufacturers need and look for ways to differentiate
<p> Electronic component manufacturers need and look for ways to differentiate
their products from their competitors. With this Distributed Library System
their products from their competitors. With this Distributed Library System
facility in Ki
c
ad, one way for manufacturers to differentiate themselves and
facility in Ki
C
ad, one way for manufacturers to differentiate themselves and
their parts is to publish a part library on the Internet and save their
their parts is to publish a part library on the Internet and save their
customers the work of doing the data entry of the part into the Ki
c
ad design
customers the work of doing the data entry of the part into the Ki
C
ad design
system.
system.
<p> Maintaining a comprehensive part library is a fairly labor intensive
<p> Maintaining a comprehensive part library is a fairly labor intensive
activity. New parts come into the market everyday. By being able to publish a
activity. New parts come into the market everyday. By being able to publish a
superior library on the Internet, it may be possible to make a for profit
superior library on the Internet, it may be possible to make a for profit
business out of doing this. The Ki
c
ad eco-system would benefit should this
business out of doing this. The Ki
C
ad eco-system would benefit should this
happen, and there could even be competition between such businesses. Or there
happen, and there could even be competition between such businesses. Or there
can be library specializations or niches.
can be library specializations or niches.
...
@@ -52,9 +52,9 @@ an existing part without completely re-designing it. It is sometimes easier to
...
@@ -52,9 +52,9 @@ an existing part without completely re-designing it. It is sometimes easier to
modify an existing part than it is to create the new part entirely from scratch.
modify an existing part than it is to create the new part entirely from scratch.
<p> This Distributed Library System design will have the capability to
<p> This Distributed Library System design will have the capability to
significantly benefit the Ki
c
ad eco-system, and that should mean expanding the
significantly benefit the Ki
C
ad eco-system, and that should mean expanding the
numbers of users and contributors to the project, and hopefully making for a
numbers of users and contributors to the project, and hopefully making for a
better Ki
c
ad tool-set for all.
better Ki
C
ad tool-set for all.
@section definitions Definitions
@section definitions Definitions
...
@@ -172,7 +172,7 @@ logical library names duplicately defined. (Or we will simply ask that any remot
...
@@ -172,7 +172,7 @@ logical library names duplicately defined. (Or we will simply ask that any remot
<p> Eventually there will be an external publicly available internet based
<p> Eventually there will be an external publicly available internet based
logical library table also, but this will need to be glued down at a hard coded
logical library table also, but this will need to be glued down at a hard coded
URL that we have control over. The internet based library table allows us to
URL that we have control over. The internet based library table allows us to
advertise remote libraries without having to issue an update to Ki
c
ad.</dd>
advertise remote libraries without having to issue an update to Ki
C
ad.</dd>
<dt>Query Language</dt><dd>This is a means of searching for something that is
<dt>Query Language</dt><dd>This is a means of searching for something that is
contained within a container. Since some library sources are remote, it is
contained within a container. Since some library sources are remote, it is
...
@@ -218,8 +218,8 @@ ever get done, the boundary of the plug-in interface will remain the C++ library
...
@@ -218,8 +218,8 @@ ever get done, the boundary of the plug-in interface will remain the C++ library
API as given here (mostly in class LIB_SOURCE). The only reason to introduce a
API as given here (mostly in class LIB_SOURCE). The only reason to introduce a
plug-in design is to allow proprietary closed source library implementations,
plug-in design is to allow proprietary closed source library implementations,
and this could eventually come about if a part vendor wanted to provide one for
and this could eventually come about if a part vendor wanted to provide one for
the Ki
c
ad project. If a Texas Instruments type of company wants to maintain a
the Ki
C
ad project. If a Texas Instruments type of company wants to maintain a
Ki
c
ad library, we will be positioned to accommodate them. Until then, the
Ki
C
ad library, we will be positioned to accommodate them. Until then, the
LIB_SOURCE implementations can be statically linked into EESCHEMA and there is
LIB_SOURCE implementations can be statically linked into EESCHEMA and there is
no conceptual disruption either way.
no conceptual disruption either way.
...
@@ -247,9 +247,9 @@ conversion program can simplify things by simply putting all schematic parts
...
@@ -247,9 +247,9 @@ conversion program can simplify things by simply putting all schematic parts
into a parts list within each schematic.
into a parts list within each schematic.
<li> An Internet connection is required to use some of the library sources. It
<li> An Internet connection is required to use some of the library sources. It
will be possible to omit these library sources and run Ki
c
ad by doing a
will be possible to omit these library sources and run Ki
C
ad by doing a
configuration change. Eventually, some library sources will spring up and will
configuration change. Eventually, some library sources will spring up and will
not technically be part of the Ki
c
ad project, so they will remain remote, but
not technically be part of the Ki
C
ad project, so they will remain remote, but
fully usable to those with an internet connection and permission from the
fully usable to those with an internet connection and permission from the
library source's owner.
library source's owner.
...
@@ -297,7 +297,7 @@ SCH for EESCHEMA, and PCB for PCBNEW.
...
@@ -297,7 +297,7 @@ SCH for EESCHEMA, and PCB for PCBNEW.
<p> Since most if not all the APIs deal with file or non-volatile storage, only
<p> Since most if not all the APIs deal with file or non-volatile storage, only
8 bit string types are used. For international strings, UTF-8 is used, and
8 bit string types are used. For international strings, UTF-8 is used, and
that is what is currently in use within the Ki
c
ad file storage formats.
that is what is currently in use within the Ki
C
ad file storage formats.
<p> The typedef <b>STRINGS</b> is used frequently as a holder for multiple
<p> The typedef <b>STRINGS</b> is used frequently as a holder for multiple
std::strings. After some research, I chose std::dequeue<STRING> to hold a list of
std::strings. After some research, I chose std::dequeue<STRING> to hold a list of
...
...
new/import_export.h
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2011 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_canvas.cpp
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2011 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
@@ -24,8 +24,8 @@
...
@@ -24,8 +24,8 @@
#include "sch_canvas.h"
#include "sch_canvas.h"
#include "sch_part.h"
#include "sch_part.h"
#include <gal/font/newstroke_font.h>
namespace
SCH
{
namespace
SCH
{
...
@@ -40,28 +40,18 @@ CANVAS::CANVAS( wxWindow* aParent ) :
...
@@ -40,28 +40,18 @@ CANVAS::CANVAS( wxWindow* aParent ) :
SetScreenDPI
(
100
);
SetScreenDPI
(
100
);
// SetLookAtPoint( VECTOR2D( size.x / 2, size.y / 2 ) );
ComputeWorldScreenMatrix
();
ComputeWorldScreenMatrix
();
/*
// Set the world unit length
// Compute the world size
// SetLookAtPoint( VECTOR2D( size.x / 2, size.y / 2 ) );
m_worldSize = VECTOR2D( m_screenSize.x, m_screenSize.y );
m_isReady = true;
m_isPanning = false;
m_isGroupStarted = true;
m_offset = 0.333;
// Load Font
// Load Font
if
(
!
m_font
.
LoadNewStrokeFont
(
newstroke_font
,
newstroke_font_bufsize
)
)
if
(
!
m_font
.
LoadNewStrokeFont
(
newstroke_font
,
newstroke_font_bufsize
)
)
{
{
cout << "Loading of the font failed." << endl
;
printf
(
"Loading of the font failed.
\n
"
)
;
}
}
m_font
.
SetGraphicsAbstractionLayer
(
this
);
m_font
.
SetGraphicsAbstractionLayer
(
this
);
*/
}
}
...
...
new/sch_canvas.h
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2011 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
#define SCH_CANVAS_H_
#define SCH_CANVAS_H_
#include <gal/opengl/opengl_gal.h>
#include <gal/opengl/opengl_gal.h>
#include <gal/common/stroke_font.h>
namespace
SCH
{
namespace
SCH
{
...
@@ -36,7 +37,9 @@ class CANVAS : public OPENGL_GAL
...
@@ -36,7 +37,9 @@ class CANVAS : public OPENGL_GAL
{
{
protected
:
protected
:
PART
*
part
;
///< which PART to draw
PART
*
m_part
;
///< which PART to draw
STROKE_FONT
m_font
;
void
onRedraw
(
wxCommandEvent
&
event
);
void
onRedraw
(
wxCommandEvent
&
event
);
...
@@ -49,8 +52,8 @@ public:
...
@@ -49,8 +52,8 @@ public:
*/
*/
PART
*
SetPart
(
PART
*
aPart
)
PART
*
SetPart
(
PART
*
aPart
)
{
{
PART
*
ret
=
part
;
PART
*
ret
=
m_
part
;
part
=
aPart
;
m_
part
=
aPart
;
return
ret
;
return
ret
;
}
}
...
...
new/sch_dir_lib_source.cpp
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2010 SoftPLC Corporation, <dick@softplc.com>
* Copyright (C) 2010 SoftPLC Corporation, <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_dir_lib_source.h
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_lib.cpp
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_lib.h
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_lib_table.cpp
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2010-2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010-2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_lib_table.h
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_lpid.cpp
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_lpid.h
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_part.cpp
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_part.h
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_sweet_parser.cpp
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sch_sweet_parser.h
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/sweet_edit.cpp
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2011 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
@@ -112,29 +112,6 @@ SWEET_FRAME::SWEET_FRAME( wxWindow* parent, wxWindowID id, const wxString& title
...
@@ -112,29 +112,6 @@ SWEET_FRAME::SWEET_FRAME( wxWindow* parent, wxWindowID id, const wxString& title
Connect
(
wxEVT_MOUSEWHEEL
,
wxMouseEventHandler
(
SWEET_FRAME
::
OnMouseWheel
)
);
Connect
(
wxEVT_MOUSEWHEEL
,
wxMouseEventHandler
(
SWEET_FRAME
::
OnMouseWheel
)
);
Connect
(
wxEVT_RIGHT_DOWN
,
wxMouseEventHandler
(
SWEET_FRAME
::
OnRightDown
)
);
Connect
(
wxEVT_RIGHT_DOWN
,
wxMouseEventHandler
(
SWEET_FRAME
::
OnRightDown
)
);
Connect
(
wxEVT_RIGHT_UP
,
wxMouseEventHandler
(
SWEET_FRAME
::
OnRightUp
)
);
Connect
(
wxEVT_RIGHT_UP
,
wxMouseEventHandler
(
SWEET_FRAME
::
OnRightUp
)
);
// Connect( EVT_GAL_REDRAW, wxCommandEventHandler( SWEET_FRAME::OnRedraw ) );
/*
// Set the world unit length
m_gal->SetWorldUnitLength( 0.01 );
m_gal->SetScreenDPI( 100 );
m_gal->SetLookAtPoint( VECTOR2D( size.x / 2, size.y / 2 ) );
m_gal->ComputeWorldScreenMatrix();
// Compute the world size
m_worldSize = VECTOR2D( m_screenSize.x, m_screenSize.y );
// Load Font
if( !m_font.LoadNewStrokeFont( newstroke_font, newstroke_font_bufsize ) )
{
cout << "Loading of the font failed." << endl;
}
m_font.SetGraphicsAbstractionLayer( m_gal );
*/
}
}
...
...
new/test_sch_lib_table.cpp
View file @
ed2141a6
/*
/*
* This program source code file is part of K
ICAD
, a free EDA CAD application.
* This program source code file is part of K
iCad
, a free EDA CAD application.
*
*
* Copyright (C) 2010-2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010-2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Ki
c
ad Developers, see change_log.txt for contributors.
* Copyright (C) 2010 Ki
C
ad Developers, see change_log.txt for contributors.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* modify it under the terms of the GNU General Public License
...
...
new/utf8.h
View file @
ed2141a6
...
@@ -28,11 +28,11 @@ typedef std::deque<STRING> STRINGS;
...
@@ -28,11 +28,11 @@ typedef std::deque<STRING> STRINGS;
* Type STR_UTF
* Type STR_UTF
* holds a UTF8 encoded sequence of 8 bit bytes that represent a sequence
* holds a UTF8 encoded sequence of 8 bit bytes that represent a sequence
* of variable multi-byte international characters. UTF8 is the chosen encoding
* of variable multi-byte international characters. UTF8 is the chosen encoding
* for all Ki
c
ad data files so that they can be transported from one nation to another
* for all Ki
C
ad data files so that they can be transported from one nation to another
* without ambiguity. Data files are those where Ki
c
ad controls the content.
* without ambiguity. Data files are those where Ki
C
ad controls the content.
* This is not the same thing as filenames, which are not file content.
* This is not the same thing as filenames, which are not file content.
* Filenames may be encoded on disk using an encoding chosen by the host operating
* Filenames may be encoded on disk using an encoding chosen by the host operating
* system. Nonetheless, Ki
c
ad data file _content_ is always UTF8 encoded, regardless
* system. Nonetheless, Ki
C
ad data file _content_ is always UTF8 encoded, regardless
* of host operating system.
* of host operating system.
* STR_UTF is UTF8 encoded, by definition.
* STR_UTF is UTF8 encoded, by definition.
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment