User Tag List

Results 1 to 4 of 4

Thread: [Question] Get the visibility state of an extensio

  1. #1
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] Get the visibility state of an extensio

    How can I get the visibility state from the rdPtr?

    Francois answers me to cast the hoPtr into an roPtr : "LPRO roPtr=(LPRO)hoPtr;"

    and then check the flags : "rsPtr=(LPRSP)((LPSTR)roPtr+roPtr->roc.rcOffsetSprite);"

    But how can I get the hoPtr ? Is it : "rdPtr->rHo.hoAddress" ?

    Which flag I should check for the visibility state ?

    Thanks

  2. #2
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Get the visibility state of an exte

    Ok, I got it !

    It's :
    Code:
    LPRO roPtr=(LPRO)rdPtr->rHo.hoAddress;
    LPRSP rsPtr=(LPRSP)((LPSTR)roPtr+roPtr->roc.rcOffsetSprite);
    
    if(rsPtr->rsFlags & RSFLAG_HIDDEN)
    {
    }

  3. #3
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: [Question] Get the visibility state of an exte

    It should be even easier if you are testing the visibility of your own object that has a rs structure :

    if ( rdPtr->rs.rsFlags & RSFLAG_HIDDEN )


  4. #4
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question] Get the visibility state of an exte

    That's easier yes ! lol
    I'll use this instead.
    Thanks Yves.

Similar Threads

  1. problem visibility store!
    By matte in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 30th December 2013, 07:53 PM
  2. Performance Question: Visibility
    By Hydra in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 4th February 2013, 01:25 AM
  3. Visibility problem
    By Nifflas in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 4th August 2011, 08:49 PM
  4. Bottom Layer visibility
    By AndyH in forum Hardware Accelerated Runtime
    Replies: 5
    Last Post: 27th November 2009, 06:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •