[haiku-appserver] Re: GetMouse()

  • From: Adi Oanca <adioanca@xxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Mon, 30 May 2005 15:42:29 +0300

Marc Flerackers wrote:
> Adi Oanca <adioanca@xxxxxxxxxxxxxx> wrote:
>  >IMO, in R2 this method should only return mouse location and
>  >buttons. What do you think? Also I think we should remove support for
>  >synchronous controls in R2. Opinions?
> GetMouse() is not only a method used by assynchronous controls but, as 
> Stefano probably already said, also by BMenu. Also in games most of the 
> time you will just have one loop in which you poll for input, change 
> states and draw stuff, especially when ported from other platforms. 
> Another place where synchronous controls might be used is controls which 
> are render intensive.
> It's really not something evil, just an alternative to mouse hooks :).
        Ah, OK. :-)


Other related posts: