doxygen: blender/editors tagged.
[blender.git] / source / blender / editors / gpencil / gpencil_ops.c
index d311b39b9a34a3ebf32bad0b82f048ef97802a44..f2efada8406ff7a3f32c0672f81c984925903dc1 100644 (file)
@@ -1,4 +1,4 @@
-/**
+/*
  * $Id$
  *
  * ***** BEGIN GPL LICENSE BLOCK *****
@@ -15,7 +15,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  *
  * The Original Code is Copyright (C) 2009, Blender Foundation, Joshua Leung
  * This is a new part of Blender
  * ***** END GPL LICENSE BLOCK *****
  */
 
+/** \file blender/editors/gpencil/gpencil_ops.c
+ *  \ingroup edgpencil
+ */
+
+
 #include <stdlib.h>
 #include <stddef.h>
 #include <stdio.h>
 
-#include "BLI_blenlib.h"
+#include "BLO_sys_types.h"
 
-#include "DNA_windowmanager_types.h" 
+#include "BLI_blenlib.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
 
 #include "RNA_access.h"
-#include "RNA_define.h"
-#include "RNA_enum_types.h"
+
+#include "ED_gpencil.h"
 
 #include "gpencil_intern.h"
 
 /* ****************************************** */
 /* Generic Editing Keymap */
 
-void ED_keymap_gpencil(wmWindowManager *wm)
+void ED_keymap_gpencil(wmKeyConfig *keyconf)
 {
-       wmKeyMap *keymap= WM_keymap_find(wm, "Grease Pencil", 0, 0);
-       wmKeymapItem *kmi;
+       wmKeyMap *keymap= WM_keymap_find(keyconf, "Grease Pencil", 0, 0);
+       wmKeyMapItem *kmi;
        
        /* Draw */
                /* draw */