Commit a3c60f36 authored by CHARRAS's avatar CHARRAS

cvpcb: 2 missing .prj files added

parent 8a17ac00
...@@ -4,6 +4,12 @@ Started 2007-June-11 ...@@ -4,6 +4,12 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with Please add newer entries at the top, list the date and your name with
email address. email address.
2007-Oct-24 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+ cvpcb:
2 missing .prj files added (and updated)
dialog_display_option.cpp is rebuild from its dialog_display_option.prj source
2007-Oct-23 UPDATE Geoff Harland <gharlandau@yahoo.com.au> 2007-Oct-23 UPDATE Geoff Harland <gharlandau@yahoo.com.au>
================================================================================ ================================================================================
......
...@@ -261,10 +261,11 @@ wxBitmap KiConfigCvpcbFrame::GetBitmapResource( const wxString& name ) ...@@ -261,10 +261,11 @@ wxBitmap KiConfigCvpcbFrame::GetBitmapResource( const wxString& name )
wxIcon KiConfigCvpcbFrame::GetIconResource( const wxString& name ) wxIcon KiConfigCvpcbFrame::GetIconResource( const wxString& name )
{ {
// Icon retrieval // Icon retrieval
////@begin KiConfigCvpcbFrame icon retrieval #ifdef __WINDOWS__
wxUnusedVar(name); return( wxICON(a_icon_cvpcb));
return wxNullIcon; #else
////@end KiConfigCvpcbFrame icon retrieval return( wxICON(icon_cvpcb));
#endif
} }
/*! /*!
* wxEVT_COMMAND_BUTTON_CLICKED event handler for SAVE_CFG * wxEVT_COMMAND_BUTTON_CLICKED event handler for SAVE_CFG
......
This diff is collapsed.
This diff is collapsed.
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
////@begin includes ////@begin includes
#include "wx/valgen.h" #include "wx/valgen.h"
#include "wx/statline.h"
////@end includes ////@end includes
/*! /*!
...@@ -39,16 +40,17 @@ ...@@ -39,16 +40,17 @@
////@begin control identifiers ////@begin control identifiers
#define ID_DIALOG 10000 #define ID_DIALOG 10000
#define SYMBOL_KIDISPLAYOPTIONSFRAME_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|MAYBE_RESIZE_BORDER #define EDGE_SELECT 10003
#define TEXT_SELECT 10004
#define PADFILL_OPT 10001
#define PADNUM_OPT 10002
#define ID_SAVE_CONFIG 10005
#define ID_STATICLINE1 10007
#define SYMBOL_KIDISPLAYOPTIONSFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_KIDISPLAYOPTIONSFRAME_TITLE _("Options") #define SYMBOL_KIDISPLAYOPTIONSFRAME_TITLE _("Options")
#define SYMBOL_KIDISPLAYOPTIONSFRAME_IDNAME ID_DIALOG #define SYMBOL_KIDISPLAYOPTIONSFRAME_IDNAME ID_DIALOG
#define SYMBOL_KIDISPLAYOPTIONSFRAME_SIZE wxSize(400, 300) #define SYMBOL_KIDISPLAYOPTIONSFRAME_SIZE wxSize(400, 300)
#define SYMBOL_KIDISPLAYOPTIONSFRAME_POSITION wxDefaultPosition #define SYMBOL_KIDISPLAYOPTIONSFRAME_POSITION wxDefaultPosition
#define PADNUM_OPT 10002
#define ID_SAVE_CONFIG 10005
#define PADFILL_OPT 10001
#define EDGE_SELECT 10003
#define TEXT_SELECT 10004
////@end control identifiers ////@end control identifiers
/*! /*!
...@@ -81,6 +83,18 @@ public: ...@@ -81,6 +83,18 @@ public:
////@begin KiDisplayOptionsFrame event handler declarations ////@begin KiDisplayOptionsFrame event handler declarations
/// wxEVT_COMMAND_RADIOBOX_SELECTED event handler for EDGE_SELECT
void OnEdgeSelectSelected( wxCommandEvent& event );
/// wxEVT_COMMAND_RADIOBOX_SELECTED event handler for TEXT_SELECT
void OnTextSelectSelected( wxCommandEvent& event );
/// wxEVT_COMMAND_CHECKBOX_CLICKED event handler for PADFILL_OPT
void OnPadfillOptClick( wxCommandEvent& event );
/// wxEVT_COMMAND_CHECKBOX_CLICKED event handler for PADNUM_OPT
void OnPadnumOptClick( wxCommandEvent& event );
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SAVE_CONFIG /// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SAVE_CONFIG
void OnSaveConfigClick( wxCommandEvent& event ); void OnSaveConfigClick( wxCommandEvent& event );
...@@ -102,19 +116,18 @@ public: ...@@ -102,19 +116,18 @@ public:
/// Retrieves icon resources /// Retrieves icon resources
wxIcon GetIconResource( const wxString& name ); wxIcon GetIconResource( const wxString& name );
/// Updates settings related to edges, text strings, and pads
void UpdateObjectSettings();
////@end KiDisplayOptionsFrame member function declarations ////@end KiDisplayOptionsFrame member function declarations
/// Should we show tooltips? /// Should we show tooltips?
static bool ShowToolTips(); static bool ShowToolTips();
void UpdateObjectSettings(void);
////@begin KiDisplayOptionsFrame member variables ////@begin KiDisplayOptionsFrame member variables
wxRadioBox* m_EdgesDisplayOption; wxRadioBox* m_EdgesDisplayOption;
wxRadioBox* m_TextDisplayOption; wxRadioBox* m_TextDisplayOption;
wxCheckBox* m_IsShowPadNum;
wxCheckBox* m_IsShowPadFill; wxCheckBox* m_IsShowPadFill;
wxCheckBox* m_IsShowPadNum;
////@end KiDisplayOptionsFrame member variables ////@end KiDisplayOptionsFrame member variables
WinEDA_BasePcbFrame * m_Parent; WinEDA_BasePcbFrame * m_Parent;
......
This diff is collapsed.
No preview for this file type
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment