Disable showing screen blanker
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 455 from 2003/7/26
    From: Wroclaw/Poland
    Could someone write me how to correctly disable showing a screen blanker in my application for MorphOS? And how to enable it when closing the application? I assume that when I disable a blanker, I should re-enable it for back to a user settings (like in e.g. a video player).
    Thank you.
  • »19.01.23 - 22:26
    Profile Visit Website
  • MorphOS Developer
    geit
    Posts: 1033 from 2004/9/23
    Easy: intuition/screens.h

    Perform a SA_StopBlanker, TRUE.

    Make sure you read the comment in that section or you will break blanker system support as every TRUE set will be nested and needs to be undone by setting it to FALSE.
  • »19.01.23 - 23:59
    Profile
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 455 from 2003/7/26
    From: Wroclaw/Poland
    Quote:

    geit wrote:
    Easy: intuition/screens.h

    Perform a SA_StopBlanker, TRUE.

    Make sure you read the comment in that section or you will break blanker system support as every TRUE set will be nested and needs to be undone by setting it to FALSE.



    Thank you. I will follow this suggestion. 👍
    I noticed that I added SA_StopBlander to OpenScreenTags() but I forgot set it to FALSE. :)

    -------- edit --------
    @geit:
    I have tried this solution. It works well with software blankers and turning a monitor off. I will add proper modification in all demos.
    Thank you for help!

    [ Edited by MDW 21.01.2023 - 17:38 ]
  • »20.01.23 - 14:20
    Profile Visit Website