Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use new Colour type for specials and gradients #1418

Merged
merged 5 commits into from
Feb 24, 2023

Commits on Feb 23, 2023

  1. gradient, colours: use 24-bit colour depth internally on Wayland

    our Colour type assumes this anyway; lower colour depth should be handled by display backends
    bi4k8 committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    8980eeb View commit details
    Browse the repository at this point in the history
  2. core: restore gradient color computation

    this was mistakenly disabled when moving to a unified Colour representation
    bi4k8 committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    819efaa View commit details
    Browse the repository at this point in the history
  3. core, gradient: use Colour type

    bi4k8 committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    b985ac6 View commit details
    Browse the repository at this point in the history
  4. tests: gradient: always test hsv/hcl

    colour computations no longer depend on the display backends we compile with, so these can be tested unconditionally now
    bi4k8 committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    8aff3a0 View commit details
    Browse the repository at this point in the history
  5. gradients, specials: use Color type

    this makes specials now accept color names as well as hex codes, and removes all notions of color depth from gradient calculations
    bi4k8 committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    fbfd90e View commit details
    Browse the repository at this point in the history