kicad-developers team mailing list archive
Mailing list archive
Re: layer_widget_test [1 Attachment]
Dick Hollenbeck <dick@...>
Sun, 10 Jan 2010 09:55:38 -0600
Thunderbird 184.108.40.206 (X11/20090817)
[Attachment(s) <#TopText> from jean-pierre.charras@...
Dick Hollenbeck a écrit :
[Attachment(s) <#TopText> from Dick Hollenbeck included below]
Just an observation, Windows is the only OS for which this is not
Somebody else will have to call Bill Gates.
Do you know he? Is he a skilled programmer ?
I found the problem: all widgets in the same line in the
wxFlexGridSize have the same event id.
It compiles now on 2.9.
Thanks that was helpful.
I see that our wxBitmapButton looks significantly different on Windows.
I think I have since addressed that by producing a smaller bitmap for
the buttons, assuming that on the non-windows platforms there was some
cropping taking place that we don't need.
I want to provide 4 mouse actions in this widget:
1) layer selection on left single click
2) layer color change on middle single click
3) layer visibility on left single click on checkbox
4) popup menu for enable all, clear all, and future actions. on right
*Does a MAC have a middle mouse button yet?*
I would be inclined to use middle mouse single click for color change if
there are no objections.
I don't want to use double click since it seems you cannot get that
event without first receiving a single click event. (This would mean
you could not change a layer color without first selecting it, so I want
to avoid that by using middle click.)
(BTW the popup menu is to minimize screen real estate, rather than
putting up an always visible pair of buttons.)