auto HomePanel::construct() -> void {
  setCollapsible();
  setVisible(false);

  image icon{Resource::Emblem};
  for(uint y : range(icon.height())) {
    auto data = icon.data() + y * icon.pitch();
    for(uint x : range(icon.width())) {
      uint8_t alpha = icon.read(data) >> 24;
      icon.write(data, uint8_t(alpha * 0.15) << 24);
      data += icon.stride();
    }
  }
  icon.scale(sx(icon.width() * 0.75), sy(icon.height() * 0.75));
  canvas.setIcon(icon);
}
