Flexible Windows

version 13/130803 by Jon Ingold

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Reverse-colouring windows

    To set-reverse: (- SetReverse(1); -);
    To unset-reverse: (- SetReverse(0); -);

    Include (-

    [ SetReverse flag i;
    for (i = 0: i < style_NUMSTYLES : i++)
    if (flag)
        glk_stylehint_set(wintype_textgrid, i, stylehint_ReverseColor, 0);
    else
        glk_stylehint_clear(wintype_textgrid, i, stylehint_ReverseColor);

    ];

    -).