• Tor Lillqvist's avatar
    Add a flags field and corresponding type ToolFlags to PaintCore. The only · 387002c0
    Tor Lillqvist authored
    1999-08-27  Tor Lillqvist  <tml@iki.fi>
    
    * app/paint_core.h: Add a flags field and corresponding type
    ToolFlags to PaintCore. The only flag bit defined so far is
    TOOL_CAN_HANDLE_CHANGING_BRUSH, which those tools who don't mind
    if the brush changes while painting (as in the case of pixmap pipe
    brushes).
    
    * app/paint_core.c: Test above flag before calling the brush's
    select_brush method.
    
    * app/airbrush.c
    * app/paintbrush.c
    * app/pencil.c: Set above flag.
    
    * app/makefile.{cygwin,msc}: Add latest additions.
    387002c0
paint_core.c 45 KB