Added "Brush Factory", allowing you to run a lua script to generate (or alter, untested yet) a brush.

Added a simple (and ugly) sample script.
This needs updates to the makefile for platforms other than linux.
TODO: add a listbox to select the script you want to run. Do we have a simple API to handle filelists yet ?


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1094 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-10-29 15:22:45 +00:00
parent 4d20be0053
commit 1934425972
12 changed files with 208 additions and 35 deletions

View File

@@ -79,7 +79,11 @@ char * Menu_tooltip[NB_BUTTONS]=
"Grad. spheres / ellipses",
"Brush grab. / Restore ",
"Lasso / Restore brush ",
#ifdef __ENABLE_LUA__
"Brush effects / factory ",
#else
"Brush effects ",
#endif
"Drawing modes (effects) ",
"Text ",
"Magnify mode / Menu ",