← Back to team overview

kicad-developers team mailing list archive

Re: layer_widget_test

 

Hello Dick, 

I tested this on my Linux machine with wxWidgets 2.8.10 and this looks promising. Only the arrow has a bad (white) pixel on the topleft. The color of the select arrow should be more clean if it is one color. This looks very "oldskool" with the half white, half blue. The AUI works good for me. 

On Mac OS X with wxWidgets 2.9-svn doesn't even compile:

Jerry-Jacobs-MacBook:kicad jerry$ make layer_widget_test
[100%] Built target common
Scanning dependencies of target layer_widget_test
[100%] Building CXX object pcbnew/CMakeFiles/layer_widget_test.dir/layer_panel_base.cpp.o
[100%] Building CXX object pcbnew/CMakeFiles/layer_widget_test.dir/layer_widget.cpp.o
/Users/jerry/Repositories/kicad/kicad/pcbnew/layer_widget.cpp: In member function `void LAYER_WIDGET::insertLayerRow(int, const LAYER_SPEC&)':
/Users/jerry/Repositories/kicad/kicad/pcbnew/layer_widget.cpp:275: error: no matching function for call to `wxFlexGridSizer::Insert(long unsigned int,wxStaticBitmap*&, wxSizerFlags&)'
/opt/wxwidgets-svn/include/wx-2.9/wx/sizer.h:736: note: candidates are: virtual wxSizerItem* wxGridSizer::Insert(size_t, wxSizerItem*)
/Users/jerry/Repositories/kicad/kicad/pcbnew/layer_widget.cpp:280: error: no matching function for call to `wxFlexGridSizer::Insert(long unsigned int,wxBitmapButton*&, wxSizerFlags&)'
/opt/wxwidgets-svn/include/wx-2.9/wx/sizer.h:736: note: candidates are: virtual wxSizerItem* wxGridSizer::Insert(size_t, wxSizerItem*)
/Users/jerry/Repositories/kicad/kicad/pcbnew/layer_widget.cpp:287: error: no matching function for call to `wxFlexGridSizer::Insert(long unsigned int,wxStaticText*&, wxSizerFlags&)'
/opt/wxwidgets-svn/include/wx-2.9/wx/sizer.h:736: note: candidates are: virtual wxSizerItem* wxGridSizer::Insert(size_t, wxSizerItem*)
/Users/jerry/Repositories/kicad/kicad/pcbnew/layer_widget.cpp:292: error: no matching function for call to `wxFlexGridSizer::Insert(long unsigned int,wxCheckBox*&, wxSizerFlags&)'
/opt/wxwidgets-svn/include/wx-2.9/wx/sizer.h:736: note: candidates are: virtual wxSizerItem* wxGridSizer::Insert(size_t, wxSizerItem*)
make[3]: *** [pcbnew/CMakeFiles/layer_widget_test.dir/layer_widget.cpp.o] Error 1
make[2]: *** [pcbnew/CMakeFiles/layer_widget_test.dir/all] Error 2
make[1]: *** [pcbnew/CMakeFiles/layer_widget_test.dir/rule] Error 2
make: *** [layer_widget_test] Error 2

Keep up the good work !

Kind Regards,
Jerry

--- In kicad-devel@xxxxxxxxxxxxxxx, Dick Hollenbeck <dick@...> wrote:
>
> 
> If somebody developing on windows could build the optional target
> 
> layer_widget_test
> 
> and send me a bitmap of the appearance of the layer widget, that would 
> be appreciated.
> 
> To build this optional CMAKE target, first enable the AUI stuff in your 
> cmake cache, I use ccmake to do this.
> 
> Then run the test program pcbnew/layer_widget_test
> 
> It is looking good now on Linux, wanted to see what WIndows looks like.
> 
> 
> Thanks,
> 
> Dick
>








References