[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita/tools
From:       Michael Thaler <michael.thaler () physik ! tu-muenchen ! de>
Date:       2005-03-13 19:10:19
Message-ID: 20050313191019.C3A701487F () office ! kde ! org
[Download RAW message or body]

CVS commit by mthaler: 

A star tool. I added it mainly as a playground to play with the tools and try out \
some things. But it might also be useful and it works well. It looks quite good when \
used with piped bruses:-) TODO: add a configuration dialog where one can enter the \
number of spikes and the ratio of the inner and outer radius.


  A            kis_tool_star.cc   1.1 [GPL (v2+)]
  A            kis_tool_star.h   1.1 [GPL (v2+)]
  M +5 -3      Makefile.am   1.76
  M +3 -2      default_tools.cc   1.8
  M +1 -0      kritadefaulttools.rc   1.3


--- koffice/krita/tools/Makefile.am  #1.75:1.76
@@ -45,6 +45,7 @@
         kis_tool_pan.cc \
         kis_tool_text.cc \
-        kis_tool_gradient.cc
-
+        kis_tool_gradient.cc \
+        kis_tool_star.cc
+        
 # Install this plugin in the KDE modules directory
 kde_module_LTLIBRARIES = kritadefaulttools.la
@@ -76,5 +77,6 @@
         kis_tool_select_elliptical.h \
         kis_tool_eraser.h \
-        kis_tool_select_eraser.h
+        kis_tool_select_eraser.h \
+        kis_tool_star.h
 
 

--- koffice/krita/tools/default_tools.cc  #1.7:1.8
@@ -65,5 +65,5 @@
 #include "kis_tool_eraser.h"
 #include "kis_tool_select_eraser.h"
-
+#include "kis_tool_star.h"
 
 typedef KGenericFactory<DefaultTools> DefaultToolsFactory;
@@ -111,4 +111,5 @@ DefaultTools::DefaultTools(QObject *pare
                 r -> add(new KisToolEraserFactory( actionCollection() ));
                 r -> add(new KisToolSelectEraserFactory( actionCollection() ));
+                r -> add(new KisToolStarFactory( actionCollection() )); 
         }
 }

--- koffice/krita/tools/kritadefaulttools.rc  #1.2:1.3
@@ -23,4 +23,5 @@
   <Action name="tool_rectangle"/>
   <Action name="tool_ellipse"/>
+  <Action name="tool_star"/>
   <Separator/>
   <Action name="tool_fill"/>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic