[openbeos] Re: website news: Registrar: Milestone 2 of 4

  • From: François Revol <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Tue, 01 Oct 2002 23:11:56 +0200 (MEST)


While you are on watching, could you please add support for the flag 
introduced by R5.1, SOME_WINDOW_ACTIVATED:

enum {
        B_REQUEST_LAUNCHED = 0x00000001,
        B_REQUEST_QUIT = 0x00000002,
        B_REQUEST_APP_ACTIVATED = 0x00000004,
        B_REQUEST_WINDOW_ACTIVATED = 0x00000008,

        // Synonym for backwards compatibility
        B_REQUEST_ACTIVATED = B_REQUEST_APP_ACTIVATED
};

enum {
        B_SOME_APP_LAUNCHED             = 'BRAS',
        B_SOME_APP_QUIT                 = 'BRAQ',
        B_SOME_APP_ACTIVATED    = 'BRAW',
        B_SOME_WINDOW_ACTIVATED = 'BRAZ'
};

I don't think it would be overkill, and it makes it so easy to implement 
things like AutoRaise (instead of having a polling thread listing windows).

François.
/methinks BWindow::ClipWindowToPicture() is an interesting addition from R5.1 
too...

Other related posts: