test case for OnLeftClick() handling enhancements

This commit is contained in:
CHARRAS 2007-09-27 09:08:47 +00:00
parent 10c442911c
commit f066aa1898
6 changed files with 604 additions and 605 deletions

View File

@ -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>

View File

@ -343,7 +343,7 @@ void PCB_SCREEN::Init()
/*************************/ /*************************/
/* /*
* Options diverses d'affichage <EFBFBD>l'<EFBFBD>ran: * Handle display options like enable/disable some optional drawings:
*/ */
DISPLAY_OPTIONS::DISPLAY_OPTIONS() DISPLAY_OPTIONS::DISPLAY_OPTIONS()

File diff suppressed because it is too large Load Diff

View File

@ -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;

View File

@ -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
}; };

View File

@ -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: