[REL] Draggable Picture in Picture

Discussion in 'Mod Discussions' started by cptconundrum, February 22, 2014.

  1. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Uber works fast, but we're faster! I've got draggable PiPs working well enough that we can use this until Uber makes the PiP draggable. I had to add a frame around it so that you can click on it to drag, but it gives me room for buttons. There are camera anchor buttons on the top left side of the frame and some controls for swapping the views or hiding the PiP on the right.

    Currently not compatible with Auto Factory.

    draggablepip.jpg

    Attached Files:

    Last edited: February 25, 2014
    Clopse, mishtakashi and cola_colin like this.
  2. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
  3. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
  4. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    one monitor two views, I should probably explain that better
  5. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Can you make it:

    a) round
    b) resizable

    ?
  6. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    I wanted to get resize in this release using jquery-ui's resizable(), but there are issues with that and I would have problems with the frame anyway since I had to make it a static image.
  7. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Round: You can play with the css border-radius to basically just cut off the corners. Probably needs a new frame image though.

    Resizable: see above. Mainly, my frame needed to be an image rather than just css because coherent refuses to draw the holodeck on top of the container div background. Everything behind the PiP needs to be transparent.
  8. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Cant you make the frame hover above the pip?
    All UI hovers above a holodeck and coherent is fine with that.
  9. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    It might be a problem with how I used floating framework then. I'll take a second look sometime soonish if Uber hasn't made this obsolete by then.
  10. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Resizable PiP would be great though. I would want it to grow to 150% size if I mouse over it for more than 2 seconds.
  11. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I just realized I can use a slightly modified version of my custom fullscreen script to go triple screen on my 2x 1280x1024 + 1x1080p setup:

    [​IMG]
  12. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Merge that with Corang's mod NOW!
  13. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    cool

    wish I had more monitors :(
  14. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    No need to do a merge. This is oonly a quick shot, but it is easy to adjust the hardcoded sizes to exactly match my setup, so I have effective tripple screen.

    The custom fullscreen script is a autoitv3 script that is external to PA though and hardcoded as well.
  15. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    I mean his ability to get all of them with textures.
  16. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    The one on the left doesn't have textures.
  17. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    check my post, comment with 3 views is down a little https://forums.uberent.com/threads/wip-dual-view.56737/
  18. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    !@^^%#!@@#$$ :)
  19. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    thanks? XD
    cola_colin likes this.
  20. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221


    A bit of a pixel fine css hackery and an autoitscript to put PA into a super size fullscreen + 4 holodecks (one of them for the hack corang found)

    EDIT:
    CaptainConundrum, this is completely incompatible with 1.1.0 Alertsmanager.
    "Toggle" views becomes a very weird thing in this setup.

Share This Page