Thread: Ascend/pi remake Help request - Click outside of interface to close it

Results 1 to 3 of 3
  1. #1 Ascend/pi remake Help request - Click outside of interface to close it 
    Registered Member
    Join Date
    Sep 2018
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Hello folks! I need help to figure out where I gotta look to implement that in my client/source. I want interfaces to close when I click outside of them. For example, if the bank interface is open and I'm playing fullscreen I should be able to close the bank with a click outside of the bank interface.

    Thanks a lot and have a good weekend!

    BUMP
    Reply With Quote  
     

  2. #2  
    Registered Member
    Tamatea's Avatar
    Join Date
    Aug 2010
    Posts
    1,317
    Thanks given
    401
    Thanks received
    357
    Rep Power
    2457
    Just add a statement in the drawinterface method to close the screen if the clicked space is outside the area of the current displayed interfaces dimensions.
    Spoiler for sig too large:


    Attached image
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Oct 2017
    Posts
    32
    Thanks given
    64
    Thanks received
    5
    Rep Power
    40
    Thanks a lot my man!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [PI] Keep items if die outside of Wild
    By Anthony' in forum Help
    Replies: 1
    Last Post: 05-21-2013, 03:56 PM
  2. Pi need help changing xp rates of skills
    By jonideprez in forum Help
    Replies: 9
    Last Post: 02-28-2013, 07:21 AM
  3. [PI] Vote4Cash Help request
    By Doc Plz in forum Help
    Replies: 4
    Last Post: 07-31-2011, 02:38 PM
  4. Replies: 2
    Last Post: 03-01-2011, 07:03 AM
  5. PI Server Help Request
    By darky in forum Requests
    Replies: 0
    Last Post: 12-20-2010, 11:45 PM
Tags for this Thread

View Tag Cloud

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