some minor enhancements
This commit is contained in:
parent
0bcc4d34b8
commit
e704c62576
|
@ -10,6 +10,11 @@ email address.
|
|||
if we switch from a long list of footprints to a short list (a filtered footprint list),
|
||||
and if the selected item is near the end of the long list,
|
||||
the new list is not displayed from the top of the list box
|
||||
+eeschema:
|
||||
Implemented: graying in/out of "Edit/Undo", "Edit/Redo" menu items,
|
||||
when Undo/Redo stack is empty/filled.
|
||||
+pcbnew:
|
||||
Implemented: action for ID_POPUP_PCB_DELETE_MARKER
|
||||
|
||||
|
||||
2007-Oct-27 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
|
||||
|
|
|
@ -112,7 +112,7 @@ END_EVENT_TABLE()
|
|||
|
||||
|
||||
/****************/
|
||||
/* Constructeur */
|
||||
/* Constructor */
|
||||
/****************/
|
||||
|
||||
WinEDA_SchematicFrame:: WinEDA_SchematicFrame(wxWindow * father, WinEDA_App *parent,
|
||||
|
@ -120,9 +120,9 @@ WinEDA_SchematicFrame:: WinEDA_SchematicFrame(wxWindow * father, WinEDA_App *par
|
|||
WinEDA_DrawFrame(father, SCHEMATIC_FRAME, parent, title, pos, size, style)
|
||||
{
|
||||
m_FrameName = wxT("SchematicFrame");
|
||||
m_Draw_Axis = FALSE; // TRUE pour avoir les axes dessines
|
||||
m_Draw_Grid = g_ShowGrid; // TRUE pour avoir la grille dessinee
|
||||
m_Draw_Sheet_Ref = TRUE; // TRUE pour avoir le cartouche dessiné
|
||||
m_Draw_Axis = FALSE; // TRUE to show axis
|
||||
m_Draw_Grid = g_ShowGrid; // TRUE to show a grid
|
||||
m_Draw_Sheet_Ref = TRUE; // TRUE to show sheet references
|
||||
|
||||
// Give an icon
|
||||
#ifdef __WINDOWS__
|
||||
|
@ -149,7 +149,7 @@ WinEDA_SchematicFrame:: WinEDA_SchematicFrame(wxWindow * father, WinEDA_App *par
|
|||
|
||||
|
||||
/***************/
|
||||
/* Destructeur */
|
||||
/* Destructor */
|
||||
/***************/
|
||||
|
||||
WinEDA_SchematicFrame::~WinEDA_SchematicFrame()
|
||||
|
@ -199,7 +199,7 @@ SCH_SCREEN * screen;
|
|||
}
|
||||
|
||||
screen = ScreenSch ;
|
||||
while( screen ) // suppression flag modify pour eviter d'autres message
|
||||
while( screen ) // Clear "flag modify" to avoid alert messages when closing sub sheets
|
||||
{
|
||||
screen->ClrModify();
|
||||
screen = (SCH_SCREEN*)screen->Pnext;
|
||||
|
@ -210,8 +210,7 @@ SCH_SCREEN * screen;
|
|||
|
||||
ClearProjectDrawList(ScreenSch, TRUE);
|
||||
|
||||
/* Tous les autres SCREEN sont effaces, aussi reselection de
|
||||
l'ecran de base, pour les evenements de refresh générés par wxWindows */
|
||||
/* allof sub sheets are deleted, only the main sheet is useable */
|
||||
m_CurrentScreen = ActiveScreen = ScreenSch;
|
||||
|
||||
SaveSettings();
|
||||
|
@ -226,8 +225,7 @@ SCH_SCREEN * screen;
|
|||
/********************************************/
|
||||
void WinEDA_SchematicFrame::SetToolbars()
|
||||
/********************************************/
|
||||
/* Active ou desactive les tools du toolbar horizontal, en fonction des commandes
|
||||
en cours
|
||||
/* Enable or disable some tools according to current conditions
|
||||
*/
|
||||
{
|
||||
if( m_HToolBar )
|
||||
|
@ -246,12 +244,27 @@ en cours
|
|||
if ( g_BlockSaveDataList ) m_HToolBar->EnableTool(wxID_PASTE,TRUE);
|
||||
else m_HToolBar->EnableTool(wxID_PASTE,FALSE);
|
||||
|
||||
wxMenuBar * menuBar = GetMenuBar();
|
||||
if ( GetScreen()->m_RedoList )
|
||||
{
|
||||
m_HToolBar->EnableTool(ID_SCHEMATIC_REDO,TRUE);
|
||||
else m_HToolBar->EnableTool(ID_SCHEMATIC_REDO,FALSE);
|
||||
menuBar->Enable(ID_SCHEMATIC_REDO,TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_HToolBar->EnableTool(ID_SCHEMATIC_REDO,FALSE);
|
||||
menuBar->Enable(ID_SCHEMATIC_REDO,FALSE);
|
||||
}
|
||||
if ( GetScreen()->m_UndoList )
|
||||
{
|
||||
m_HToolBar->EnableTool(ID_SCHEMATIC_UNDO,TRUE);
|
||||
else m_HToolBar->EnableTool(ID_SCHEMATIC_UNDO,FALSE);
|
||||
menuBar->Enable(ID_SCHEMATIC_UNDO,TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_HToolBar->EnableTool(ID_SCHEMATIC_UNDO,FALSE);
|
||||
menuBar->Enable(ID_SCHEMATIC_UNDO,FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_OptionsToolBar )
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
COMMON_GLOBL wxString g_BuildVersion
|
||||
#ifdef EDA_BASE
|
||||
(wxT("(2007-10-21)"))
|
||||
(wxT("(2007-10-29)"))
|
||||
#endif
|
||||
;
|
||||
|
||||
|
|
|
@ -681,7 +681,7 @@ public:
|
|||
void Erase_Textes_Pcb( wxDC* DC, bool query );
|
||||
void Erase_Marqueurs();
|
||||
void UnDeleteItem( wxDC* DC );
|
||||
void RemoveStruct( EDA_BaseStruct* Item, wxDC* DC );
|
||||
void RemoveStruct( BOARD_ITEM* Item, wxDC* DC );
|
||||
void Via_Edit_Control( wxDC* DC, int command_type, SEGVIA* via );
|
||||
|
||||
// Hightlight functions:
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const
|
|||
* @param aPcb = the parent board
|
||||
*/
|
||||
{
|
||||
wxString text;
|
||||
wxString text, msg;
|
||||
const BOARD_ITEM* item = this;
|
||||
EQUIPOT* net;
|
||||
D_PAD * pad;
|
||||
|
@ -174,7 +174,7 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const
|
|||
text << wxT(" ") << _( "Blind" );
|
||||
else if( shape == VIA_BLIND )
|
||||
text << wxT(" ") << _("Buried");
|
||||
// else say nothing about normal vias
|
||||
// else say nothing about normal (through) vias
|
||||
|
||||
net = aPcb->FindNet( via->GetNet() );
|
||||
if( net )
|
||||
|
@ -203,9 +203,9 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const
|
|||
break;
|
||||
|
||||
case TYPEMIRE:
|
||||
text << _( "Target" ) //<< wxT( " on " ) << ReturnPcbLayerName( item->GetLayer() ).Trim()
|
||||
// could use if problem with decimal point and user units was fixed:
|
||||
// << wxT( " " ) << wxT( "size" ) << wxT( " " ) << ((MIREPCB*)item)->m_Size
|
||||
valeur_param( ((MIREPCB*)item)->m_Size, msg );
|
||||
text << _( "Target" ) << _( " on " ) << ReturnPcbLayerName( item->GetLayer() ).Trim()
|
||||
<< wxT( " " ) << _( "size" ) << wxT( " " ) << msg
|
||||
;
|
||||
break;
|
||||
|
||||
|
|
|
@ -221,11 +221,10 @@ void D_PAD::UnLink()
|
|||
void D_PAD::Draw( WinEDA_DrawPanel* panel, wxDC* DC, const wxPoint& offset, int draw_mode )
|
||||
/*******************************************************************************************/
|
||||
|
||||
/* Trac<61>a l'<27>ran d'un pad:
|
||||
* Entree :
|
||||
* ptr_pad = pointeur sur le pad du module
|
||||
* offset = offset de trace
|
||||
* draw_mode = mode de trace ( GR_OR, GR_XOR, GR_AND)
|
||||
/** Draw a pad:
|
||||
* @param DC = device context
|
||||
* @param offset = draw offset
|
||||
* @param draw_mode = mode: GR_OR, GR_XOR, GR_AND...
|
||||
*/
|
||||
{
|
||||
int ii;
|
||||
|
@ -239,20 +238,23 @@ void D_PAD::Draw( WinEDA_DrawPanel* panel, wxDC* DC, const wxPoint& offset, int
|
|||
wxPoint coord[4];
|
||||
int zoom;
|
||||
int fillpad = 0;
|
||||
WinEDA_BasePcbFrame* frame;
|
||||
WinEDA_BasePcbFrame* frame = NULL;
|
||||
wxPoint shape_pos;
|
||||
|
||||
PCB_SCREEN* screen = panel ?
|
||||
(PCB_SCREEN*) panel->m_Parent->m_CurrentScreen :
|
||||
(PCB_SCREEN*) ActiveScreen;
|
||||
|
||||
// @todo: if panel could have been NULL above, how can we dereference it here safely?
|
||||
if ( panel ) // Use current frame setting
|
||||
{
|
||||
frame = (WinEDA_BasePcbFrame*) panel->m_Parent;
|
||||
|
||||
/* Calcul de l'aspect du pad */
|
||||
if( frame->m_DisplayPadFill == FILLED )
|
||||
}
|
||||
else // Use board frame setting
|
||||
if( DisplayOpt.DisplayPadFill == FILLED )
|
||||
fillpad = 1;
|
||||
|
||||
if( frame->m_DisplayPadFill == FILLED )
|
||||
fillpad = 1;
|
||||
zoom = screen->GetZoom();
|
||||
|
||||
#ifdef PCBNEW
|
||||
|
@ -334,7 +336,7 @@ void D_PAD::Draw( WinEDA_DrawPanel* panel, wxDC* DC, const wxPoint& offset, int
|
|||
if( m_Attribut==SMD && DisplayOpt.ContrastModeDisplay )
|
||||
{
|
||||
// when routing tracks
|
||||
if( frame->m_ID_current_state == ID_TRACK_BUTT )
|
||||
if( frame && frame->m_ID_current_state == ID_TRACK_BUTT )
|
||||
{
|
||||
int routeTop = screen->m_Route_Layer_TOP;
|
||||
int routeBot = screen->m_Route_Layer_BOTTOM;
|
||||
|
@ -592,8 +594,8 @@ void D_PAD::Draw( WinEDA_DrawPanel* panel, wxDC* DC, const wxPoint& offset, int
|
|||
cx0 - dx0, cy0 + dx0, 0, nc_color );
|
||||
}
|
||||
|
||||
/* Trace de la reference */
|
||||
if( !frame->m_DisplayPadNum )
|
||||
/* Draw the pad number */
|
||||
if( frame && !frame->m_DisplayPadNum )
|
||||
return;
|
||||
|
||||
dx = MIN( m_Size.x, m_Size.y ); /* dx = text size */
|
||||
|
|
|
@ -27,15 +27,11 @@
|
|||
|
||||
#include "dialog_display_options.h"
|
||||
|
||||
/* Fonctions locales */
|
||||
|
||||
/* variables locales */
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
void WinEDA_DisplayOptionsDialog::AcceptPcbOptions(wxCommandEvent& event)
|
||||
/*************************************************************************/
|
||||
/* Met a jour les options
|
||||
/* Update variables with new options
|
||||
*/
|
||||
{
|
||||
if ( m_Show_Page_Limits->GetSelection() == 0 ) g_ShowPageLimits = TRUE;
|
||||
|
@ -159,12 +155,14 @@ bool WinEDA_DisplayOptionsDialog::Create( wxWindow* parent, wxWindowID id, const
|
|||
////@end WinEDA_DisplayOptionsDialog member initialisation
|
||||
|
||||
////@begin WinEDA_DisplayOptionsDialog creation
|
||||
SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);
|
||||
SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
|
||||
wxDialog::Create( parent, id, caption, pos, size, style );
|
||||
|
||||
CreateControls();
|
||||
GetSizer()->Fit(this);
|
||||
if (GetSizer())
|
||||
{
|
||||
GetSizer()->SetSizeHints(this);
|
||||
}
|
||||
Centre();
|
||||
////@end WinEDA_DisplayOptionsDialog creation
|
||||
return true;
|
||||
|
@ -178,7 +176,7 @@ void WinEDA_DisplayOptionsDialog::CreateControls()
|
|||
{
|
||||
SetFont(*g_DialogFont);
|
||||
////@begin WinEDA_DisplayOptionsDialog content construction
|
||||
// Generated by DialogBlocks, 26/02/2006 15:47:05 (unregistered)
|
||||
// Generated by DialogBlocks, 29/10/2007 15:06:02 (unregistered)
|
||||
|
||||
WinEDA_DisplayOptionsDialog* itemDialog1 = this;
|
||||
|
||||
|
@ -189,27 +187,27 @@ void WinEDA_DisplayOptionsDialog::CreateControls()
|
|||
wxStaticBoxSizer* itemStaticBoxSizer3 = new wxStaticBoxSizer(itemStaticBoxSizer3Static, wxVERTICAL);
|
||||
itemBoxSizer2->Add(itemStaticBoxSizer3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
|
||||
wxString m_OptDisplayTracksStrings[] = {
|
||||
_("Sketch"),
|
||||
_("Filled")
|
||||
};
|
||||
m_OptDisplayTracks = new wxRadioBox( itemDialog1, ID_RADIOBOX_OPT_TRACK, _("Tracks:"), wxDefaultPosition, wxDefaultSize, 2, m_OptDisplayTracksStrings, 1, wxRA_SPECIFY_COLS );
|
||||
wxArrayString m_OptDisplayTracksStrings;
|
||||
m_OptDisplayTracksStrings.Add(_("Sketch"));
|
||||
m_OptDisplayTracksStrings.Add(_("Filled"));
|
||||
m_OptDisplayTracks = new wxRadioBox( itemDialog1, ID_RADIOBOX_OPT_TRACK, _("Tracks:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayTracksStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayTracks->SetSelection(0);
|
||||
itemStaticBoxSizer3->Add(m_OptDisplayTracks, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxString m_OptDisplayTracksClearanceStrings[] = {
|
||||
_("Always"),
|
||||
_("New track"),
|
||||
_("Never")
|
||||
};
|
||||
m_OptDisplayTracksClearance = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOWCLR, _("Show Track Clearance"), wxDefaultPosition, wxDefaultSize, 3, m_OptDisplayTracksClearanceStrings, 1, wxRA_SPECIFY_COLS );
|
||||
wxArrayString m_OptDisplayTracksClearanceStrings;
|
||||
m_OptDisplayTracksClearanceStrings.Add(_("Always"));
|
||||
m_OptDisplayTracksClearanceStrings.Add(_("New track"));
|
||||
m_OptDisplayTracksClearanceStrings.Add(_("Never"));
|
||||
m_OptDisplayTracksClearance = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOWCLR, _("Show Track Clearance"), wxDefaultPosition, wxDefaultSize, m_OptDisplayTracksClearanceStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayTracksClearance->SetSelection(0);
|
||||
itemStaticBoxSizer3->Add(m_OptDisplayTracksClearance, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxString m_OptDisplayViaHoleStrings[] = {
|
||||
_("Never"),
|
||||
_("defined holes"),
|
||||
_("Always")
|
||||
};
|
||||
m_OptDisplayViaHole = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOW_VIAS, _("Show Via Holes"), wxDefaultPosition, wxDefaultSize, 3, m_OptDisplayViaHoleStrings, 1, wxRA_SPECIFY_COLS );
|
||||
wxArrayString m_OptDisplayViaHoleStrings;
|
||||
m_OptDisplayViaHoleStrings.Add(_("Never"));
|
||||
m_OptDisplayViaHoleStrings.Add(_("defined holes"));
|
||||
m_OptDisplayViaHoleStrings.Add(_("Always"));
|
||||
m_OptDisplayViaHole = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOW_VIAS, _("Show Via Holes"), wxDefaultPosition, wxDefaultSize, m_OptDisplayViaHoleStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayViaHole->SetSelection(0);
|
||||
itemStaticBoxSizer3->Add(m_OptDisplayViaHole, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxStaticBox* itemStaticBoxSizer7Static = new wxStaticBox(itemDialog1, wxID_ANY, _("Modules"));
|
||||
|
@ -219,71 +217,75 @@ void WinEDA_DisplayOptionsDialog::CreateControls()
|
|||
wxBoxSizer* itemBoxSizer8 = new wxBoxSizer(wxVERTICAL);
|
||||
itemStaticBoxSizer7->Add(itemBoxSizer8, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxString m_OptDisplayModTextsStrings[] = {
|
||||
_("Line"),
|
||||
_("Filled"),
|
||||
_("Sketch")
|
||||
};
|
||||
m_OptDisplayModTexts = new wxRadioBox( itemDialog1, ID_RADIOBOX_MODTXT, _("Module Texts"), wxDefaultPosition, wxDefaultSize, 3, m_OptDisplayModTextsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
wxArrayString m_OptDisplayModTextsStrings;
|
||||
m_OptDisplayModTextsStrings.Add(_("Line"));
|
||||
m_OptDisplayModTextsStrings.Add(_("Filled"));
|
||||
m_OptDisplayModTextsStrings.Add(_("Sketch"));
|
||||
m_OptDisplayModTexts = new wxRadioBox( itemDialog1, ID_RADIOBOX_MODTXT, _("Module Texts"), wxDefaultPosition, wxDefaultSize, m_OptDisplayModTextsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayModTexts->SetSelection(0);
|
||||
itemBoxSizer8->Add(m_OptDisplayModTexts, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxString m_OptDisplayModEdgesStrings[] = {
|
||||
_("Line"),
|
||||
_("Filled"),
|
||||
_("Sketch")
|
||||
};
|
||||
m_OptDisplayModEdges = new wxRadioBox( itemDialog1, ID_RADIOBOX_MOD_EDGES, _("Module Edges:"), wxDefaultPosition, wxDefaultSize, 3, m_OptDisplayModEdgesStrings, 1, wxRA_SPECIFY_COLS );
|
||||
wxArrayString m_OptDisplayModEdgesStrings;
|
||||
m_OptDisplayModEdgesStrings.Add(_("Line"));
|
||||
m_OptDisplayModEdgesStrings.Add(_("Filled"));
|
||||
m_OptDisplayModEdgesStrings.Add(_("Sketch"));
|
||||
m_OptDisplayModEdges = new wxRadioBox( itemDialog1, ID_RADIOBOX_MOD_EDGES, _("Module Edges:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayModEdgesStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayModEdges->SetSelection(0);
|
||||
itemBoxSizer8->Add(m_OptDisplayModEdges, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxBoxSizer* itemBoxSizer11 = new wxBoxSizer(wxVERTICAL);
|
||||
itemStaticBoxSizer7->Add(itemBoxSizer11, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxString m_OptDisplayPadsStrings[] = {
|
||||
_("Sketch"),
|
||||
_("Filled")
|
||||
};
|
||||
m_OptDisplayPads = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOWPADS, _("Pads:"), wxDefaultPosition, wxDefaultSize, 2, m_OptDisplayPadsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
itemBoxSizer11->Add(m_OptDisplayPads, 0, wxGROW|wxALL, 5);
|
||||
wxStaticBox* itemStaticBoxSizer12Static = new wxStaticBox(itemDialog1, wxID_ANY, _("Pad Options:"));
|
||||
wxStaticBoxSizer* itemStaticBoxSizer12 = new wxStaticBoxSizer(itemStaticBoxSizer12Static, wxVERTICAL);
|
||||
itemBoxSizer11->Add(itemStaticBoxSizer12, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
||||
|
||||
wxArrayString m_OptDisplayPadsStrings;
|
||||
m_OptDisplayPadsStrings.Add(_("Sketch"));
|
||||
m_OptDisplayPadsStrings.Add(_("Filled"));
|
||||
m_OptDisplayPads = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOWPADS, _("Pad Shapes:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayPadsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayPads->SetSelection(0);
|
||||
itemStaticBoxSizer12->Add(m_OptDisplayPads, 0, wxGROW|wxALL, 5);
|
||||
|
||||
m_OptDisplayPadClearence = new wxCheckBox( itemDialog1, ID_CHECKBOX_PAD_CLR, _("Show Pad Clearance"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE );
|
||||
m_OptDisplayPadClearence->SetValue(false);
|
||||
itemBoxSizer11->Add(m_OptDisplayPadClearence, 0, wxGROW|wxALL, 5);
|
||||
itemStaticBoxSizer12->Add(m_OptDisplayPadClearence, 0, wxGROW|wxALL, 5);
|
||||
|
||||
m_OptDisplayPadNumber = new wxCheckBox( itemDialog1, ID_CHECKBOX_PADNUM, _("Show Pad Number"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE );
|
||||
m_OptDisplayPadNumber->SetValue(false);
|
||||
itemBoxSizer11->Add(m_OptDisplayPadNumber, 0, wxGROW|wxALL, 5);
|
||||
itemStaticBoxSizer12->Add(m_OptDisplayPadNumber, 0, wxGROW|wxALL, 5);
|
||||
|
||||
m_OptDisplayPadNoConn = new wxCheckBox( itemDialog1, ID_CHECKBOX_PADNC, _("Show Pad NoConnect"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE );
|
||||
m_OptDisplayPadNoConn->SetValue(false);
|
||||
itemBoxSizer11->Add(m_OptDisplayPadNoConn, 0, wxGROW|wxALL, 5);
|
||||
itemStaticBoxSizer12->Add(m_OptDisplayPadNoConn, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxBoxSizer* itemBoxSizer16 = new wxBoxSizer(wxVERTICAL);
|
||||
itemBoxSizer2->Add(itemBoxSizer16, 0, wxGROW|wxALL, 5);
|
||||
wxBoxSizer* itemBoxSizer17 = new wxBoxSizer(wxVERTICAL);
|
||||
itemBoxSizer2->Add(itemBoxSizer17, 1, wxGROW|wxALL, 5);
|
||||
|
||||
wxString m_OptDisplayDrawingsStrings[] = {
|
||||
_("Line"),
|
||||
_("Filled"),
|
||||
_("Sketch")
|
||||
};
|
||||
m_OptDisplayDrawings = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOW_OTHERS, _("Display other items:"), wxDefaultPosition, wxDefaultSize, 3, m_OptDisplayDrawingsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
itemBoxSizer16->Add(m_OptDisplayDrawings, 0, wxGROW|wxALL, 5);
|
||||
wxArrayString m_OptDisplayDrawingsStrings;
|
||||
m_OptDisplayDrawingsStrings.Add(_("Line"));
|
||||
m_OptDisplayDrawingsStrings.Add(_("Filled"));
|
||||
m_OptDisplayDrawingsStrings.Add(_("Sketch"));
|
||||
m_OptDisplayDrawings = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOW_OTHERS, _("Display other items:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayDrawingsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayDrawings->SetSelection(0);
|
||||
itemBoxSizer17->Add(m_OptDisplayDrawings, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxString m_Show_Page_LimitsStrings[] = {
|
||||
_("Yes"),
|
||||
_("No")
|
||||
};
|
||||
m_Show_Page_Limits = new wxRadioBox( itemDialog1, ID_RADIOBOX_PAGE_LIMITS, _("Show page limits"), wxDefaultPosition, wxDefaultSize, 2, m_Show_Page_LimitsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
itemBoxSizer16->Add(m_Show_Page_Limits, 0, wxGROW|wxALL, 5);
|
||||
wxArrayString m_Show_Page_LimitsStrings;
|
||||
m_Show_Page_LimitsStrings.Add(_("Yes"));
|
||||
m_Show_Page_LimitsStrings.Add(_("No"));
|
||||
m_Show_Page_Limits = new wxRadioBox( itemDialog1, ID_RADIOBOX_PAGE_LIMITS, _("Show page limits"), wxDefaultPosition, wxDefaultSize, m_Show_Page_LimitsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_Show_Page_Limits->SetSelection(0);
|
||||
itemBoxSizer17->Add(m_Show_Page_Limits, 0, wxGROW|wxALL, 5);
|
||||
|
||||
itemBoxSizer16->Add(5, 5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
||||
itemBoxSizer17->Add(5, 5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
||||
|
||||
wxButton* itemButton20 = new wxButton( itemDialog1, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemButton20->SetForegroundColour(wxColour(202, 0, 0));
|
||||
itemBoxSizer16->Add(itemButton20, 0, wxGROW|wxALL, 5);
|
||||
wxButton* itemButton21 = new wxButton( itemDialog1, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemButton21->SetForegroundColour(wxColour(202, 0, 0));
|
||||
itemBoxSizer17->Add(itemButton21, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxButton* itemButton21 = new wxButton( itemDialog1, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemButton21->SetForegroundColour(wxColour(0, 0, 255));
|
||||
itemBoxSizer16->Add(itemButton21, 0, wxGROW|wxALL, 5);
|
||||
wxButton* itemButton22 = new wxButton( itemDialog1, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemButton22->SetForegroundColour(wxColour(0, 0, 255));
|
||||
itemBoxSizer17->Add(itemButton22, 0, wxGROW|wxALL, 5);
|
||||
|
||||
// Set validators
|
||||
m_OptDisplayViaHole->SetValidator( wxGenericValidator(& DisplayOpt.m_DisplayViaMode) );
|
||||
|
@ -352,3 +354,5 @@ void WinEDA_DisplayOptionsDialog::OnCancelClick( wxCommandEvent& event )
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -39,11 +39,6 @@
|
|||
|
||||
////@begin control identifiers
|
||||
#define ID_DIALOG 10000
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|MAYBE_RESIZE_BORDER
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_TITLE _("Display Options")
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_IDNAME ID_DIALOG
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_SIZE wxSize(400, 300)
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_POSITION wxDefaultPosition
|
||||
#define ID_RADIOBOX_OPT_TRACK 10001
|
||||
#define ID_RADIOBOX_SHOWCLR 10002
|
||||
#define ID_RADIOBOX_SHOW_VIAS 10003
|
||||
|
@ -55,6 +50,11 @@
|
|||
#define ID_CHECKBOX_PADNC 10010
|
||||
#define ID_RADIOBOX_SHOW_OTHERS 10011
|
||||
#define ID_RADIOBOX_PAGE_LIMITS 10006
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|MAYBE_RESIZE_BORDER
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_TITLE _("Display Options")
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_IDNAME ID_DIALOG
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_SIZE wxSize(400, 300)
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_POSITION wxDefaultPosition
|
||||
////@end control identifiers
|
||||
|
||||
/*!
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="windows-1252"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<anthemion-project version="1.0.0.0" xmlns="http://www.anthemion.co.uk">
|
||||
<header>
|
||||
<long name="name_counter">0</long>
|
||||
|
@ -6,18 +6,20 @@
|
|||
<string name="title">""</string>
|
||||
<string name="author">""</string>
|
||||
<string name="description">""</string>
|
||||
<long name="doc_count">28</long>
|
||||
<string name="xrc_filename">""</string>
|
||||
<bool name="convert_images_to_xpm">0</bool>
|
||||
<bool name="inline_images">0</bool>
|
||||
<bool name="generate_cpp_for_xrc">0</bool>
|
||||
<long name="working_mode">1</long>
|
||||
<bool name="use_help_text_for_tooltips">1</bool>
|
||||
<bool name="translate_strings">1</bool>
|
||||
<bool name="make_unicode_strings">1</bool>
|
||||
<bool name="extract_strings">0</bool>
|
||||
<string name="user_name">"jean-pierre Charras"</string>
|
||||
<string name="copyright_string">"License GNU"</string>
|
||||
<string name="resource_prefix">""</string>
|
||||
<bool name="use_two_step_construction">0</bool>
|
||||
<bool name="use_enums">0</bool>
|
||||
<string name="current_platform">"<All platforms>"</string>
|
||||
<string name="target_wx_version">"<Any>"</string>
|
||||
<string name="cpp_header_comment">"/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -43,12 +45,6 @@
|
|||
// Licence:
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
"</string>
|
||||
<string name="cpp_function_comment">"
|
||||
/*!
|
||||
* %BODY%
|
||||
*/
|
||||
|
||||
"</string>
|
||||
<string name="cpp_symbols_file_comment">"/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: %SYMBOLS-FILENAME%
|
||||
|
@ -82,6 +78,14 @@
|
|||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
"</string>
|
||||
<string name="cpp_function_declaration_comment">" /// %BODY%
|
||||
"</string>
|
||||
<string name="cpp_function_implementation_comment">"
|
||||
/*!
|
||||
* %BODY%
|
||||
*/
|
||||
|
||||
"</string>
|
||||
<string name="resource_file_header">"app_resources.h"</string>
|
||||
<string name="resource_file_implementation">"app_resources.cpp"</string>
|
||||
|
@ -93,11 +97,22 @@
|
|||
<string name="external_symbol_filenames">""</string>
|
||||
<string name="configuration">"<None>"</string>
|
||||
<string name="source_encoding">"<System>"</string>
|
||||
<string name="xrc_encoding">"utf-8"</string>
|
||||
<string name="project_encoding">"<System>"</string>
|
||||
<string name="resource_archive">""</string>
|
||||
<long name="text_file_type">0</long>
|
||||
<bool name="use_tabs">0</bool>
|
||||
<long name="indent_size">4</long>
|
||||
<string name="whitespace_after_return_type">" "</string>
|
||||
<string name="resource_xrc_cpp">""</string>
|
||||
<bool name="use_resource_archive">0</bool>
|
||||
<bool name="use_generated_xrc_cpp">0</bool>
|
||||
<bool name="always_generate_xrc">1</bool>
|
||||
<bool name="archive_xrc_files">1</bool>
|
||||
<bool name="archive_image_files">1</bool>
|
||||
<bool name="archive_all_image_files">0</bool>
|
||||
<bool name="xrc_retain_relative_paths">1</bool>
|
||||
<bool name="xrc_generate_id_tags">0</bool>
|
||||
</header>
|
||||
<data>
|
||||
<document>
|
||||
|
@ -174,7 +189,7 @@
|
|||
<long name="is-transient">1</long>
|
||||
<long name="owns-file">1</long>
|
||||
<long name="title-mode">0</long>
|
||||
<long name="locked">0</long>
|
||||
<long name="locked">1</long>
|
||||
<document>
|
||||
<string name="title">"Windows"</string>
|
||||
<string name="type">"html-document"</string>
|
||||
|
@ -198,7 +213,10 @@
|
|||
<long name="base-id">10000</long>
|
||||
<bool name="use-id-prefix">0</bool>
|
||||
<string name="id-prefix">""</string>
|
||||
<bool name="use-id-suffix">0</bool>
|
||||
<string name="id-suffix">""</string>
|
||||
<long name="use-xrc">0</long>
|
||||
<long name="working-mode">0</long>
|
||||
<string name="proxy-Id name">"ID_DIALOG"</string>
|
||||
<long name="proxy-Id value">10000</long>
|
||||
<string name="proxy-Class">"WinEDA_DisplayOptionsDialog"</string>
|
||||
|
@ -219,6 +237,13 @@
|
|||
<bool name="proxy-Hidden">0</bool>
|
||||
<bool name="proxy-Enabled">1</bool>
|
||||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<string name="proxy-Texture">""</string>
|
||||
<string name="proxy-Texture style">"Tiled"</string>
|
||||
<bool name="proxy-wxDEFAULT_DIALOG_STYLE">0</bool>
|
||||
<bool name="proxy-wxCAPTION">1</bool>
|
||||
<bool name="proxy-wxRESIZE_BORDER">0</bool>
|
||||
|
@ -237,7 +262,9 @@
|
|||
<bool name="proxy-wxRAISED_BORDER">0</bool>
|
||||
<bool name="proxy-wxSTATIC_BORDER">0</bool>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxCLIP_CHILDREN ">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxCLIP_CHILDREN">0</bool>
|
||||
<bool name="proxy-wxTAB_TRAVERSAL">0</bool>
|
||||
<bool name="proxy-wxWS_EX_VALIDATE_RECURSIVELY">0</bool>
|
||||
<bool name="proxy-wxWS_EX_BLOCK_EVENTS">1</bool>
|
||||
|
@ -249,6 +276,7 @@
|
|||
<long name="proxy-Y">-1</long>
|
||||
<long name="proxy-Width">400</long>
|
||||
<long name="proxy-Height">300</long>
|
||||
<bool name="proxy-AUI manager">0</bool>
|
||||
<string name="proxy-Event sources">""</string>
|
||||
<document>
|
||||
<string name="title">"wxBoxSizer H"</string>
|
||||
|
@ -280,13 +308,14 @@
|
|||
<string name="proxy-Id name">"wxID_ANY"</string>
|
||||
<long name="proxy-Id value">-1</long>
|
||||
<string name="proxy-Label">"Tracks and vias"</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Sizer member variable name">""</string>
|
||||
<string name="proxy-Foreground colour">""</string>
|
||||
<string name="proxy-Font">""</string>
|
||||
<bool name="proxy-Hidden">0</bool>
|
||||
<bool name="proxy-Enabled">1</bool>
|
||||
<string name="proxy-Static box class">"wxStaticBox"</string>
|
||||
<string name="proxy-Orientation">"Vertical"</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-AlignH">"Centre"</string>
|
||||
<string name="proxy-AlignV">"Centre"</string>
|
||||
<long name="proxy-Stretch factor">0</long>
|
||||
|
@ -312,10 +341,18 @@
|
|||
<string name="proxy-type">"wbRadioBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_RADIOBOX_OPT_TRACK"</string>
|
||||
<long name="proxy-Id value">10001</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxRadioBox"</string>
|
||||
<string name="proxy-Base class">"wxRadioBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_OptDisplayTracks"</string>
|
||||
<string name="proxy-Label">"Tracks:"</string>
|
||||
<long name="proxy-Major dimension count">1</long>
|
||||
<string name="proxy-Items">"Sketch|Filled"</string>
|
||||
<long name="proxy-Initial value">0</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
|
@ -326,10 +363,16 @@
|
|||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<bool name="proxy-wxRA_SPECIFY_ROWS">0</bool>
|
||||
<bool name="proxy-wxRA_SPECIFY_COLS">1</bool>
|
||||
<string name="proxy-Items">"Sketch|Filled"</string>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -362,10 +405,18 @@
|
|||
<string name="proxy-type">"wbRadioBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_RADIOBOX_SHOWCLR"</string>
|
||||
<long name="proxy-Id value">10002</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxRadioBox"</string>
|
||||
<string name="proxy-Base class">"wxRadioBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_OptDisplayTracksClearance"</string>
|
||||
<string name="proxy-Label">"Show Track Clearance"</string>
|
||||
<long name="proxy-Major dimension count">1</long>
|
||||
<string name="proxy-Items">"Always|New track|Never"</string>
|
||||
<long name="proxy-Initial value">0</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
|
@ -376,10 +427,16 @@
|
|||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<bool name="proxy-wxRA_SPECIFY_ROWS">0</bool>
|
||||
<bool name="proxy-wxRA_SPECIFY_COLS">1</bool>
|
||||
<string name="proxy-Items">"Always|New track|Never"</string>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -412,10 +469,18 @@
|
|||
<string name="proxy-type">"wbRadioBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_RADIOBOX_SHOW_VIAS"</string>
|
||||
<long name="proxy-Id value">10003</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxRadioBox"</string>
|
||||
<string name="proxy-Base class">"wxRadioBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_OptDisplayViaHole"</string>
|
||||
<string name="proxy-Label">"Show Via Holes"</string>
|
||||
<long name="proxy-Major dimension count">1</long>
|
||||
<string name="proxy-Items">"Never|defined holes|Always"</string>
|
||||
<long name="proxy-Initial value">0</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
|
@ -426,10 +491,16 @@
|
|||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<string name="proxy-Data variable">"DisplayOpt.m_DisplayViaMode"</string>
|
||||
<string name="proxy-Data validator">"wxGenericValidator(& %VARIABLE%)"</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<bool name="proxy-wxRA_SPECIFY_ROWS">0</bool>
|
||||
<bool name="proxy-wxRA_SPECIFY_COLS">1</bool>
|
||||
<string name="proxy-Items">"Never|defined holes|Always"</string>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -464,13 +535,14 @@
|
|||
<string name="proxy-Id name">"wxID_ANY"</string>
|
||||
<long name="proxy-Id value">-1</long>
|
||||
<string name="proxy-Label">"Modules"</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Sizer member variable name">""</string>
|
||||
<string name="proxy-Foreground colour">""</string>
|
||||
<string name="proxy-Font">""</string>
|
||||
<bool name="proxy-Hidden">0</bool>
|
||||
<bool name="proxy-Enabled">1</bool>
|
||||
<string name="proxy-Static box class">"wxStaticBox"</string>
|
||||
<string name="proxy-Orientation">"Horizontal"</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-AlignH">"Centre"</string>
|
||||
<string name="proxy-AlignV">"Expand"</string>
|
||||
<long name="proxy-Stretch factor">0</long>
|
||||
|
@ -521,10 +593,18 @@
|
|||
<string name="proxy-type">"wbRadioBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_RADIOBOX_MODTXT"</string>
|
||||
<long name="proxy-Id value">10004</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxRadioBox"</string>
|
||||
<string name="proxy-Base class">"wxRadioBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_OptDisplayModTexts"</string>
|
||||
<string name="proxy-Label">"Module Texts"</string>
|
||||
<long name="proxy-Major dimension count">1</long>
|
||||
<string name="proxy-Items">"Line|Filled|Sketch"</string>
|
||||
<long name="proxy-Initial value">0</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
|
@ -535,10 +615,16 @@
|
|||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<string name="proxy-Data variable">"DisplayOpt.DisplayModText"</string>
|
||||
<string name="proxy-Data validator">"wxGenericValidator(& %VARIABLE%)"</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<bool name="proxy-wxRA_SPECIFY_ROWS">0</bool>
|
||||
<bool name="proxy-wxRA_SPECIFY_COLS">1</bool>
|
||||
<string name="proxy-Items">"Line|Filled|Sketch"</string>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -571,10 +657,18 @@
|
|||
<string name="proxy-type">"wbRadioBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_RADIOBOX_MOD_EDGES"</string>
|
||||
<long name="proxy-Id value">10005</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxRadioBox"</string>
|
||||
<string name="proxy-Base class">"wxRadioBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_OptDisplayModEdges"</string>
|
||||
<string name="proxy-Label">"Module Edges:"</string>
|
||||
<long name="proxy-Major dimension count">1</long>
|
||||
<string name="proxy-Items">"Line|Filled|Sketch"</string>
|
||||
<long name="proxy-Initial value">0</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
|
@ -585,10 +679,16 @@
|
|||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<string name="proxy-Data variable">"DisplayOpt.DisplayModEdge"</string>
|
||||
<string name="proxy-Data validator">"wxGenericValidator(& %VARIABLE%)"</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<bool name="proxy-wxRA_SPECIFY_ROWS">0</bool>
|
||||
<bool name="proxy-wxRA_SPECIFY_COLS">1</bool>
|
||||
<string name="proxy-Items">"Line|Filled|Sketch"</string>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -634,6 +734,40 @@
|
|||
<bool name="proxy-wxADJUST_MINSIZE">0</bool>
|
||||
<bool name="proxy-wxFIXED_MINSIZE">0</bool>
|
||||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<document>
|
||||
<string name="title">"wxStaticBoxSizer V"</string>
|
||||
<string name="type">"dialog-control-document"</string>
|
||||
<string name="filename">""</string>
|
||||
<string name="icon-name">"sizer"</string>
|
||||
<long name="is-transient">0</long>
|
||||
<long name="owns-file">1</long>
|
||||
<long name="title-mode">0</long>
|
||||
<long name="locked">0</long>
|
||||
<string name="created">"29/10/2007"</string>
|
||||
<string name="proxy-type">"wbStaticBoxSizerProxy"</string>
|
||||
<string name="proxy-Id name">"wxID_ANY"</string>
|
||||
<long name="proxy-Id value">-1</long>
|
||||
<string name="proxy-Label">"Pad Options:"</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Sizer member variable name">""</string>
|
||||
<string name="proxy-Foreground colour">""</string>
|
||||
<string name="proxy-Font">""</string>
|
||||
<bool name="proxy-Hidden">0</bool>
|
||||
<bool name="proxy-Enabled">1</bool>
|
||||
<string name="proxy-Static box class">"wxStaticBox"</string>
|
||||
<string name="proxy-Orientation">"Vertical"</string>
|
||||
<string name="proxy-AlignH">"Centre"</string>
|
||||
<string name="proxy-AlignV">"Centre"</string>
|
||||
<long name="proxy-Stretch factor">0</long>
|
||||
<long name="proxy-Border">5</long>
|
||||
<bool name="proxy-wxLEFT">1</bool>
|
||||
<bool name="proxy-wxRIGHT">1</bool>
|
||||
<bool name="proxy-wxTOP">1</bool>
|
||||
<bool name="proxy-wxBOTTOM">1</bool>
|
||||
<bool name="proxy-wxSHAPED">0</bool>
|
||||
<bool name="proxy-wxADJUST_MINSIZE">0</bool>
|
||||
<bool name="proxy-wxFIXED_MINSIZE">0</bool>
|
||||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<document>
|
||||
<string name="title">"wxRadioBox: ID_RADIOBOX_SHOWPADS"</string>
|
||||
<string name="type">"dialog-control-document"</string>
|
||||
|
@ -643,14 +777,22 @@
|
|||
<long name="owns-file">1</long>
|
||||
<long name="title-mode">0</long>
|
||||
<long name="locked">0</long>
|
||||
<string name="created">"25/4/2006"</string>
|
||||
<string name="created">"29/10/2007"</string>
|
||||
<string name="proxy-type">"wbRadioBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_RADIOBOX_SHOWPADS"</string>
|
||||
<long name="proxy-Id value">10007</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxRadioBox"</string>
|
||||
<string name="proxy-Base class">"wxRadioBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_OptDisplayPads"</string>
|
||||
<string name="proxy-Label">"Pads:"</string>
|
||||
<string name="proxy-Label">"Pad Shapes:"</string>
|
||||
<long name="proxy-Major dimension count">1</long>
|
||||
<string name="proxy-Items">"Sketch|Filled"</string>
|
||||
<long name="proxy-Initial value">0</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
|
@ -661,10 +803,16 @@
|
|||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<bool name="proxy-wxRA_SPECIFY_ROWS">0</bool>
|
||||
<bool name="proxy-wxRA_SPECIFY_COLS">1</bool>
|
||||
<string name="proxy-Items">"Sketch|Filled"</string>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -693,11 +841,17 @@
|
|||
<long name="owns-file">1</long>
|
||||
<long name="title-mode">0</long>
|
||||
<long name="locked">0</long>
|
||||
<string name="created">"25/4/2006"</string>
|
||||
<string name="created">"29/10/2007"</string>
|
||||
<string name="proxy-type">"wbCheckBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_CHECKBOX_PAD_CLR"</string>
|
||||
<long name="proxy-Id value">10008</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxCheckBox"</string>
|
||||
<string name="proxy-Base class">"wxCheckBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_OptDisplayPadClearence"</string>
|
||||
<string name="proxy-Label">"Show Pad Clearance"</string>
|
||||
<bool name="proxy-Initial value">0</bool>
|
||||
|
@ -705,6 +859,11 @@
|
|||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Data variable">"DisplayOpt.DisplayPadIsol"</string>
|
||||
<string name="proxy-Data validator">"wxGenericValidator(& %VARIABLE%)"</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
<string name="proxy-Foreground colour">""</string>
|
||||
<string name="proxy-Font">""</string>
|
||||
|
@ -716,6 +875,8 @@
|
|||
<bool name="proxy-wxCHK_3STATE">0</bool>
|
||||
<bool name="proxy-wxCHK_ALLOW_3RD_STATE_FOR_USER">0</bool>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -744,11 +905,17 @@
|
|||
<long name="owns-file">1</long>
|
||||
<long name="title-mode">0</long>
|
||||
<long name="locked">0</long>
|
||||
<string name="created">"25/4/2006"</string>
|
||||
<string name="created">"29/10/2007"</string>
|
||||
<string name="proxy-type">"wbCheckBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_CHECKBOX_PADNUM"</string>
|
||||
<long name="proxy-Id value">10009</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxCheckBox"</string>
|
||||
<string name="proxy-Base class">"wxCheckBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_OptDisplayPadNumber"</string>
|
||||
<string name="proxy-Label">"Show Pad Number"</string>
|
||||
<bool name="proxy-Initial value">0</bool>
|
||||
|
@ -756,6 +923,11 @@
|
|||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Data variable">"DisplayOpt.DisplayPadNum"</string>
|
||||
<string name="proxy-Data validator">"wxGenericValidator(& %VARIABLE%)"</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
<string name="proxy-Foreground colour">""</string>
|
||||
<string name="proxy-Font">""</string>
|
||||
|
@ -767,6 +939,8 @@
|
|||
<bool name="proxy-wxCHK_3STATE">0</bool>
|
||||
<bool name="proxy-wxCHK_ALLOW_3RD_STATE_FOR_USER">0</bool>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -795,11 +969,17 @@
|
|||
<long name="owns-file">1</long>
|
||||
<long name="title-mode">0</long>
|
||||
<long name="locked">0</long>
|
||||
<string name="created">"25/4/2006"</string>
|
||||
<string name="created">"29/10/2007"</string>
|
||||
<string name="proxy-type">"wbCheckBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_CHECKBOX_PADNC"</string>
|
||||
<long name="proxy-Id value">10010</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxCheckBox"</string>
|
||||
<string name="proxy-Base class">"wxCheckBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_OptDisplayPadNoConn"</string>
|
||||
<string name="proxy-Label">"Show Pad NoConnect"</string>
|
||||
<bool name="proxy-Initial value">0</bool>
|
||||
|
@ -807,6 +987,11 @@
|
|||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Data variable">"DisplayOpt.DisplayPadNoConn"</string>
|
||||
<string name="proxy-Data validator">"wxGenericValidator(& %VARIABLE%)"</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
<string name="proxy-Foreground colour">""</string>
|
||||
<string name="proxy-Font">""</string>
|
||||
|
@ -818,6 +1003,8 @@
|
|||
<bool name="proxy-wxCHK_3STATE">0</bool>
|
||||
<bool name="proxy-wxCHK_ALLOW_3RD_STATE_FOR_USER">0</bool>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -839,6 +1026,7 @@
|
|||
</document>
|
||||
</document>
|
||||
</document>
|
||||
</document>
|
||||
<document>
|
||||
<string name="title">"wxBoxSizer V"</string>
|
||||
<string name="type">"dialog-control-document"</string>
|
||||
|
@ -854,7 +1042,7 @@
|
|||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-AlignH">"Centre"</string>
|
||||
<string name="proxy-AlignV">"Expand"</string>
|
||||
<long name="proxy-Stretch factor">0</long>
|
||||
<long name="proxy-Stretch factor">1</long>
|
||||
<long name="proxy-Border">5</long>
|
||||
<bool name="proxy-wxLEFT">1</bool>
|
||||
<bool name="proxy-wxRIGHT">1</bool>
|
||||
|
@ -877,10 +1065,18 @@
|
|||
<string name="proxy-type">"wbRadioBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_RADIOBOX_SHOW_OTHERS"</string>
|
||||
<long name="proxy-Id value">10011</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxRadioBox"</string>
|
||||
<string name="proxy-Base class">"wxRadioBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_OptDisplayDrawings"</string>
|
||||
<string name="proxy-Label">"Display other items:"</string>
|
||||
<long name="proxy-Major dimension count">1</long>
|
||||
<string name="proxy-Items">"Line|Filled|Sketch"</string>
|
||||
<long name="proxy-Initial value">0</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
|
@ -891,10 +1087,16 @@
|
|||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<string name="proxy-Data variable">"DisplayOpt.DisplayDrawItems"</string>
|
||||
<string name="proxy-Data validator">"wxGenericValidator(& %VARIABLE%)"</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<bool name="proxy-wxRA_SPECIFY_ROWS">0</bool>
|
||||
<bool name="proxy-wxRA_SPECIFY_COLS">1</bool>
|
||||
<string name="proxy-Items">"Line|Filled|Sketch"</string>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -927,10 +1129,18 @@
|
|||
<string name="proxy-type">"wbRadioBoxProxy"</string>
|
||||
<string name="proxy-Id name">"ID_RADIOBOX_PAGE_LIMITS"</string>
|
||||
<long name="proxy-Id value">10006</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxRadioBox"</string>
|
||||
<string name="proxy-Base class">"wxRadioBox"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">"m_Show_Page_Limits"</string>
|
||||
<string name="proxy-Label">"Show page limits"</string>
|
||||
<long name="proxy-Major dimension count">1</long>
|
||||
<string name="proxy-Items">"Yes|No"</string>
|
||||
<long name="proxy-Initial value">0</long>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
|
@ -941,10 +1151,16 @@
|
|||
<string name="proxy-Platform">"<Any platform>"</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<bool name="proxy-wxRA_SPECIFY_ROWS">0</bool>
|
||||
<bool name="proxy-wxRA_SPECIFY_COLS">1</bool>
|
||||
<string name="proxy-Items">"Yes|No"</string>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -1004,12 +1220,25 @@
|
|||
<string name="event-handler-0">"wxEVT_COMMAND_BUTTON_CLICKED|OnOkClick"</string>
|
||||
<string name="proxy-Id name">"wxID_OK"</string>
|
||||
<long name="proxy-Id value">5100</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxButton"</string>
|
||||
<string name="proxy-Base class">"wxButton"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Label">"&OK"</string>
|
||||
<bool name="proxy-Default">0</bool>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
<string name="proxy-Foreground colour">"CA0000"</string>
|
||||
<string name="proxy-Font">""</string>
|
||||
|
@ -1023,6 +1252,8 @@
|
|||
<bool name="proxy-wxBU_EXACTFIT">0</bool>
|
||||
<bool name="proxy-wxNO_BORDER">0</bool>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
@ -1056,12 +1287,25 @@
|
|||
<string name="event-handler-0">"wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick"</string>
|
||||
<string name="proxy-Id name">"wxID_CANCEL"</string>
|
||||
<long name="proxy-Id value">5101</long>
|
||||
<string name="proxy-Name">""</string>
|
||||
<string name="proxy-Class">"wxButton"</string>
|
||||
<string name="proxy-Base class">"wxButton"</string>
|
||||
<bool name="proxy-External implementation">1</bool>
|
||||
<bool name="proxy-Separate files">0</bool>
|
||||
<string name="proxy-Implementation filename">""</string>
|
||||
<string name="proxy-Header filename">""</string>
|
||||
<string name="proxy-Member variable name">""</string>
|
||||
<string name="proxy-Label">"&Cancel"</string>
|
||||
<bool name="proxy-Default">0</bool>
|
||||
<string name="proxy-Help text">""</string>
|
||||
<string name="proxy-Tooltip text">""</string>
|
||||
<string name="proxy-Data variable">""</string>
|
||||
<string name="proxy-Data validator">""</string>
|
||||
<string name="proxy-Data source">""</string>
|
||||
<string name="proxy-Data class name">""</string>
|
||||
<string name="proxy-Data class implementation filename">""</string>
|
||||
<string name="proxy-Data class header filename">""</string>
|
||||
<string name="proxy-Data class manager window">""</string>
|
||||
<string name="proxy-Background colour">""</string>
|
||||
<string name="proxy-Foreground colour">"0000FF"</string>
|
||||
<string name="proxy-Font">""</string>
|
||||
|
@ -1075,6 +1319,8 @@
|
|||
<bool name="proxy-wxBU_EXACTFIT">0</bool>
|
||||
<bool name="proxy-wxNO_BORDER">0</bool>
|
||||
<bool name="proxy-wxWANTS_CHARS">0</bool>
|
||||
<bool name="proxy-wxNO_FULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<bool name="proxy-wxFULL_REPAINT_ON_RESIZE">0</bool>
|
||||
<string name="proxy-Custom styles">""</string>
|
||||
<long name="proxy-X">-1</long>
|
||||
<long name="proxy-Y">-1</long>
|
||||
|
|
|
@ -697,6 +697,11 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
|
|||
DrawPanel->MouseToCursorSchema();
|
||||
break;
|
||||
|
||||
case ID_POPUP_PCB_DELETE_MARKER:
|
||||
RemoveStruct( GetCurItem(), &dc );
|
||||
DrawPanel->MouseToCursorSchema();
|
||||
break;
|
||||
|
||||
case ID_POPUP_PCB_DELETE_DRAWING_LAYER:
|
||||
Delete_Drawings_All_Layer( (DRAWSEGMENT*) GetCurItem(), &dc );
|
||||
SetCurItem( NULL );
|
||||
|
@ -917,7 +922,7 @@ static void Process_Move_Item( WinEDA_PcbFrame* frame,
|
|||
|
||||
|
||||
/***************************************************************/
|
||||
void WinEDA_PcbFrame::RemoveStruct( EDA_BaseStruct* Item, wxDC* DC )
|
||||
void WinEDA_PcbFrame::RemoveStruct( BOARD_ITEM* Item, wxDC* DC )
|
||||
/***************************************************************/
|
||||
{
|
||||
if( Item == NULL )
|
||||
|
@ -958,6 +963,14 @@ void WinEDA_PcbFrame::RemoveStruct( EDA_BaseStruct* Item, wxDC* DC )
|
|||
break;
|
||||
|
||||
case TYPEMARQUEUR:
|
||||
if( Item == GetCurItem() )
|
||||
SetCurItem( NULL );
|
||||
( (MARQUEUR*) Item )->Draw( DrawPanel, DC, GR_XOR );
|
||||
|
||||
/* unlikf item an free the memory
|
||||
* (not put in undelete stack, because this seems unnecessary)
|
||||
*/
|
||||
Item->DeleteStructure();
|
||||
break;
|
||||
|
||||
case TYPEPAD:
|
||||
|
@ -1009,7 +1022,6 @@ void WinEDA_PcbFrame::SwitchLayer( wxDC* DC, int layer )
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// If more than one copper layer is enabled, the "Copper"
|
||||
// and "Component" layers can be selected, but the total
|
||||
// number of copper layers determines which internal
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**************************************/
|
||||
/* PCBNEW.H : d<EFBFBD>larations communes */
|
||||
/* PCBNEW.H : headers */
|
||||
/**************************************/
|
||||
#ifndef PCBNEW_H
|
||||
#define PCBNEW_H
|
||||
|
@ -13,8 +13,8 @@
|
|||
|
||||
#define U_PCB (PCB_INTERNAL_UNIT / EESCHEMA_INTERNAL_UNIT)
|
||||
|
||||
/* valeur de flag indicant si le pointeur de reference pour une localisation
|
||||
* est le curseur sur grille ou le curseur a deplacement fin hors grille */
|
||||
/* Flag used in locate functions
|
||||
* the locate ref point is the on grid cursor or the off grid mouse cursor */
|
||||
#define CURSEUR_ON_GRILLE (0 << 0)
|
||||
#define CURSEUR_OFF_GRILLE (1 << 0)
|
||||
|
||||
|
@ -23,25 +23,25 @@
|
|||
#define VISIBLE_ONLY (1 << 3) ///< if module not on a visible layer, do not select
|
||||
|
||||
|
||||
#define START 0 /* ctes parametre dans les routines de localisation */
|
||||
#define START 0 /* Flag used in locale routines */
|
||||
#define END 1
|
||||
|
||||
#define DIM_ANCRE_MODULE 3 /* dim du symbole de l'ancre (centre) des modules */
|
||||
#define DIM_ANCRE_TEXTE 2 /* dim du symbole de l'ancre (centre) des textes */
|
||||
#define DIM_ANCRE_MODULE 3 /* Anchor size (footprint centre) */
|
||||
#define DIM_ANCRE_TEXTE 2 /* nchor size (Text centre) */
|
||||
|
||||
/* Gestion du Menu Zoom */
|
||||
/* Used in Zoom menu */
|
||||
#define ZOOM_PLUS -1
|
||||
#define ZOOM_MOINS -2
|
||||
#define ZOOM_AUTO -3
|
||||
#define ZOOM_CENTER -4
|
||||
#define ZOOM_REDRAW -5
|
||||
|
||||
/* Definition des cas ou l'on force l'affichage en SKETCH (membre .flags) */
|
||||
/* Flag to force the SKETCH mode to display items (.flags member) */
|
||||
#define FORCE_SKETCH (DRAG | EDIT )
|
||||
|
||||
/* Constantes pour options lecture fichier PCB */
|
||||
#define APPEND_PCB 1 /* pour ajout d'un nouveau circuit */
|
||||
#define NEWPCB 0 /* pour chargement normal */
|
||||
/* Flags used in read board file */
|
||||
#define APPEND_PCB 1 /* used to append the new board to the existing board */
|
||||
#define NEWPCB 0 /* used for normal load file */
|
||||
|
||||
|
||||
eda_global wxArrayString g_LibName_List; // library list to load
|
||||
|
@ -60,7 +60,7 @@ eda_global wxSize g_GridList[]
|
|||
;
|
||||
|
||||
#define UNDELETE_STACK_SIZE 10
|
||||
eda_global BOARD_ITEM* g_UnDeleteStack[UNDELETE_STACK_SIZE]; // Liste des elements supprimes
|
||||
eda_global BOARD_ITEM* g_UnDeleteStack[UNDELETE_STACK_SIZE]; // Linked list of deleted items
|
||||
eda_global int g_UnDeleteStackPtr;
|
||||
|
||||
eda_global bool g_ShowGrid
|
||||
|
@ -82,6 +82,8 @@ eda_global int g_TabOneLayerMask[LAYER_COUNT]
|
|||
0x01000000, 0x02000000, 0x04000000, 0x08000000,
|
||||
0x10000000, 0x20000000, 0x40000000, 0x80000000
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
;
|
||||
|
||||
|
@ -106,8 +108,8 @@ eda_global bool Drc_On
|
|||
= TRUE
|
||||
#endif
|
||||
;
|
||||
eda_global bool g_AutoDeleteOldTrack /* autorise effacement automatique
|
||||
* de l'ancienne piste lors des redessins de pistes */
|
||||
eda_global bool g_AutoDeleteOldTrack /* Allows automatic deletion of the old track after
|
||||
creation of a new track */
|
||||
#ifdef MAIN
|
||||
= TRUE
|
||||
#endif
|
||||
|
@ -126,12 +128,11 @@ eda_global bool g_Raccord_45_Auto
|
|||
= TRUE
|
||||
#endif
|
||||
;
|
||||
eda_global bool g_ShowIsolDuringCreateTrack; /* .State controle l'affichage
|
||||
* de l'isolation en trace de piste */
|
||||
eda_global bool g_ShowIsolDuringCreateTrack; /* Show clearance while track creation */
|
||||
|
||||
/**************************************************************/
|
||||
/* Options d'affichages (remplissages des segments, textes..) */
|
||||
/**************************************************************/
|
||||
/*********************************/
|
||||
/* Displa otions for board items */
|
||||
/*********************************/
|
||||
|
||||
eda_global DISPLAY_OPTIONS DisplayOpt;
|
||||
|
||||
|
@ -142,8 +143,7 @@ eda_global DISPLAY_OPTIONS DisplayOpt;
|
|||
* @param layer One of the two allowed layers for modules: CMP_N or COPPER_LAYER_N
|
||||
* @return bool - true if the layer is visible, else false.
|
||||
*/
|
||||
bool inline IsModuleLayerVisible( int layer )
|
||||
{
|
||||
bool inline IsModuleLayerVisible( int layer ) {
|
||||
if( layer==CMP_N )
|
||||
return DisplayOpt.Show_Modules_Cmp;
|
||||
|
||||
|
@ -159,7 +159,7 @@ eda_global bool Track_45_Only; /* Flag pour limiter l'inclinaison
|
|||
* pistes a 45 degres seulement */
|
||||
eda_global bool Segments_45_Only;/* Flag pour limiter l'inclinaison
|
||||
* edge pcb a 45 degres seulement */
|
||||
eda_global wxString PcbExtBuffer
|
||||
eda_global wxString PcbExtBuffer // Board file extension
|
||||
#ifdef MAIN
|
||||
( wxT( ".brd" ) )
|
||||
#endif
|
||||
|
@ -169,13 +169,13 @@ eda_global wxString g_SaveFileName // File Name for periodic saving
|
|||
( wxT( "$savepcb" ) )
|
||||
#endif
|
||||
;
|
||||
eda_global wxString NetNameBuffer;
|
||||
eda_global wxString NetNameBuffer; // Netlist file extension
|
||||
eda_global wxString NetExtBuffer
|
||||
#ifdef MAIN
|
||||
( wxT( ".net" ) )
|
||||
#endif
|
||||
;
|
||||
eda_global wxString NetCmpExtBuffer
|
||||
eda_global wxString NetCmpExtBuffer // cmp/footprint association file extension
|
||||
#ifdef MAIN
|
||||
( wxT( ".cmp" ) )
|
||||
#endif
|
||||
|
@ -187,7 +187,7 @@ eda_global wxString LibExtBuffer
|
|||
( wxT( ".mod" ) )
|
||||
#endif
|
||||
;
|
||||
eda_global wxString g_Shapes3DExtBuffer // extension des fichiers de formes 3D
|
||||
eda_global wxString g_Shapes3DExtBuffer //3D shape file extension
|
||||
#ifdef MAIN
|
||||
( wxT( ".wrl" ) )
|
||||
#endif
|
||||
|
@ -201,7 +201,8 @@ eda_global int g_CurrentVersionPCB
|
|||
#endif
|
||||
;
|
||||
|
||||
#define BUFMEMSIZE 256000 /* taille du buffer de travail (en octets) */
|
||||
/* A buffer used in some computations (will be removed in next cleanup code, do not use) */
|
||||
#define BUFMEMSIZE 256000 /* buffer size (in bytes) */
|
||||
eda_global char* buf_work; /* pointeur sur le buffer de travail */
|
||||
eda_global char* adr_lowmem; /* adresse de base memoire de calcul disponible*/
|
||||
eda_global char* adr_himem; /* adresse haute limite de la memoire disponible*/
|
||||
|
@ -209,15 +210,16 @@ eda_global char* adr_max; /* adresse haute maxi utilisee pour la memoire *
|
|||
|
||||
|
||||
/* variables g<>erales */
|
||||
eda_global char cbuf[1024]; /* buffer de formatage texte */
|
||||
eda_global BOARD* g_ModuleEditor_Pcb; /* Pointeur de l'entete pcb de l'editeur de module*/
|
||||
eda_global int g_TimeOut; // Duree entre 2 sauvegardes automatiques
|
||||
eda_global int g_SaveTime; // heure de la prochaine sauvegarde
|
||||
|
||||
eda_global char cbuf[1024]; /* buffer for some text printing */
|
||||
eda_global BOARD* g_ModuleEditor_Pcb; /* board used to edit footprints (used by modedit)*/
|
||||
eda_global int g_TimeOut; // Timer for automatic saving
|
||||
eda_global int g_SaveTime; // Time for next saving
|
||||
|
||||
|
||||
/* Variables generales d'empreintes */
|
||||
/* Variables used in footprint handling */
|
||||
extern int Angle_Rot_Module;
|
||||
eda_global wxSize ModuleTextSize; /* dim des textes sur Modules par defaut */
|
||||
eda_global wxSize ModuleTextSize; /* Default footprint texts size */
|
||||
eda_global int ModuleTextWidth;
|
||||
eda_global int ModuleSegmentWidth;
|
||||
eda_global int Texte_Module_Type;
|
||||
|
@ -227,12 +229,12 @@ eda_global int Texte_Module_Type;
|
|||
/* pistes , vias , pads*/
|
||||
/***********************/
|
||||
|
||||
#define L_MIN_DESSIN 1 /* seuil de largeur des pistes pour trace autre que filaire */
|
||||
#define L_MIN_DESSIN 1 /* Min width segments to allow draws with tickness */
|
||||
|
||||
// Current designe settings:
|
||||
eda_global class EDA_BoardDesignSettings g_DesignSettings;
|
||||
|
||||
// valeurs par defaut des caract. des pads
|
||||
// Default values for pad editions
|
||||
#ifndef GERBVIEW
|
||||
#ifdef MAIN
|
||||
D_PAD g_Pad_Master( (MODULE*) NULL );
|
||||
|
@ -243,18 +245,18 @@ extern D_PAD g_Pad_Master;
|
|||
#endif
|
||||
|
||||
|
||||
/* Layer pair for auto routing and switch layers by hotkey */
|
||||
eda_global int Route_Layer_TOP;
|
||||
eda_global int Route_Layer_BOTTOM; /* couches de routage actif */
|
||||
eda_global int Route_Layer_BOTTOM;
|
||||
|
||||
eda_global int g_MaxLinksShowed; // determine le nombre max de links affich<63>
|
||||
// en routage manuel
|
||||
eda_global int g_MaxLinksShowed; // Mxa count links showed in routing
|
||||
eda_global bool g_TwoSegmentTrackBuild // FALSE = 1 segment build, TRUE = 2 45 deg segm build
|
||||
#ifdef MAIN
|
||||
= TRUE
|
||||
#endif
|
||||
;
|
||||
|
||||
/* How to handle magentic pad: feature to move the pcb cursor on a pad center */
|
||||
/* How to handle magnetic pads: feature to move the pcb cursor on a pad center */
|
||||
enum MagneticPadOptionValues {
|
||||
no_effect,
|
||||
capture_cursor_in_track_tool,
|
||||
|
@ -266,16 +268,18 @@ eda_global int g_MagneticPadOption
|
|||
= capture_cursor_in_track_tool
|
||||
#endif
|
||||
;
|
||||
/* Variables to handle hightlight nets */
|
||||
eda_global bool g_HightLigt_Status;
|
||||
eda_global int g_HightLigth_NetCode /* pour mise en surbrillance des pistes */
|
||||
eda_global int g_HightLigth_NetCode
|
||||
#ifdef MAIN
|
||||
= -1
|
||||
#endif
|
||||
; /* net_code du net a mettre en surbrillance */
|
||||
;
|
||||
|
||||
eda_global TRACK* g_CurrentTrackSegment; // pointeur sur le segment en cours de trace
|
||||
eda_global TRACK* g_FirstTrackSegment; // pointeur sur le debut de la piste en cours
|
||||
eda_global int g_TrackSegmentCount; // nombre de points deja traces
|
||||
/* used in track creation : */
|
||||
eda_global TRACK* g_CurrentTrackSegment; // current created segment
|
||||
eda_global TRACK* g_FirstTrackSegment; // first segment created
|
||||
eda_global int g_TrackSegmentCount; // New created segment count
|
||||
|
||||
|
||||
eda_global wxString g_ViaType_Name[4]
|
||||
|
|
|
@ -60,7 +60,7 @@ void WinEDA_DrawFrame::Recadre_Trace( bool ToMouse )
|
|||
/************************************************/
|
||||
void WinEDA_DrawFrame::PutOnGrid( wxPoint* coord )
|
||||
/************************************************/
|
||||
/** Adjust the coordinate to the nearest grig value
|
||||
/** Adjust the coordinate to the nearest grid value
|
||||
* @param coord = coordinate to adjust
|
||||
*/
|
||||
{
|
||||
|
|
10
todo.txt
10
todo.txt
|
@ -48,15 +48,5 @@ compiler can help with this too.
|
|||
understanding by new developers.
|
||||
|
||||
|
||||
*** Implement the graying in/out of "Edit/Undo", "Edit/Redo" menu items,
|
||||
when Undo/Redo stack is empty/filled.
|
||||
|
||||
|
||||
*** Implement action for ID_POPUP_PCB_DELETE_MARKER, since onrightclick.cpp
|
||||
can now identify a marker. To see where the user gets a menu to delete a marker:
|
||||
void WinEDA_PcbFrame::OnRightClick( const wxPoint& aMousePos, wxMenu* aPopMenu )
|
||||
|
||||
|
||||
|
||||
*** Add tooltip text to all non-obvious controls in every dialog window.
|
||||
Need to do this using DialogBlocks.
|
||||
|
|
Loading…
Reference in New Issue