1. 25 Aug, 2019 1 commit
    • ROOL's avatar
      Colour handling enhancements · 9ecc8993
      ROOL authored
      Detail:
        * Artist friendly colour ordering of 256 colour palette, and option to reorder pixel data for the remapped palette
        * Full 256 colour sprites can be created (as well as 64/16 entry VIDC compatible ones)
        * Colour indicator swatch in the bottom left corner of the sprite window
        * Adjust click on colours to paint with background colour
        * Shift-select as a shortcut to Paint > Select colour
        * Shift-adjust ditto for background colour
      Admin:
        Submission for the Paint bounty.
      9ecc8993
  2. 13 Jul, 2013 1 commit
    • Robert Sprowson's avatar
      Don't silently do nothing when trying to rename to a duplicate name · 8cfa18c5
      Robert Sprowson authored
      Paint, when renaming a sprite via alt-clicking on the name, would silently do nothing if the target name already exists. This was different behaviour to renaming via the menu (which gives "Sprite name already exists") and the Filer (which gives "Filename already exists". Now, alt-click-rename also gives a suitable error.
      
      Version 2.14. Tagged as 'Paint-2_14'
      8cfa18c5
  3. 22 Aug, 2012 1 commit
    • Robert Sprowson's avatar
      Sprite filer selection logic made consistent with filer · 938add00
      Robert Sprowson authored
      Specifically, in the filer when you menu click on a file it is temporarily selected. Clicking on a different file loses the first temporary selection and moves the highlight to the new file. This behaviour is skipped if there are already files selected (using left or right click).
      This change makes !Paint behave this way too, previously the menu click was a permanent selection, so menu clicking elsewhere on a different sprite would actually manipulate the sprite selected some time earlier - very confusing.
      Tidy ups
       * Remove hardwired mouse button bitmask operations, now uses defines from <wimp.h>.
       * Use OS_Byte numbers from header
      
      Version 2.12. Tagged as 'Paint-2_12'
      938add00
  4. 06 Dec, 2010 1 commit
  5. 05 Dec, 2010 1 commit
    • Robert Sprowson's avatar
      Prune the plethora of targets a bit. · cba6e241
      Robert Sprowson authored
      Spurious ';' after an if at line 2386 of c.Main deleted, something to do with scroll wheel support. Untested.
      Refer to FileType_ using the filetypes header file.
      Internationalised "Selection" when saving a sprite selection.
      main_save_selection wasn't checking if fwrite() worked so never reported 'disc full'.
      Turn on egg timer during main_save_selection().
      Fix (de)selection bug when in full sprite info view, the 'spritesperrow' was being rounded down to zero, and unlike everywhere else it wasn't being adjusted back to a minimum of 1.
      
      Version 2.03. Tagged as 'Paint-2_03'
      cba6e241
  6. 29 Nov, 2010 1 commit
    • Robert Sprowson's avatar
      Fix abort when sorting the sprites by name and one or more sprite viewers are... · 52984de9
      Robert Sprowson authored
      Fix abort when sorting the sprites by name and one or more sprite viewers are open, also massively simplified it since the copying around of main_sprite blocks was pointless - much simpler to just rejoin the linked list leaving the data in place.
      
      *Tidy up
       Delete awk.*, change to use central 'AwkVers' script.
       Delete h.types.
       Delete h.Paint, it's a duplicate of h.main.
       Delete writepixel, swap to using the one in RISCOS_Lib
       Retire 'h.fixes', switches collapsed, bugfixes proven after 18 years use.
       Cast away some warnings.
       Sprinkled in some consts, moved pointer qualifiers to get syntax colouring
       right.
       Remove local SWI defines, read from <swis.h> now.
       !MkInstall now installs into <Install$Dir>.Apps
      *Little UI changes
       Make the colour number in the colour picker be in the right place vertically
       and correct horizontal position of 'T' and 'E' for ECFs.
       In the create new sprite dialogue box the 32k and 16M options are shaded
       when a palette is requested, this avoids the problem of selecting a deep
       colour mode (which trapped the radio icon in a shaded paletted selection).
       The 'Selection' menu is now shaded when there are zero sprites in the
       file
      *Sprite filer
       Fix tiled main window fill to work in EX0 modes and not overwrite in EX2
       modes (was using the sprite's mode word not the current mode to deduce eigen
       factors), leading to odd chequer board areas not being redrawn.
       Refactored main_clear_background() to use stronger typing of RISC_OSLib
       rather than _swix where possible.
       A failure to get the Wimp pixel translation table now falls back to solid
       fill
       Double clicking on a sprite in the sprite file window no longer leaves it
       selected, to mimic the filer.
       Set DISPLAY_MARGIN to 0 to counter for the recent increase from 32 to 40
       of main_FILER_TextHeight
       Added 'Sort by size' after 'Sort by name'
      
      Version 2.02. Tagged as 'Paint-2_02'
      52984de9
  7. 29 May, 2009 1 commit
  8. 27 Jul, 2007 1 commit
    • Steve Revill's avatar
      Changes to SpriteFile window to allow selections and sprite edit window... · 83811440
      Steve Revill authored
      Changes to SpriteFile window to allow selections and sprite edit window changed to improve positioning accuracy.
      
      Detail:
        * Wimp_EScroll event added to make wheelmouse work.
        * Tool rubber banding now snaps to pixel centres making location easier.
        * flickering of box stopped in move (hand) tool.
        * Bottom left of sprites used in painting aligned with grid and sprite plotted
          directly under moving version.
        * Text painting now plots under the moving version of the text.
        * copy, move and hand tools cancel dragging with Adjust.
        * SpriteFile window changed to allow selections using Select,Adjust or Drag.
        * Alt-Select/Adjust on name allows renaming of sprite.
        * TAB moves rename icon to next sprite.
        * Shift TAB moves rename icon to previous sprite
        * Ctrl-Return renames sprite and moves the rename icon to the
          next sprite.
       V2 changes
        * Rubber band rectangular boxes with 0 width or height drawn as a
         line so they don't disappear.
        * Parallelogram rubber band where all the points are in line drawn
          as a line so they don't disappear.
      Admin:
        Tested on Iyonix RO5.10
        Programmer tested only.
      Changed by:
        Colin Granville
      
      Version 1.98. Tagged as 'Paint-1_98'
      83811440