diff --git a/common/swig/kicad.i b/common/swig/kicad.i index 6ac3f00442..a205a5b10f 100644 --- a/common/swig/kicad.i +++ b/common/swig/kicad.i @@ -80,6 +80,7 @@ principle should be easily implemented by adapting the current STL containers. // headers/imports that must be included in the _wrapper.cpp at top %{ + #include <outline_mode.h> #include <macros.h> #include <cstddef> #include <eda_item.h> @@ -107,6 +108,7 @@ principle should be easily implemented by adapting the current STL containers. %ignore GetNewConfig; // header files that must be wrapped +%include <outline_mode.h> %include macros.h %include core/typeinfo.h %include eda_item.h diff --git a/include/outline_mode.h b/include/outline_mode.h index e84a29f111..961f535f58 100644 --- a/include/outline_mode.h +++ b/include/outline_mode.h @@ -23,8 +23,8 @@ /* Options to draw items with thickness ( segments, arcs, circles, texts...) */ enum OUTLINE_MODE { - SKETCH = 0, // sketch mode: draw segments outlines only - FILLED = 1 // normal mode: solid segments + SKETCH = 0, // sketch mode: draw segments outlines only + FILLED = 1 // normal mode: solid segments }; #endif \ No newline at end of file