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
5c790f50
Commit
5c790f50
authored
Dec 23, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added dialog box to edit graphic items
parent
57d9096a
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
181 additions
and
128 deletions
+181
-128
CHANGELOG.txt
CHANGELOG.txt
+8
-0
wxPcbStruct.h
include/wxPcbStruct.h
+3
-2
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+150
-95
CMakeLists.txt
pcbnew/CMakeLists.txt
+2
-0
class_drawsegment.h
pcbnew/class_drawsegment.h
+1
-1
dialog_pad_properties.cpp
pcbnew/dialog_pad_properties.cpp
+7
-3
edit.cpp
pcbnew/edit.cpp
+1
-1
editedge.cpp
pcbnew/editedge.cpp
+0
-25
makefile.include
pcbnew/makefile.include
+2
-0
onleftclick.cpp
pcbnew/onleftclick.cpp
+7
-1
No files found.
CHANGELOG.txt
View file @
5c790f50
...
...
@@ -5,6 +5,14 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2008-Dec-22 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
++Pcbnew:
Added dialog box to edit graphic items (graphic segments, circles, arcs)
properties
2008-Dec-22 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
++All
...
...
include/wxPcbStruct.h
View file @
5c790f50
...
...
@@ -209,8 +209,10 @@ public:
void
Place_Module
(
MODULE
*
module
,
wxDC
*
DC
);
void
InstallExchangeModuleFrame
(
MODULE
*
ExchangeModuleModule
,
wxDC
*
DC
,
const
wxPoint
&
pos
);
// Graphic items edition:
void
InstallGraphicItemPropertiesDialog
(
DRAWSEGMENT
*
aItem
,
wxDC
*
aDC
);
// module texts
// module texts
void
RotateTextModule
(
TEXTE_MODULE
*
Text
,
wxDC
*
DC
);
void
DeleteTextModule
(
TEXTE_MODULE
*
Text
,
wxDC
*
DC
);
void
PlaceTexteModule
(
TEXTE_MODULE
*
Text
,
wxDC
*
DC
);
...
...
@@ -661,7 +663,6 @@ public:
// Graphic segments type DRAWSEGMENT handling:
DRAWSEGMENT
*
Begin_DrawSegment
(
DRAWSEGMENT
*
Segment
,
int
shape
,
wxDC
*
DC
);
void
End_Edge
(
DRAWSEGMENT
*
Segment
,
wxDC
*
DC
);
void
Drawing_SetNewWidth
(
DRAWSEGMENT
*
DrawSegm
,
wxDC
*
DC
);
void
Delete_Segment_Edge
(
DRAWSEGMENT
*
Segment
,
wxDC
*
DC
);
void
Delete_Drawings_All_Layer
(
DRAWSEGMENT
*
Segment
,
wxDC
*
DC
);
...
...
internat/fr/kicad.mo
View file @
5c790f50
No preview for this file type
internat/fr/kicad.po
View file @
5c790f50
...
...
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-2
1 17:50
+0100\n"
"PO-Revision-Date: 2008-12-2
1 17:5
1+0100\n"
"POT-Creation-Date: 2008-12-2
3 14:07
+0100\n"
"PO-Revision-Date: 2008-12-2
3 14:1
1+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
...
...
@@ -1619,15 +1619,15 @@ msgstr "Long. Net"
msgid "Abort routing?"
msgstr "Arrêter le routage?"
#: pcbnew/editedge.cpp:1
62
#: pcbnew/editedge.cpp:1
37
msgid "Copper layer global delete not allowed!"
msgstr " Effacement global sur couche cuivre non autorisé"
#: pcbnew/editedge.cpp:1
68
#: pcbnew/editedge.cpp:1
43
msgid "Segment is being edited"
msgstr "Segment en cours d'édition"
#: pcbnew/editedge.cpp:1
72
#: pcbnew/editedge.cpp:1
47
msgid "Delete Layer "
msgstr "Effacer Couche"
...
...
@@ -2110,11 +2110,11 @@ msgstr "Impossible de créer le fichier "
msgid "Drill Report file"
msgstr "Fichier rapport de perçage:"
#: pcbnew/plotgerb.cpp:
73
#: pcbnew/plotgerb.cpp:
90
msgid "unable to create file "
msgstr "Impossible de créer fichier "
#: pcbnew/plotgerb.cpp:8
6
5
#: pcbnew/plotgerb.cpp:8
2
5
#, c-format
msgid "unable to reopen file <%s>"
msgstr "Ne peut pas réouvrir fichier <%s>"
...
...
@@ -3361,59 +3361,6 @@ msgstr "Change Perçage"
msgid "Change Orientation"
msgstr "Change Orientation"
#: pcbnew/dialog_edit_mod_text.cpp:173
#, c-format
msgid "Module %s (%s) orient %.1f"
msgstr "Module %s (%s) orient %.1f"
#: pcbnew/dialog_edit_mod_text.cpp:188
msgid "Reference:"
msgstr "Référence:"
#: pcbnew/dialog_edit_mod_text.cpp:205
msgid "Size X"
msgstr "Taille X"
#: pcbnew/dialog_edit_mod_text.cpp:216
msgid "Size Y"
msgstr "Taille Y"
#: pcbnew/dialog_edit_mod_text.cpp:229
msgid "Offset X"
msgstr "Offset X"
#: pcbnew/dialog_edit_mod_text.cpp:240
msgid "Offset Y"
msgstr "Offset Y"
#: pcbnew/dialog_edit_mod_text.cpp:278
msgid "horiz"
msgstr "horiz"
#: pcbnew/dialog_edit_mod_text.cpp:279
msgid "vertical"
msgstr "Vertical"
#: pcbnew/dialog_edit_mod_text.cpp:282
msgid "Orientation"
msgstr "Orientation"
#: pcbnew/dialog_edit_mod_text.cpp:287
msgid "show"
msgstr "Visible"
#: pcbnew/dialog_edit_mod_text.cpp:288
msgid "no show"
msgstr "Invisible"
#: pcbnew/dialog_edit_mod_text.cpp:382
msgid "Value:"
msgstr "Valeur:"
#: pcbnew/dialog_edit_mod_text.cpp:384
msgid "Text:"
msgstr "Texte:"
#: pcbnew/muwave_command.cpp:50
msgid "Add Line"
msgstr "Addition de lignes"
...
...
@@ -3765,7 +3712,7 @@ msgstr "Fichiers Librairies:"
msgid "Library already in use"
msgstr "Librairie déjà en usage"
#: pcbnew/plot_rtn.cpp:21
5
#: pcbnew/plot_rtn.cpp:21
0
#, c-format
msgid ""
"Your BOARD has a bad layer number of %u for module\n"
...
...
@@ -3774,7 +3721,7 @@ msgstr ""
"Votre PCB a un mauvais numero de couche %u pour le module\n"
" %s's \"reference\"."
#: pcbnew/plot_rtn.cpp:23
5
#: pcbnew/plot_rtn.cpp:23
0
#, c-format
msgid ""
"Your BOARD has a bad layer number of %u for module\n"
...
...
@@ -3783,7 +3730,7 @@ msgstr ""
"Votre PCB a un mauvais numero de couche %u pour le module\n"
" %s's \"valeur\"."
#: pcbnew/plot_rtn.cpp:2
81
#: pcbnew/plot_rtn.cpp:2
76
#, c-format
msgid ""
"Your BOARD has a bad layer number of %u for module\n"
...
...
@@ -4029,7 +3976,7 @@ msgstr "Via Traversantes:"
msgid "Buried Vias:"
msgstr "Via Enterrées:"
#: pcbnew/gen_drill_report_files.cpp:38
8
#: pcbnew/gen_drill_report_files.cpp:38
9
msgid ""
" Drill map: Too many diameter values to draw to draw one symbol per drill value (max 13)\n"
"Plot uses circle shape for some drill values"
...
...
@@ -4081,10 +4028,18 @@ msgstr "&Au sujet de r Pcbnew"
msgid "About pcbnew PCB designer"
msgstr "Au sujet de Pcbnew, concption de PCB"
#: pcbnew/class_text_mod.cpp:46
2
#: pcbnew/class_text_mod.cpp:46
8
msgid "Ref."
msgstr "Ref."
#: pcbnew/class_text_mod.cpp:498
msgid " No"
msgstr "Non"
#: pcbnew/class_text_mod.cpp:500
msgid " Yes"
msgstr "Oui"
#: pcbnew/dialog_freeroute_exchange.cpp:187
msgid "Export a Specctra Design (*.dsn) File"
msgstr "Exporter un fichier de conception Specctra (*.dsn)"
...
...
@@ -4200,6 +4155,7 @@ msgid "Outlines Appearence"
msgstr "Aspect des Contours"
#: pcbnew/dialog_non_copper_zones_properties_base.cpp:34
#: pcbnew/dialog_copper_zones_base.cpp:101
msgid "Any"
msgstr "Tout"
...
...
@@ -4364,8 +4320,6 @@ msgid "Export this zone setup to all others copper zones"
msgstr "Exporter ces options vers les autres zones de cuivre"
#: pcbnew/dialog_copper_zones_base.cpp:156
#: pcbnew/dialog_pad_properties_base.cpp:91
#: pcbnew/zone_filling_deprecated_algorithm.cpp:310
msgid "Ok"
msgstr "Ok"
...
...
@@ -4503,35 +4457,35 @@ msgstr "Ok pour ajuster l'orientation des modules à %g degrés ?"
msgid "Bad value for footprints orientation"
msgstr "Mauvaise valeur pour l'orientation des empreintes"
#: pcbnew/dialog_pad_properties.cpp:12
0
#: pcbnew/dialog_pad_properties.cpp:12
1
msgid "Pad Position"
msgstr "Position Pad"
#: pcbnew/dialog_pad_properties.cpp:12
5
#: pcbnew/dialog_pad_properties.cpp:12
6
msgid "Pad Size"
msgstr "Taille Pad"
#: pcbnew/dialog_pad_properties.cpp:13
0
#: pcbnew/dialog_pad_properties.cpp:13
1
msgid "Delta"
msgstr "Delta"
#: pcbnew/dialog_pad_properties.cpp:13
5
#: pcbnew/dialog_pad_properties.cpp:13
6
msgid "Offset"
msgstr "Offset"
#: pcbnew/dialog_pad_properties.cpp:14
1
#: pcbnew/dialog_pad_properties.cpp:14
2
msgid "Pad drill"
msgstr "Diam perçage"
#: pcbnew/dialog_pad_properties.cpp:42
7
#: pcbnew/dialog_pad_properties.cpp:42
8
msgid "Incorrect value for pad drill: pad drill bigger than pad size"
msgstr "Valeur incorrecte pour diamètre de perçage.perçage plus grand que la taille du pad"
#: pcbnew/dialog_pad_properties.cpp:43
3
#: pcbnew/dialog_pad_properties.cpp:43
4
msgid "Incorrect value for pad offset"
msgstr "Valeur incorrecte pour offset du pad"
#: pcbnew/dialog_pad_properties.cpp:5
28
#: pcbnew/dialog_pad_properties.cpp:5
32
msgid "Unknown netname, no change"
msgstr "Net inconnu, pas de changement"
...
...
@@ -4927,6 +4881,14 @@ msgstr "Supprimer [%s]"
msgid "TextPCB properties"
msgstr "Propriétés des textes PCB"
#: pcbnew/dialog_pcb_text_properties.cpp:108
msgid "Text:"
msgstr "Texte:"
#: pcbnew/dialog_pcb_text_properties.cpp:141
msgid "Orientation"
msgstr "Orientation"
#: pcbnew/dialog_pcb_text_properties.cpp:176
msgid "Italic"
msgstr "Italique"
...
...
@@ -4943,6 +4905,77 @@ msgstr "Flags"
msgid "Diam"
msgstr "Diam"
#: pcbnew/dialog_edit_module_text_base.cpp:19
#, c-format
msgid "Module %s (%s) orient %.1f"
msgstr "Module %s (%s) orient %.1f"
#: pcbnew/dialog_edit_module_text_base.cpp:26
msgid "Reference:"
msgstr "Référence:"
#: pcbnew/dialog_edit_module_text_base.cpp:39
msgid "Size X"
msgstr "Taille X"
#: pcbnew/dialog_edit_module_text_base.cpp:46
msgid "Size Y"
msgstr "Taille Y"
#: pcbnew/dialog_edit_module_text_base.cpp:53
msgid "Offset X"
msgstr "Offset X"
#: pcbnew/dialog_edit_module_text_base.cpp:60
msgid "Offset Y"
msgstr "Offset Y"
#: pcbnew/dialog_edit_module_text_base.cpp:72
msgid "Thickness"
msgstr "Epaisseur"
#: pcbnew/dialog_edit_module_text_base.cpp:79
msgid "horizontal"
msgstr "horizontal"
#: pcbnew/dialog_edit_module_text_base.cpp:79
msgid "vertical"
msgstr "Vertical"
#: pcbnew/dialog_edit_module_text_base.cpp:85
msgid "Visible"
msgstr "Visible"
#: pcbnew/dialog_edit_module_text_base.cpp:85
msgid "Invisible"
msgstr "Invisible"
#: pcbnew/dialog_graphic_item_properties.cpp:77
#: pcbnew/dialog_graphic_item_properties.cpp:86
msgid "Center X"
msgstr "Centre X"
#: pcbnew/dialog_graphic_item_properties.cpp:78
#: pcbnew/dialog_graphic_item_properties.cpp:87
msgid "Center Y"
msgstr "Centrer Y"
#: pcbnew/dialog_graphic_item_properties.cpp:79
msgid "Point X"
msgstr "Point X"
#: pcbnew/dialog_graphic_item_properties.cpp:80
msgid "Point Y"
msgstr "Point Y"
#: pcbnew/dialog_graphic_item_properties.cpp:88
msgid "Start Point X"
msgstr "Start Point X"
#: pcbnew/dialog_graphic_item_properties.cpp:89
msgid "Start Point Y"
msgstr "Start Point Y"
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:22
msgid "No Display"
msgstr "Pas d'affichage"
...
...
@@ -5019,7 +5052,7 @@ msgstr "16"
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:55
msgid "Active copper layers count selection"
msgstr ""
msgstr "
Sélection su nombre de couches cuivre actives
"
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:59
msgid "Max Links:"
...
...
@@ -5126,6 +5159,10 @@ msgstr "Pistes Magnétiques"
msgid "Control the capture of the pcb cursor when the mouse cursor enters a track"
msgstr "Contrôle la capture du curseur pcb quand le curseur souris passe sur une piste"
#: pcbnew/dialog_edit_module_text.cpp:96
msgid "Value:"
msgstr "Valeur:"
#: eeschema/backanno.cpp:135
msgid "Load Stuff File"
msgstr "Charger Fichier d'échange"
...
...
@@ -5383,18 +5420,22 @@ msgid "Length"
msgstr "Longueur"
#: eeschema/affiche.cpp:102
#: eeschema/pinedit-dialog.cpp:225
msgid "Up"
msgstr "Haut"
#: eeschema/affiche.cpp:105
#: eeschema/pinedit-dialog.cpp:226
msgid "Down"
msgstr "Bas"
#: eeschema/affiche.cpp:108
#: eeschema/pinedit-dialog.cpp:224
msgid "Left"
msgstr "Gauche"
#: eeschema/affiche.cpp:111
#: eeschema/pinedit-dialog.cpp:223
msgid "Right"
msgstr "Droite"
...
...
@@ -7004,6 +7045,7 @@ msgid "Part %c"
msgstr "Composant %c"
#: eeschema/tool_sch.cpp:39
#: eeschema/menubar.cpp:42
msgid "New schematic project"
msgstr "Nouveau Projet schématique"
...
...
@@ -7080,10 +7122,12 @@ msgid "Place a bus"
msgstr "Placer un bus"
#: eeschema/tool_sch.cpp:173
#: eeschema/menubar.cpp:237
msgid "Place a wire to bus entry"
msgstr "Placer une Entrée de Bus (type fil vers bus)"
#: eeschema/tool_sch.cpp:177
#: eeschema/menubar.cpp:247
msgid "Place a bus to bus entry"
msgstr "Placer une Entrée de Bus (type bus vers bus)"
...
...
@@ -7092,6 +7136,7 @@ msgid "Place no connect flag"
msgstr "Placer symbole de non connexion"
#: eeschema/tool_sch.cpp:186
#: eeschema/menubar.cpp:267
msgid "Place net name"
msgstr "Place nom de net"
...
...
@@ -7108,6 +7153,7 @@ msgid "Place a junction"
msgstr "Placer une jonction"
#: eeschema/tool_sch.cpp:200
#: eeschema/menubar.cpp:297
msgid "Place a hierarchical label. This label will be seen as a pin sheet in the sheet symbol"
msgstr "Placer un label hiérachique. Ce label sera vu comme une pin dans la feuille mère symbole"
...
...
@@ -7128,6 +7174,7 @@ msgid "Place graphic line or polygon"
msgstr "Placer ligne ou polygone graphique"
#: eeschema/tool_sch.cpp:223
#: eeschema/menubar.cpp:349
msgid "Place graphic text (comment)"
msgstr "Placer textes graphiques (commentaires)"
...
...
@@ -8547,7 +8594,6 @@ msgid "Delete selections"
msgstr "Effacement des associations existantes"
#: cvpcb/cvframe.cpp:376
#: cvpcb/init.cpp:112
#, c-format
msgid "Componants: %d (free: %d)"
msgstr "Composants: %d (libres: %d)"
...
...
@@ -8642,6 +8688,7 @@ msgid "1:1 zoom"
msgstr "1:1 zoom"
#: cvpcb/genorcad.cpp:134
#: cvpcb/writenetlistpcbnew.cpp:168
#, c-format
msgid "%s %s pin %s : Different Nets"
msgstr "%s %s pin %s : Nets Differents"
...
...
@@ -9614,71 +9661,71 @@ msgstr "Infos:"
msgid "Colors"
msgstr "Couleurs"
#: common/edaappl.cpp:5
7
#: common/edaappl.cpp:5
6
msgid "Default"
msgstr "Defaut"
#: common/edaappl.cpp:
70
#: common/edaappl.cpp:
69
msgid "French"
msgstr "French"
#: common/edaappl.cpp:7
6
#: common/edaappl.cpp:7
5
msgid "Spanish"
msgstr "Espagnol"
#: common/edaappl.cpp:8
2
#: common/edaappl.cpp:8
1
msgid "Portuguese"
msgstr "Portugais"
#: common/edaappl.cpp:8
8
#: common/edaappl.cpp:8
7
msgid "Italian"
msgstr "Italien"
#: common/edaappl.cpp:9
4
#: common/edaappl.cpp:9
3
msgid "German"
msgstr "Allemand"
#: common/edaappl.cpp:
100
#: common/edaappl.cpp:
99
msgid "Slovenian"
msgstr "Slovène"
#: common/edaappl.cpp:10
6
#: common/edaappl.cpp:10
5
msgid "Hungarian"
msgstr "Hongrois"
#: common/edaappl.cpp:11
2
#: common/edaappl.cpp:11
1
msgid "Polish"
msgstr "Polonais"
#: common/edaappl.cpp:11
8
#: common/edaappl.cpp:11
7
msgid "Czech"
msgstr "Tchèque"
#: common/edaappl.cpp:12
4
#: common/edaappl.cpp:12
3
msgid "Russian"
msgstr "Russe"
#: common/edaappl.cpp:1
30
#: common/edaappl.cpp:1
29
msgid "Korean"
msgstr "Coréen"
#: common/edaappl.cpp:13
6
#: common/edaappl.cpp:13
5
msgid "Chinese simplified"
msgstr "Chinois Simplifié"
#: common/edaappl.cpp:14
2
#: common/edaappl.cpp:14
1
msgid "Catalan"
msgstr "Catalan"
#: common/edaappl.cpp:14
8
#: common/edaappl.cpp:14
7
msgid "Dutch"
msgstr "Hollandais"
#: common/edaappl.cpp:61
3
#: common/edaappl.cpp:61
2
msgid "Language"
msgstr "Langage"
#: common/edaappl.cpp:61
4
#: common/edaappl.cpp:61
3
msgid "Select application language (only for testing!)"
msgstr "Choisir le langage (seulement pour tests!)"
...
...
@@ -10398,7 +10445,7 @@ msgstr "Options de Nettoyage"
msgid "DRC Control"
msgstr "Contrôle DRC"
#: pcbnew/dialog_edit_mod_text.h:43
#: pcbnew/dialog_edit_mod
ule
_text.h:43
msgid "TextMod properties"
msgstr "Propriétés du Texte sur Module"
...
...
@@ -10538,6 +10585,10 @@ msgstr "Afficher Modules Cmp"
msgid "Show Modules Cu"
msgstr "Afficher Modules Cu"
#: pcbnew/dialog_edit_module_text_base.h:64
msgid "Footprint text properties"
msgstr "Propriétés du texts sur module"
#: pcbnew/dialog_general_options_BoardEditor_base.h:81
msgid "General settings"
msgstr "Options Générales"
...
...
@@ -10854,6 +10905,10 @@ msgstr "Imprimer"
msgid "Create SVG file"
msgstr "Créer Fichier SVG"
#~ msgid "show"
#~ msgstr "Visible"
#~ msgid "no show"
#~ msgstr "Invisible"
#~ msgid "Modules"
#~ msgstr "Modules"
#~ msgid "Module Texts"
...
...
pcbnew/CMakeLists.txt
View file @
5c790f50
...
...
@@ -56,6 +56,8 @@ set(PCBNEW_SRCS
dialog_general_options.cpp
dialog_general_options_BoardEditor_base.cpp
# dialog_graphic_items_options.cpp
dialog_graphic_item_properties.cpp
dialog_graphic_item_properties_base.cpp
# dialog_initpcb.cpp
# dialog_netlist.cpp
dialog_pcb_text_properties.cpp
...
...
pcbnew/class_drawsegment.h
View file @
5c790f50
...
...
@@ -8,7 +8,7 @@
class
DRAWSEGMENT
:
public
BOARD_ITEM
{
public
:
int
m_Width
;
//
0 = line. if > 0 = tracks, bu
s ...
int
m_Width
;
//
thickness of line
s ...
wxPoint
m_Start
;
// Line start point
wxPoint
m_End
;
// Line end point
...
...
pcbnew/dialog_pad_properties.cpp
View file @
5c790f50
/******************************************************/
/* editpads.cpp: Pad editing functions and dialog box */
/******************************************************/
/*******************************************************************/
/* dialog_pad_properties.cpp: Pad editing functions and dialog box */
/* see also dialog_pad_properties.xxx (built with wxFormBuilder) */
/*******************************************************************/
#include "fctsys.h"
#include "common.h"
...
...
@@ -514,7 +515,10 @@ void DialogPadProperties::PadPropertiesAccept( wxCommandEvent& event )
if
(
m_CurrentPad
->
GetNetname
()
!=
Current_PadNetName
)
{
if
(
Current_PadNetName
.
IsEmpty
()
)
{
m_CurrentPad
->
SetNet
(
0
);
m_CurrentPad
->
SetNetname
(
Current_PadNetName
);
}
else
{
const
EQUIPOT
*
net
=
m_Parent
->
m_Pcb
->
FindNet
(
Current_PadNetName
);
...
...
pcbnew/edit.cpp
View file @
5c790f50
...
...
@@ -842,7 +842,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
break
;
case
ID_POPUP_PCB_EDIT_DRAWING
:
Drawing_SetNewWidth
(
(
DRAWSEGMENT
*
)
GetCurItem
(),
&
dc
);
InstallGraphicItemPropertiesDialog
(
(
DRAWSEGMENT
*
)
GetCurItem
(),
&
dc
);
DrawPanel
->
MouseToCursorSchema
();
break
;
...
...
pcbnew/editedge.cpp
View file @
5c790f50
...
...
@@ -126,31 +126,6 @@ void WinEDA_PcbFrame::Delete_Segment_Edge( DRAWSEGMENT* Segment, wxDC* DC )
}
/*************************************************************************/
void
WinEDA_PcbFrame
::
Drawing_SetNewWidth
(
DRAWSEGMENT
*
DrawSegm
,
wxDC
*
DC
)
/*************************************************************************/
/* Met a la largeur courante le segment pointe part la souris
*/
{
if
(
DrawSegm
==
NULL
)
return
;
DrawSegm
->
Draw
(
DrawPanel
,
DC
,
GR_XOR
);
if
(
DrawSegm
->
GetLayer
()
==
EDGE_N
)
DrawSegm
->
m_Width
=
g_DesignSettings
.
m_EdgeSegmentWidth
;
else
DrawSegm
->
m_Width
=
g_DesignSettings
.
m_DrawSegmentWidth
;
DrawSegm
->
Draw
(
DrawPanel
,
DC
,
GR_OR
);
DrawSegm
->
Display_Infos
(
this
);
GetScreen
()
->
SetModify
();
}
/******************************************************************************/
void
WinEDA_PcbFrame
::
Delete_Drawings_All_Layer
(
DRAWSEGMENT
*
Segment
,
wxDC
*
DC
)
/******************************************************************************/
...
...
pcbnew/makefile.include
View file @
5c790f50
...
...
@@ -28,6 +28,8 @@ OBJECTS= $(TARGET).o classpcb.o\
dialog_freeroute_exchange.o
\
modedit_undo_redo.o
\
block_module_editor.o
\
dialog_graphic_item_properties.o
\
dialog_graphic_item_properties_base.o
\
dialog_pad_properties.o
\
dialog_pad_properties_base.o
\
dialog_pcb_text_properties.o
\
...
...
pcbnew/onleftclick.cpp
View file @
5c790f50
...
...
@@ -391,13 +391,19 @@ void WinEDA_PcbFrame::OnLeftDClick( wxDC* DC, const wxPoint& MousePos )
DrawPanel
->
MouseToCursorSchema
();
break
;
case
TYPE_COTATION
:
Install_Edit_Cotation
(
(
COTATION
*
)
DrawStruct
,
&
dc
,
pos
);
DrawPanel
->
MouseToCursorSchema
();
break
;
case
TYPE_TEXTE_MODULE
:
InstallTextModOptionsFrame
(
(
TEXTE_MODULE
*
)
DrawStruct
,
&
dc
,
pos
);
DrawPanel
->
MouseToCursorSchema
();
break
;
case
TYPE_DRAWSEGMENT
:
break
;
InstallGraphicItemPropertiesDialog
((
DRAWSEGMENT
*
)
DrawStruct
,
&
dc
);
break
;
case
TYPE_ZONE_CONTAINER
:
if
(
DrawStruct
->
m_Flags
)
...
...
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