Skip to content

Commit

Permalink
Splitted common.h subroutines to seperate include files. Minor code c…
Browse files Browse the repository at this point in the history
…leanup.
  • Loading branch information
jerryjacobs authored and jerryjacobs committed Jan 19, 2009
1 parent a3a4bbc commit 72dbdf7
Show file tree
Hide file tree
Showing 10 changed files with 487 additions and 310 deletions.
8 changes: 8 additions & 0 deletions TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ generated doxygen docs readable and clear using the JavaDoc style comments,
mostly in the header files. The error and warning output of the doxygen
compiler can help with this too.

*** GerbView
Need support for drill files like Excellon, the best is to write small library for parsing
and displaying it.

*** CVPCB
Add preference (checkbox) to close cvpcb after saving netlist instead of automatic
close after saving netlist, because this is not normal program behavoir to quit
after save.

*** Translate comments that are in French to English so there can be a broader
understanding by new developers.
Expand Down
26 changes: 26 additions & 0 deletions include/block_commande.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* This file is part of the common libary.
* @file block_commande.h
* @see common.h
*/

#ifndef __INCLUDE__BLOCK_COMMANDE_H__
#define __INCLUDE__BLOCK_COMMANDE_H__ 1


void AbortBlockCurrentCommand( WinEDA_DrawPanel* Panel, wxDC* DC );

/* Cancel Current block operation. */
void InitBlockLocateDatas( WinEDA_DrawPanel* Panel, const wxPoint& startpos );

/* Init the initial values of a BlockLocate, before starting a block command */
void DrawAndSizingBlockOutlines( WinEDA_DrawPanel* panel, wxDC* DC, bool erase );

/* Redraw the outlines of the block which shows the search area for block commands
* The first point of the rectangle showing the area is initialised
* by InitBlockLocateDatas().
* The other point of the rectangle is the mouse cursor */


#endif /* __INCLUDE__BLOCK_COMMANDE_H__ */

Loading

0 comments on commit 72dbdf7

Please sign in to comment.