• Ben Avison's avatar
    The title bar, and the back, close and iconise buttons, are no longer redrawn... · fcb1b2b4
    Ben Avison authored
    The title bar, and the back, close and iconise buttons, are no longer redrawn when a window is resized in just the vertical direction.
    
    All window colours can now be specified in 24-bit colour.
    
    Where a sprite is used to plot the back, close, title, iconise, toggle-size,
    adjust-size or scroll arrow icons, the sprite is now plotted using a distorted
    translation table, to give the sprites the appearance of being coloured
    according to the window colours.
    
    The 3D toolsprite set now has solid titlebar sprites.
    
    The icon bar template now uses the standard title bar colours (this optimises
    redraw because of the new border tinting code).
    
    When the toggle-size icon or title bar are to be plotted using solid sprites,
    the background is no longer filled in just prior to the event (although this
    will still be performed if the relevant sprite is masked). This is to reduce
    flicker. Similarly, the erroneous rectangle outlines plotted behind scrollbars
    have been removed.
    
    New "TASK"-form Wimp_ForceRedraw reason codes:
      R2 = 0 => redraw whole window border (includes line borders).
      R2 = 8 => redraw iconise button.
    fcb1b2b4
Version 169 Bytes