Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [SOLVED: 2.2]When was the requestFocus() method added?  (Read 2847 times)

0 Members and 1 Guest are viewing this topic.

Mr.Zeus

  • Newbie
  • *
  • Posts: 6
  • Oh, a flavour text...
    • View Profile
    • Email
[SOLVED: 2.2]When was the requestFocus() method added?
« on: January 23, 2019, 01:58:26 am »
The title is the question. I want be able install SFML via "apt-get", and the version that is installed on Raspbian Jessie does not install a version of SFML that supports requestFocus(). Also, what would the best way to implement this anyway? I was thinking by checking the Major, Minor, and Patch of SFML's version with an "#if".
« Last Edit: January 23, 2019, 02:31:44 am by Mr.Zeus »

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: When was the requestFocus() method added?
« Reply #1 on: January 23, 2019, 02:07:18 am »
https://www.sfml-dev.org/changelog.php
ctrl F "focus"
SFML 2.2 "Added window methods to request and to check focus"

Mr.Zeus

  • Newbie
  • *
  • Posts: 6
  • Oh, a flavour text...
    • View Profile
    • Email
Re: When was the requestFocus() method added?
« Reply #2 on: January 23, 2019, 02:29:36 am »
Ya, I figured it out, just before I checked the forum. DUH!  :P Thanks!

 

anything