- 03 Mar, 2011 2 commits
-
-
Wayne Stambaugh authored
* Factor change schematic component orientation code out of switch statement into separate function. * Remove redundant command events from schematic editor hot key handler.
-
jean-pierre charras authored
-
- 02 Mar, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 01 Mar, 2011 2 commits
-
-
Wayne Stambaugh authored
* Fix grid select box update bug on context menu. * Fix via size and track width select box update bugs. * Fix layer pair indicator button update bug. * Fix auto track width tool bar control enable bug. * Fix via size and track width select status bug in context menu. * Fix layer select box and layer control widget select bug when current layer is removed. * Add virtual function to notify objects derived from EDA_DRAW_FRAME that the units setting has changed. * Coding policy class naming fixes.
-
jean-pierre charras authored
Eeschema, Pcbnew: fix minor issues about mouse cursor position, when loading files or entering sheets.
-
- 28 Feb, 2011 1 commit
-
-
jean-pierre charras authored
Use UTF-8 encoding only in kicad files. Under Linux, this was already the case. Under Windows, texts with non ascii characters must be corrected. This ensure compatibility between platforms.
-
- 25 Feb, 2011 1 commit
-
-
Marco Mattila authored
Change board bounding box calculation to include all board items by default in pcbnew. Add a parameter to look for board edges only.
-
- 24 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Make EDA_DRAW_FRAME current tool ID member variable private. * Added global no tool selected ID to replace application specific no tool selected IDs. * Change SetToolID to prevent setting the tool ID to anything less than the new global no tool selected ID and assert on debug builds. * Change command and update user interface command event handlers to use new global no tool selected ID. * Fixed schematic library editor add pin hot key handler.
-
- 22 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Remove global key press variable. The key press is know passed to GeneralControl(). * Removed unused old mouse buttons global variable.
-
- 21 Feb, 2011 2 commits
-
-
Wayne Stambaugh authored
* CVPcb now uses wxUpdateUIEvent instead of set toolbars. * Removed duplicate event handlers in CVPcb that were factored into EDA_DRAW_FRAME. * Fix definition of GeneralControle() in CVPcb that prevented it from being called. * Remove rarely used and scary refresh code GeneralControle() method in all main frame windows. * Factor zoom menu and tool bar command IDs down to EDA_DRAW_FRAME.
-
Wayne Stambaugh authored
* Old control state handling code completely removed in all applications. * Factor common control state handlers into EDA_DRAW_FRAME. * Replaced EDA_ITEM test for newness with IsNew() method. * Factor vertical right toolbar command handlers out of giant edit command switch statement in EESchema and PCBNew.
-
- 16 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 11 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Rename all member variables and methods that reference the cross hair code in draw panel object from cursor to cross hair to eliminate confusion between the two concepts. * Rename cursor capture call backs in draw panel object to improve code readability. * Create helper class for turning off the cross hair while drawing. * Remove redundant block clear code. * Remove redundant mouse capture call back reset code when end capture call back is called. * Remove unused function definitions in base draw frame object. * Lots of minor coding policy and doxygen comment fixes.
-
- 09 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Fix optimized bitmap grid drawing method. * Enable optimized grid drawing method on Windows and Linux. * Create a helper class for resetting and restoring device context scale and origin settings for blitting purposes. * Use wxLogTrace instead of wxLogDebug for coordinate dumping in drawpanel.cpp. See comments for more information on enabling coordinate tracing. * Add flag to allow hiding the drawing cross hair. Hide cross hair by default on OSX. * Move get cross hair device position code from draw panel object to base screen object. * Remove redundant parent member variable from draw panel object by overriding wxWindow::GetParent() method.
-
- 08 Feb, 2011 2 commits
-
-
jean-pierre charras authored
-
Wayne Stambaugh authored
* Fix rendering bug in GerbView caused by wxDC scaling change caused by setting the wxDC clipping region. * Eliminate the need to have optional background erasing as the change above fixed that problem as well. * Default cursor handling improvements.
-
- 05 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Remove base screen methods from draw frame object and correct current screen methods in derived objects. * Move restore old wires function code into schematic screen object. * Make add junction method use current screen position instead of store position. * Move poly line ghosting function into the delete current segment method as that was the only place is was being used. * Add method to base schematic object of testing if object has a label that can be incremented. * Simplified the schematic hierarchy traversing code. * PCBNew Doxygen warning fixes.
-
- 03 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Changed managed cursor callback definition to include the current cursor drawing position. * Modified all managed cursor callbacks to match new definition. * Added snap to grid option to base drawing frame object. * Changed add no connect managed cursor callback to use new position parameter instead of the stored one. * Lots of coding policy fixes.
-
- 02 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Remove unused member variable m_SizeVisu from base screen object. * Move nearest grid position code into base screen object. * Add get cursor position method to base screen object. * Add position parameter to OnHotKey method in base draw frame and all derived objects. * Pass logical position on left mouse button click and double click events instead of device position. * Pass logical position to on right mouse button click instead of device position. * Use logical event position parameter for locating items in EESchema instead of the stored position. * Remove unused position parameter when displaying component edit dialog in EESchema. * Comment out debugging macro in eeschema/template_field_names.cpp that was preventing debug builds using wxWidgets 2.8.x.
-
- 01 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* ActiveScreen global variable is gone, yeah! * Use drawing coordinates instead of screen coordinates when calling GeneralControle().
-
- 30 Jan, 2011 1 commit
-
-
Wayne Stambaugh authored
* Remove all occurrences if #ifdef USE_WX_ZOOM and all associated code within the #else/#endif block ( old zoom code ). * Removed the build option for USE_WX_ZOOM from CMakeList.txt and config.h.in. * Removed all scaling code in base screen object. * Fixed buffered paint and buffered client DC on Windows. Buffering works properly on Linux and Windows. * Modified kicad_device_context.h to automatically uses buffering on platforms where double buffering is supported natively. * Remove all of the scaled versions of the drawing functions in gr_basic.cpp and any support code. * Removed all traces of ActiveScreen global variable from eeschema and gerbview. * Renamed Recadre_Trace to RedrawScreen in draw frame object. * Renamed PostDirtyRect to RefreshDrawingRect in draw panel object. * Lots of code cleaning an Doxygen comment improvements.
-
- 21 Jan, 2011 2 commits
-
-
Wayne Stambaugh authored
* Move schematic wire and bus break code into schematic screen object. * Move schematic test for dangling ends into schematic screen object. * Remove left over debugging output in schematic screen object. * Remove unused file eeschema/cleanup.cpp. * Fix bug in schematic line object hit test algorithm. * Fix a string concatenation compile error added in r2752. * Rename class WinEDA_BasicFrame to EDA_BASE_FRAME. * Rename class WinEDA_DrawFrame to EDA_DRAW_FRAME. * Rename class WinEDA_DrawPanel to EDA_DRAW_PANEL.
-
jean-pierre charras authored
Minor others fixes and enhancements
-
- 20 Jan, 2011 1 commit
-
-
Wayne Stambaugh authored
* Encapsulate file name member of base screen object. * Encapsulate associated screen member of schematic sheet object. * Create add screen method to schematic sheet object to simplify setting the associated screen. * Move the change file name code in the schematic sheet object to the edit sheet method in the schematic editor frame object to eliminate message dialogs. * Improve reference counting in schematic screen object. * Add helper type definitions for changing schematic object storage to C++ containers.
-
- 17 Jan, 2011 1 commit
-
-
jean-pierre charras authored
Modedit: fix issues when printing a footprint. But needs refinement. Work in progress (mainly "Fit in page" is not working). Minor code cleaning
-
- 15 Jan, 2011 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix that prevents loading modules from libraries (footprint name not identified in lib) Module Editor: Try to fix incorrect printing. Fixed now only for scale 1. Nor working for other scales. (Work in progress). Gerbview: Known bug: printing not working. VRML export: Fix incorrect export of 3D shapes rotations when the 3D shape was rotated.
-
- 28 Dec, 2010 1 commit
-
-
Marco Serantoni authored
-
- 21 Dec, 2010 1 commit
-
-
Wayne Stambaugh authored
-
- 20 Dec, 2010 1 commit
-
-
jean-pierre charras authored
Eeschema: fix issues in drag command (mainly hotkey command and forgotten wire ends connected to components to drag). Rename EDA_Rect::Inside to EDA_Rect::Contains ( EDA_Rect::Inside( const EDA_Rect& aRect ) was very ambiguous ) Fix some Doxygen warnings and erroneous comments; Add comments.
-
- 19 Dec, 2010 1 commit
-
-
jean-pierre charras authored
-
- 18 Dec, 2010 2 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
-
- 17 Dec, 2010 1 commit
-
-
jean-pierre charras authored
Minor cosmetic enhancements. commint forgoten files in boost lib.
-
- 15 Dec, 2010 1 commit
-
-
jean-pierre charras authored
Added: in file dialog, multiple file selection. Added: Draw mode selector (in left toolbar): Raw mode: a Gerber image is drawn on screen without buffering. Artifacts happen if there are negative items drawn, if more than one Gerber file is shown. Stacked mode: each Geber image is drawn in a buffer and after drawn on screen No artifact with negative items. Each Gerber image covers previous images. OR mode (transparency mode): each Geber image is drawn in a buffer and after drawn on screen No artifact with negative items. Each Gerber image is "ORed" with previous images, like in Pcbnew. Try to optimize Draw function in buffered modes. (Useful for PC that have problems with "blit" graphic function) Fix minor issues.
-
- 14 Dec, 2010 1 commit
-
-
Wayne Stambaugh authored
-
- 12 Dec, 2010 2 commits
-
-
jean-pierre charras authored
Fix Gerbview issue (does not display gerber images) when Gerbview is compiled with USE_WX_ZOOM defined.
-
Dick Hollenbeck authored
-
- 10 Dec, 2010 1 commit
-
-
Wayne Stambaugh authored
-
- 08 Dec, 2010 1 commit
-
-
Wayne Stambaugh authored
-
- 06 Dec, 2010 1 commit
-
-
jean-pierre charras authored
-