Commit f066aa18 authored by CHARRAS's avatar CHARRAS

test case for OnLeftClick() handling enhancements

parent 10c44291
...@@ -12,6 +12,8 @@ email address. ...@@ -12,6 +12,8 @@ email address.
(SHIHT ou CTRL or ALT key is sufficient to suppress the popup menu (SHIHT ou CTRL or ALT key is sufficient to suppress the popup menu
if needed for a double click ) if needed for a double click )
Some work is still needed, of course Some work is still needed, of course
+ pcbnew
Color grid setting now works
2007-Sep-26 UPDATE Dick Hollenbeck <dick@softplc.com> 2007-Sep-26 UPDATE Dick Hollenbeck <dick@softplc.com>
......
...@@ -343,7 +343,7 @@ void PCB_SCREEN::Init() ...@@ -343,7 +343,7 @@ void PCB_SCREEN::Init()
/*************************/ /*************************/
/* /*
* Options diverses d'affichage �l'�ran: * Handle display options like enable/disable some optional drawings:
*/ */
DISPLAY_OPTIONS::DISPLAY_OPTIONS() DISPLAY_OPTIONS::DISPLAY_OPTIONS()
......
This diff is collapsed.
...@@ -292,9 +292,6 @@ eda_global wxString g_ViaType_Name[4] ...@@ -292,9 +292,6 @@ eda_global wxString g_ViaType_Name[4]
; ;
eda_global int g_ViaHoleLastValue; // Last value for non default value via hole eda_global int g_ViaHoleLastValue; // Last value for non default value via hole
/* Couleur de fond affichage de bas d'ecran */
eda_global int g_PcbGridColor;
/* couleurs des autres items des empreintes */ /* couleurs des autres items des empreintes */
#if defined MAIN #if defined MAIN
int g_PadCMPColor = RED; int g_PadCMPColor = RED;
......
...@@ -379,7 +379,7 @@ static ColorButton Grid_Butt = ...@@ -379,7 +379,7 @@ static ColorButton Grid_Butt =
{ {
_( "Grid" ), /* Title */ _( "Grid" ), /* Title */
-1, -1,
&g_PcbGridColor, /* adr du parametre optionnel */ &g_GridColor, /* adr du parametre optionnel */
FALSE, FALSE,
&g_ShowGrid // address of boolean display control parameter to toggle &g_ShowGrid // address of boolean display control parameter to toggle
}; };
......
...@@ -1007,7 +1007,7 @@ void WinEDA_DrawPanel::OnKeyEvent( wxKeyEvent& event ) ...@@ -1007,7 +1007,7 @@ void WinEDA_DrawPanel::OnKeyEvent( wxKeyEvent& event )
case WXK_NUMLOCK: case WXK_NUMLOCK:
case WXK_LBUTTON: case WXK_LBUTTON:
case WXK_RBUTTON: case WXK_RBUTTON:
case 0x0135: /* Alt key */ case WXK_ALT:
return; return;
case WXK_ESCAPE: case WXK_ESCAPE:
......
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