Comment 12 for bug 940493

Revision history for this message
Paul Sladen (sladen) wrote :

After some further debugging with Cimi, the inside corners are not the problem with the assets, but from hardcoding of the corner radius with:

  nux::eSHAPE_CORNER_ROUND4,

which is causing the non-aligned overlap. There are a number of hard-coded options available in:

  /usr/include/Nux-2.0/Nux/Theme.h

thusly:

  enum UXStyleImageRef
  {
    …
    eSHAPE_CORNER_SQUARE,
    eSHAPE_CORNER_ROUND1,
    eSHAPE_CORNER_ROUND2,
    eSHAPE_CORNER_ROUND4,
    eSHAPE_CORNER_ROUND10,
    …
  }

But no ROUND6. This should need adding in:

  nux/data/UITextures/Painter.xml

along with a corresponding supporting texture entry in:

  nux/data/UITextures/RoundCorner_6pxrad.tga