Adding sub-tool support to Fill tool

Currently only one sub-tool (Solid) shown, as no code for new
tools has been added yet.  (Plans for linear & radial gradients.)
This commit is contained in:
Bill Kendrick 2021-02-20 16:42:35 -08:00
parent 485723d0e4
commit c63b86c8fa
138 changed files with 10230 additions and 7816 deletions

View file

@ -27,12 +27,17 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
Last updated: September 14, 2019
Last updated: February 20, 2021
$Id$
*/
#ifndef FILL_H
#define FILL_H
#include "SDL.h"
int would_flood_fill(SDL_Surface * canvas, Uint32 cur_colr, Uint32 old_colr);
void do_flood_fill(SDL_Surface * canvas, int x, int y, Uint32 cur_colr, Uint32 old_colr, int * x1, int * y1, int * x2, int * y2);
#endif