• 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